/solopreneur:codex-agents-bootstrapfrom solopreneur
Installs or refreshes custom agents from solopreneur-family plugins into the Codex user agents directory. Run after installing, updating, enabling, or disabling a plugin.
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.
Read when SKILL.md points to them; scripts run unread.
Run the bundled scripts/install-codex-agents.sh with /bin/bash. The script
uses the active Codex installation list, validates every managed source before
copying, and preserves hand-authored user-layer identities declared by the base
$CODEX_HOME/config.toml or recursively under $CODEX_HOME/agents/, including
hidden files and directories. It requires codex, jq, and Python 3.9 or
newer. TOML parsing always uses the bundled Tomli 2.4.1; runtime package
installation and network access are unnecessary.
The collision check is deliberately more conservative than Codex: it never
follows a symlink in the user agent tree, base config, or a declared role's
config_file. A pre-existing unsafe, dangling, or non-regular path fails the
all-source preflight before any managed copy is committed. A base config role
keeps its exact table-key identity unless its config_file supplies a nonblank
root name, which Codex trims and uses as the identity. Managed destinations
and orphan reporting remain top-level only.
The same user-layer identity scan runs again after staging and immediately before destination ownership is rechecked. A collision or unsafe path that appears during staging aborts before committing the affected copy, and the cleanup trap removes its staged temporary file; this narrows the ordinary race window but does not claim atomic coordination with independent config writers.
Treat the result as a check of the base user-layer candidates, not proof of the effective runtime role. Profile, project, command-line, or managed configuration layers may have higher precedence and are outside this bootstrap's collision scope.
Report all Installed, Updated, Unchanged, Skipped, Inactive, and
Orphaned entries exactly as returned. On a nonzero exit, report only actions
the script explicitly says were committed; never present a planned copy as
successful. Surface the error and stop.
A disabled plugin with a retained managed destination appears in both
Inactive and Orphaned: inactive explains why it was not refreshed, while
orphaned means only that no active solopreneur plugin source currently claims
the fully owned top-level copy. It is a manual-review candidate, not proof that
the file is unused or removable: a profile, project, command-line, managed, or
other config layer may still reference or override it. Never describe an
orphan as safe to remove. Any later removal requires explicit user approval
after auditing every relevant config layer and the exact path.
Only emit Orphaned when the exact marker, root TOML name, filename, and
canonical plugin/agent pair all agree. This proves solopreneur ownership, not
runtime non-use. A Skipped entry that says ownership is not proven is
suspicious and must not be presented as safe to remove.
After an install or update, tell the user to start a new Codex conversation so the refreshed agent configuration is loaded.
scripts/install-codex-agents.sh (opens in a new tab)scripts/read-codex-agent-name.py (opens in a new tab)scripts/tomli_loader.py (opens in a new tab)tests/install-codex-agents.test.mjs (opens in a new tab)vendor/tomli/LICENSE (opens in a new tab)vendor/tomli/PROVENANCE.json (opens in a new tab)vendor/tomli/tomli/__init__.py (opens in a new tab)vendor/tomli/tomli/_parser.py (opens in a new tab)vendor/tomli/tomli/_re.py (opens in a new tab)vendor/tomli/tomli/_types.py (opens in a new tab)vendor/tomli/tomli/py.typed (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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.
/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".
/perspectiveSwitch perspectives to think through problems using the mental models of ten
iconic thinkers: Elon Musk, Richard Feynman, Charlie Munger, Naval Ravikant,
Steve Jobs, Nassim Taleb, Ilya Sutskever, Andrej Karpathy, Paul Graham, and
Donald Trump. Each perspective is a distilled thinking OS based on deep
research of primary sources, interviews, decision records, and external
criticism. Use when the user says "perspective", "switch perspective",
"think from X's viewpoint", "how would X see this", or mentions a specific
thinker's core concept (e.g. "first principles", "antifragile", "leverage",
"inversion", "focus means saying no", "cargo cult", "compression is
understanding", "march of nines", "make something people want", "truthful
hyperbole").
Other plugins' skills for the same job