Skip to content

jianshuo/claude-skills / wjs-promoting-skills

wjs-promoting-skills

Unverified

Use when the user wants to set up automated daily promotion / marketing for their Claude Code skills — researching how top skills are promoted on marketplaces (ClawHub / openclaw / SkillsMP / agentskills.io), generating a per-skill marketing plan, auto-posting to X (Twitter) via xurl, and drafting community discussion posts (Reddit / HN / Discord). Triggers — "推广 skills", "营销 skills", "自动发推广", "每天自动推广", "skill marketing", "promote my skills", "/wjs-promoting-skills".

FileKindSize
SKILL.mdskill md11.5 KB
com.jianshuo.wjs-promoting-skills.plist.templateother1014 B
daily.shexecutablescript6.9 KB
list-skills.shexecutablescript1.3 KB
make-plan.shexecutablescript1.3 KB
outbox/.gitignoreother39 B
pick-next-skill.shexecutablescript2.3 KB
prompts/community-drafts.mdmarkdown2.6 KB
prompts/daily-post.mdmarkdown2.0 KB
prompts/make-plan.mdmarkdown3.9 KB
prompts/research-marketplaces.mdmarkdown3.2 KB
research-marketplaces.shexecutablescript616 B
setup.shexecutablescript3.5 KB
state/.gitignoreother109 B
state/README.mdmarkdown944 B
uninstall.shexecutablescript815 B

make-plan.sh

View on GitHub
#!/usr/bin/env bash
# Generate (or refresh) a 30-day marketing plan for a single skill.
# Usage: make-plan.sh <skill-name>
# Writes: state/plans/<skill-name>.md

set -euo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"
SKILL="${1:-}"

if [[ -z "$SKILL" ]]; then
  echo "Usage: $0 <skill-name>" >&2
  exit 2
fi

SKILL_DIR="${HOME}/.claude/skills/${SKILL}"
if [[ ! -f "${SKILL_DIR}/SKILL.md" ]]; then
  echo "ERROR: ${SKILL_DIR}/SKILL.md not found" >&2
  exit 2
fi

mkdir -p "${HERE}/state/plans"
PLAN_PATH="${HERE}/state/plans/${SKILL}.md"
PROMPT_TEMPLATE="${HERE}/prompts/make-plan.md"

# Substitute ${SKILL} into the prompt
prompt=$(sed "s|\${SKILL}|${SKILL}|g" "$PROMPT_TEMPLATE")

# Headless Claude run — give it the prompt, let it read the inputs itself
# Use --bare to skip hooks / CLAUDE.md / auto-memory for determinism
# Disable dangerous permission prompts since we want no interaction; we trust
# Claude only to write the plan file (it'll be invoked from cron).
echo "Generating plan for ${SKILL} → ${PLAN_PATH}" >&2

claude -p \
  --bare \
  --allowedTools "Read,Write,Bash(git config:*),Bash(git -C *:*),Bash(stat *),Bash(date *)" \
  "$prompt" >&2

if [[ -f "$PLAN_PATH" ]]; then
  echo "OK: $PLAN_PATH ($(wc -l <"$PLAN_PATH") lines)" >&2
else
  echo "WARNING: plan not written. Claude may have output to stdout instead." >&2
  exit 1
fi
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall