/solopreneur:rebuild-skill-indexfrom solopreneur
Rebuilds per-platform skill index files for subagents (iOS, Android, design, etc.) by scanning installed Claude Code skills and classifying them via frontmatter.
Ships in solopreneur. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate one index file per platform, specific to the current Claude Code config. Each file is the extended list of every platform-relevant skill installed on this machine that is not already in the curated list inside the matching agent's markdown file.
Outputs are consumed by the matching subagents (ios-dev, android-dev,
designer, marketer, neo4j-dev) and any caller that dispatches them
(/specialist-review, /plan-review, /todos-review).
Either harness may be invoked with a non-default config home — CLAUDE_CONFIG_DIR
on Claude Code, CODEX_HOME on Codex. Resolve the running session's base
directory first via Bash:
# Codex exports CODEX_THREAD_ID on every session, while CODEX_HOME exists only
# when the user sets one; anything that is not Codex keeps the Claude path.
if [ -n "${CODEX_THREAD_ID:-}" ]; then
BASE="${CODEX_HOME:-$HOME/.codex}"
else
BASE="${CLAUDE_CONFIG_DIR:-$HOME/.claude}"
fi
echo "$BASE"
Use the resolved absolute value in all subsequent read and write paths and in
Path: metadata written into output files — readers should not have to
re-resolve.
For each source below, read frontmatter only (the name: and
description: fields). Do not read full SKILL.md bodies — that would burn
unnecessary tokens. Use Read file_path=<path> limit=30 (30 lines covers any
reasonable frontmatter).
Shared sources (used by every platform's classifier):
Glob pattern: $BASE/skills/*/SKILL.mdAndroid-specific sources:
android-dev itself (under <plugin>/skills/) and
excluded via the dedup list in Step 2.iOS-specific sources:
ls "$BASE/plugins/cache/axiom-marketplace/axiom/" | sort -V | tail -1
$BASE/plugins/cache/axiom-marketplace/axiom/<version>/skills/*/SKILL.mdDesign-specific sources:
frontend-design plugin (optional):
ls -t "$BASE/plugins/cache/claude-plugins-official/frontend-design/" | head -1
ls -t | head -1 picks
the newest by mtime — matches "the one currently installed" even when
multiple hash dirs coexist.$BASE/plugins/cache/claude-plugins-official/frontend-design/<hash>/skills/*/SKILL.mdui-ux-pro-max-skill plugin (optional):
ls "$BASE/plugins/cache/ui-ux-pro-max-skill/ui-ux-pro-max/" | sort -V | tail -1
$BASE/plugins/cache/ui-ux-pro-max-skill/ui-ux-pro-max/<version>/skills/*/SKILL.mdMarketer-specific sources:
frontend-slides plugin (optional):
ls "$BASE/plugins/cache/frontend-slides/frontend-slides/" | sort -V | tail -1
slide-design curated
skill orchestrates them).$BASE/plugins/cache/frontend-slides/frontend-slides/<version>/skills/*/SKILL.mdrevealjs plugin (optional):
ls "$BASE/plugins/cache/revealjs/revealjs/" | sort -V | tail -1
slide-design.$BASE/plugins/cache/revealjs/revealjs/<version>/skills/*/SKILL.mdNeo4j-specific sources:
neo4j-dev itself.Read each agent's markdown from the solopreneur marketplace plugins. Find
the ## Curated Skills section. Extract skill names from every bullet line
that looks like:
- `<skill-name>` — <description>
The section is subdivided by source (Plugin-bundled / Third-party / …).
Collect names from all subsections — they form the per-agent dedup blacklist
and should not be re-included in that agent's extended index. Names may be
bare (asc-release-flow) or namespaced (ios-dev:ios-patterns,
axiom:axiom-ios-ui) — strip any <plugin>: prefix before comparing
against candidate skill names.
Agents to read (each lives in its own sub-plugin):
ios-dev.md (from ios-dev) → iOS dedup listandroid-dev.md (from android-dev) → Android dedup listdesigner.md (from designer) → design dedup listmarketer.md (from marketer) → marketer dedup listneo4j-dev.md (from neo4j-dev) → neo4j-dev dedup listLocate each agent file via Glob (widens across any marketplace name the user
chose at claude plugin marketplace add --name):
Glob: $BASE/plugins/cache/*/<plugin>/*/agents/<name>.md
If multiple versions coexist, take the highest semver match.
If you can't find an agent file, ask the user where that sub-plugin is installed and continue with an empty dedup list for that platform (the extended file will have duplicates with curated, which is fine — costs one extra entry per dup).
For each skill not in a given platform's dedup list, judge from name +
description whether it is relevant to that platform. Each candidate can be
classified into multiple platforms (e.g., a SwiftUI-specific design skill
belongs in both ios.md and design.md).
Be inclusive but not sloppy.
adb / gradlew /
Google Play Console (gplay-*, signing, release flows, in-app purchases) /
Android-specific testing (Roborazzi, Espresso, Compose UI testing)MERGE patterns / MATCH
patterns / index & constraint design / vector indexes on graph / APOC /
GDS (Graph Data Science) / Neo4j Aura / cypher-shell / neo4j-admin /
knowledge graph / GraphRAG / text2cyphermkdir -p "$BASE/solopreneur/skill-index"
Write one file per platform. Expand $BASE to its absolute resolved value
in all Path: lines so that consumers (agents that Read this file) can
open each path directly without re-resolving the env var.
$BASE/solopreneur/skill-index/ios.md# iOS Skills Index — Extended
Generated: <ISO 8601 timestamp with timezone>
Config: <resolved absolute $BASE>
Classified by: <model name running this skill>
## Auto-classified user skills
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Auto-classified Axiom plugin skills (axiom-marketplace v<version>)
- `<name>` — <description>
Path: <$BASE resolved>/plugins/cache/axiom-marketplace/axiom/<version>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Missing
<empty if all good; otherwise warnings, e.g.:>
- Axiom plugin not installed. Install with: `claude plugin install axiom`
(https://github.com/CharlesWiltgen/Axiom)
$BASE/solopreneur/skill-index/android.md# Android Skills Index — Extended
Generated: <ISO 8601 timestamp with timezone>
Config: <resolved absolute $BASE>
Classified by: <model name running this skill>
## Auto-classified user skills
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Missing
<empty if all good; otherwise warnings>
$BASE/solopreneur/skill-index/design.md# Design Skills Index — Extended
Generated: <ISO 8601 timestamp with timezone>
Config: <resolved absolute $BASE>
Classified by: <model name running this skill>
## Auto-classified user skills
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Auto-classified frontend-design plugin skills (v<hash>)
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/plugins/cache/claude-plugins-official/frontend-design/<hash>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Auto-classified ui-ux-pro-max plugin skills (v<version>)
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/plugins/cache/ui-ux-pro-max-skill/ui-ux-pro-max/<version>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Missing
<warnings for any optional source not found>
$BASE/solopreneur/skill-index/marketer.md# Marketer Skills Index — Extended
Generated: <ISO 8601 timestamp with timezone>
Config: <resolved absolute $BASE>
Classified by: <model name running this skill>
## Auto-classified user skills
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Auto-classified frontend-slides plugin skills (v<version>)
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/plugins/cache/frontend-slides/frontend-slides/<version>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Auto-classified revealjs plugin skills (v<version>)
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/plugins/cache/revealjs/revealjs/<version>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Missing
<empty if all good; otherwise warnings>
$BASE/solopreneur/skill-index/neo4j-dev.md# Neo4j Skills Index — Extended
Generated: <ISO 8601 timestamp with timezone>
Config: <resolved absolute $BASE>
Classified by: <model name running this skill>
## Auto-classified user skills
- `<name>` — <one-line description trimmed to ~120 chars>
Path: <$BASE resolved>/skills/<name>/SKILL.md
- ... (alphabetical by name)
## Missing
<empty if all good; otherwise warnings>
Skip a section entirely if it would be empty (except ## Missing — always
emit it for transparency).
Print a short summary (one Wrote line per file actually written — skip
platforms that had no sources available):
Wrote <$BASE resolved>/solopreneur/skill-index/ios.md
Wrote <$BASE resolved>/solopreneur/skill-index/android.md
Wrote <$BASE resolved>/solopreneur/skill-index/design.md
Wrote <$BASE resolved>/solopreneur/skill-index/marketer.md
Wrote <$BASE resolved>/solopreneur/skill-index/neo4j-dev.md
iOS:
- N user skills classified as iOS-relevant
- M Axiom skills classified as iOS-relevant (axiom v<version>)
- K curated skills excluded from extended index
- Warnings: <list, or "none">
Android:
- N user skills classified as Android-relevant
- K curated skills excluded from extended index
- Warnings: <list, or "none">
Design:
- N user skills classified as design-relevant
- M frontend-design plugin skills classified as design-relevant (v<hash>)
- L ui-ux-pro-max plugin skills classified as design-relevant (v<version>)
- K curated skills excluded from extended index
- Warnings: <list, or "none">
Marketer:
- N user skills classified as marketer-relevant
- S frontend-slides plugin skills classified as marketer-relevant (v<version>)
- R revealjs plugin skills classified as marketer-relevant (v<version>)
- K curated skills excluded from extended index
- Warnings: <list, or "none">
Neo4j:
- N user skills classified as Neo4j-relevant
- K curated skills excluded from extended index
- Warnings: <list, or "none">
CLAUDE_CONFIG_DIR) gets its own index because each config has its own
set of installed plugins and user skills.agents/<name>.md.ai-engineer agent does not yet read an extended index file. If its
curated list grows beyond what's manageable, add an ai-engineer.md
output here following the same pattern.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hanamizuki/solopreneur --plugin solopreneur17 skills in this plugin
/autopilotPR orchestration planner. Reads a task file, discusses PR splitting strategy
with the user, produces plan + spec files, and either dispatches a worktree
subagent in the current session (single PR, run now) or schedules execution
via cron (multi-PR, or single-PR scheduled). Use when the user wants a task
implemented, reviewed, and merged automatically — whether the scope fits in
one PR or needs to be split. Triggers: "autopilot", "orchestrate", "batch
implement", "split into PRs and run", or when the user provides a todo/spec
and wants unattended PR execution.
/codex-agents-bootstrapInstall or refresh custom agents shipped by solopreneur-family plugins in the
Codex user agents directory. Use after installing, updating, enabling, or
disabling a solopreneur-family plugin, or when the user asks to bootstrap,
install, refresh, or diagnose Codex agents. This is unnecessary on Claude.
/greenlightAutomated PR review loop that keeps running until the PR is clean. Triggers
external reviewers (Codex bot, Codex CLI, and the Gemini bot when activity
detection sees it on the repo), processes feedback, fixes issues, and
re-triggers — repeating until no new suggestions remain.
Supports `/greenlight external` to skip internal review and go straight to
external reviewers, and `/greenlight external gemini` to specify a starting
reviewer. Use when the user says "greenlight", "run reviews until clean",
"get this PR approved", or wants automated review cycling on an open PR.
Also auto-detects uncommitted mode: when on main branch with uncommitted
changes and no PR, runs Codex CLI `--uncommitted` review loop only, fixes
in-place without committing, until codex reports clean.
Also supports post-commit mode (explicit `/greenlight post-commit <SHA>`
or `<SHA1>..<SHA2>`): Phase 1 subagents + Codex CLI + agy (Gemini-family CLI)
in parallel, fixes as new commits on top (no amend, no new PR), pushes after
each round.
/handoffGenerate a self-contained handoff context document for the current work,
printed inline as markdown so the user can copy it and paste into any other
agent — a fresh Claude Code session, Codex, ChatGPT, or an agent on another
machine. Use when the user says /handoff, "write context for the next
session", "package this for handoff", "hand off to another agent", or wants
to capture the current session's state in a portable form. Output is printed
inline AND written to `/tmp/handoff/<YYYY-MM-DD>_<slug>.md`. No worktree is created (use
worktree-handoff if a git worktree is needed).
/merge-prMerge an open PR for the current branch. Refuses to merge when the worktree
has uncommitted changes, consolidates the branch's plan file (renaming
the latest Handoff Context section to Final Progress and moving the file
to done/ in state-machine mode), merges via GitHub CLI, and reports status.
Also cleans up stale merged-but-not-removed worktrees from prior sessions
on every Claude Code run. Codex V1 uses a merge-only profile that performs
no pre-merge plan or worktree mutation.
Use when the user says "merge", "merge PR", "merge this", or wants to
land the current branch.
/mvpMeta-orchestrator for going from a product idea to a demo-able MVP fast.
Drives the full flow: brainstorming → PRD visual confirmation (user
gate) → template lookup → MVP-flavored plan → single-subagent
execution. Optimized for **time-to-first-demo**, not production
quality — no TDD, no per-task review loops, no hardening. Use INSTEAD
OF superpowers:brainstorming when the user is starting a new product
from scratch — this skill calls brainstorming internally, then chains
in a PRD confirmation phase, template discovery, plan writing, and
execution. Triggers: "/mvp", "我要做 app", "想做產品",
"想做一個 app", "做個 MVP", "build a product", "build an app from
scratch", "MVP from scratch", "start a new app", "new product".
Other plugins' skills for the same job