/solopreneur:handofffrom solopreneur
Generates a self-contained markdown handoff document capturing current session state, next steps, and context for transfer to another agent or machine.
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.
Package the current session into a portable, self-contained markdown document so a fresh agent — in a new Claude Code session, Codex, ChatGPT, or running on another machine — can pick up the work without asking the user clarifying questions.
The document is printed inline AND saved to /tmp/handoff/<YYYY-MM-DD>_<slug>.md (e.g.
/tmp/handoff/2026-06-01_fix-portfolio-cost-basis.md). The user can copy from the
terminal or grab the file directly.
Use it when the user is about to switch sessions, run something on a different machine, or hand off to a teammate's agent, and the new agent needs to know what's done, what's next, what NOT to relitigate, and what dead ends to skip.
Not the right tool when:
worktree-handoff instead.The most load-bearing field in the document is Next step. Three cases:
| Case | What to do |
|---|---|
| User stated the next step explicitly | Use it. Elaborate with concrete commands and absolute paths. |
| The conversation clearly implies it (e.g. just finished phase A, plan defines phase B) | Propose it; mark it as your inference so the user can correct. |
| Unclear, or multiple plausible directions | Ask one focused question first, before generating the doc. Don't guess. |
When asking, present the realistic forks ("Will the next session (a) just analyse the existing results, or (b) run the next iteration end-to-end? Each needs different scope and different env."), not open-ended ("What's next?").
Run the gathering commands in parallel. Collect liberally; filter aggressively in step 3 — only ship what's relevant to continuing.
Environment
pwdgit rev-parse --show-toplevelgit branch --show-currentgit status -sgit log --oneline -10From conversation history
Use the structure below. Omit any section that has nothing meaningful — a missing section is better than a padded one.
# <Concrete task title> — Handoff Context
> For a fresh agent in a new session continuing this work. Read top-down —
> this is intended to be self-contained.
## Goal
<1–3 sentences. What to accomplish and why.>
## Current state
<Where the work stands right now. What infrastructure / data / branches are in place.>
## Next step
<One concrete action. Include exact command, absolute file path, and the
decision the user already made about it.>
## Decisions already made (do not relitigate)
- <decision> — <one-line reason>
## Tried and ruled out
- <approach> — <why it didn't work, so the new agent doesn't repeat it>
## Open questions / awaiting user
- <question> — <why it matters / what it blocks>
## Environment
- **CWD**: `<absolute path>`
- **Repo**: `<owner>/<repo>` @ `<branch>` (last commit: `<sha7> <subject>`)
- **Uncommitted changes**: <none / brief summary>
- **Recent commits** (newest first):
- `<sha7>` <subject>
- **Env / credentials**: <names only — e.g. `OPENROUTER_API_KEY` is in `<repo>/langgraph/.env`>
- **Running services / background processes**: <only if relevant to continuation>
## Relevant files
- `<absolute path>` — [modified] <what was changed>
- `<absolute path>` — [reference] <what's in it, why the new agent will need it>
## References
- `<doc / README / URL / related skill>` — <why it matters>
Derive a slug from the task title (lowercase, hyphens, no special chars).
Ensure the directory exists (mkdir -p /tmp/handoff), then write the document
to /tmp/handoff/<YYYY-MM-DD>_<slug>.md. How, and what you print afterwards,
depends on the host — check whether CODEX_THREAD_ID is set:
/tmp, so this write can fail; a denied write is
not a failed run, because the printed document is the deliverable. On
success, print the absolute path on its own line. On denial, print
file not written: <reason> instead. Codex has no SendUserFile — never
report a file as delivered.The printed document plus step 4's one-line file result is the entire response. Do not add a preamble before the markdown (no "Here's the handoff doc"), a closing line after it (no "ready, copy it"), a summary, or any commentary.
The only exception is step 1: if the next step is unclear, ask the focused question first and wait. After the answer, generate the doc and stop.
The output must pass these checks. Revise before printing if any fails.
run_batch.py" → instead: "langgraph/eval/scripts/run_batch.py —
change MODELS = [...] and THROTTLE_SECONDS (12 for :free models,
0.5 for paid)."User: /handoff
pwd
git -C <cwd> rev-parse --show-toplevel
git -C <cwd> branch --show-current
git -C <cwd> status -s
git -C <cwd> log --oneline -10
/tmp/handoff/<YYYY-MM-DD>_<slug>.md, and report the
result the way step 4 requires for the current host. Nothing else — no
preamble, no closing line, no commentary.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.
/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.
/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