kickoff
Turn a rough task opener into a scoped prompt, routed skills, and a verification checklist via a cheap tool-calling LLM that inspects the repo, then set the session goal and enter brainstorming — one command that hides /goal and brainstorming. Triggered by /kickoff <rough idea>. Fail-open: if no model is reachable or the engine is unavailable, the raw idea proceeds untouched.
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- kickoff
- tools
- [ "Bash", "Skill", "Read" ]
- description
- Turn a rough task opener into a scoped prompt, routed skills, and a verification checklist via a cheap tool-calling LLM that inspects the repo, then set the session goal and enter brainstorming — one command that hides /goal and brainstorming. Triggered by /kickoff <rough idea>. Fail-open: if no model is reachable or the engine is unavailable, the raw idea proceeds untouched.
- argument-hint
- <rough idea>
- user-invocable
- true
02 资源文件 5
- 参考文档evals.json588 B
- 参考文档README.md3.5 KB
- 脚本scripts/enrich_test.sh4.0 KB
- 脚本scripts/enrich.sh989 B
- 脚本tests/skill-structure_test.sh1005 B
03 SKILL.md 正文
kickoff — agentic LLM front door
Run when the user types /kickoff <rough idea>.
Steps
-
Enrich. Run (sandbox disabled — the engine reaches your inference endpoint and reads repo files) with an explicit Bash-tool
timeout: 420000(ms). The engine's wall-clock budget is 300s + 30s SIGALRM margin; the Bash default of 120s kills legitimate runs mid-flight and masquerades as an engine stall (2026-07-07, twice — guarded by evals/kickoff-timeout-contract.sh): Sessions running as the chief-operator agent add--profile chiefso the engine compiles an orchestration plan instead of a solo prompt:# standard sessions — run exactly ONE of these two: bash ~/.claude/skills/kickoff/scripts/enrich.sh --mode interactive "<the user's rough idea>" # chief-operator sessions: bash ~/.claude/skills/kickoff/scripts/enrich.sh --mode interactive --profile chief "<the user's rough idea>"enrich.shis a thin shim overpython -m tool.kickoff(deployed at~/.claude/tool/kickoff.py). The engine drives a cheap tool-calling LLM that inspects the repo via read-only tools (multi-turn) before producing the scoped prompt + routed skills + verification checklist. Capture stdout. -
Branch on the result.
-
If stdout begins with
KICKOFF_PASSTHROUGH:→ enrichment was unavailable (engine not deployed / model unreachable). Tell the user briefly, use their raw idea as the working prompt, and skip to step 4 with no checklist. Never let this block the kickoff. -
Otherwise parse the
## Kickoffblock: the Scoped prompt, Skills, Execution (solo|orchestrate), Budget (transcribed into the goal in step 3), and Verification checklist. Show it to the user.Each checklist item now carries a verdict ([runs; …], [BROKEN: …], [REJECTED: …], [unvalidated: …]) and the block ends with an
Acceptance (runnable):list and a**Grounded in:**line naming the files the engine actually read. Broken/rejected checks are guidance only — never acceptance criteria.
-
-
Set the session goal with the checklist as acceptance criteria. Invoke the
goalskill (or run~/.claude/skills/goal/goal.sh) with text formatted exactly as: (Run goal.sh with the sandbox disabled — it writes under~/.claude/audit/, which the Bash sandbox blocks; it now fails loudly if blocked.)Goal: <Scoped prompt (or the raw idea on passthrough)> Budget: <the **Budget:** value from the Kickoff block> Tier: <T1|T2|T3|T4, per "Complexity tier" below> Acceptance: - <checklist item 1> - <checklist item 2>The
Budget:line must start at column 0 exactly asBudget: <value>— the budget-governor Stop hook greps^Budget:. On PASSTHROUGH, omit theBudget:line entirely (no engine value exists to transcribe). Use ONLY the commands under the engine'sAcceptance (runnable):block as theAcceptance:items (these are proven runnable, so the/doneStop hook can execute them). Do not promote BROKEN/REJECTED/unvalidated checks to acceptance. This plants the verification checklist in the session goal file, where a Stop/verification hook can read it, so "did verification actually run" is observable later. (On passthrough, omit theAcceptance:items; brainstorming will establish them.) -
Enter the right path (first obey what the declared tier forbids: a T1 or T2 tier bars the census agent and the panel outright, and T1 also bars briefs, builders and critics):
-
Execution = solo (or passthrough) → invoke
superpowers:brainstorming, seeded with the scoped prompt. -
Execution = orchestrate → if the Kickoff block contains a Dispatch plan: section, seed from it instead of decomposing from scratch: brainstorm only the deltas (task boundaries the engine got wrong, missing tasks), then materialize per-task briefs at
.superpowers/sdd/task-N-brief.mdper the rendered Dispatch contract. Then drive the dispatch by dependency wave:- Group the Dispatch plan into dependency waves: a wave is every
not-yet-run task whose
depsare all satisfied by prior waves (the engine guarantees the dep graph is acyclic). - Per wave, invoke the chief-dispatch workflow:
Workflow({name: 'chief-dispatch', args: {tasks: [{brief: '<absolute path to .superpowers/sdd/task-N-brief.md>'}, ...]}})then read each task'sstatus/issuesfrom the return value before starting the next wave. A BLOCKED task blocks only its dependents, never the wave's independent siblings. - Fallback — run the manual chief dispatch loop (Agent tool per brief + adversarial-critic gate) when a task needs mid-flight judgment or user interaction, or when the Workflow tool is unavailable in the environment.
Or hand the fenced JSON seed to
/orchestratefor cmux-scale work. Without a Dispatch plan section, invokesuperpowers:brainstormingfocused on decomposing the work into disjoint, parallelizable tasks, then hand off toteam-planas before. - Group the Dispatch plan into dependency waves: a wave is every
not-yet-run task whose
-
Complexity tier (declare before any dispatch)
The tier is declared in step 3, before step 4 dispatches anything, and it goes in the goal file so it survives compaction. Each tier names what is FORBIDDEN, not what is allowed: allow-lists get read as suggestions and ignored.
| Tier | Scope | Forbidden |
|---|---|---|
| T1 trivial | <=10 lines, 1-2 files, reversible config or docs | census agent, brief, builder, critic, panel. Chief edits directly, runs the narrowest relevant test, commits. Target under 10 minutes. |
| T2 small | one concern, <=100 lines | census agent, panel. Chief direct or ONE builder. Targeted tests, self-review. |
| T3 standard | multi-file feature or fix | nothing; this is the full step 4 flow. |
| T4 risky | security, gates, migrations, multi-module | shipping without review-verify over the whole branch. |
Size the machinery to the task. A fixed-cost loop (census, brief, builder, critic) aimed at a 6-line config edit is how issue 491 drew T4 treatment for T1 work and lost the race to a 6-line MR that shipped first (2026-09-14).
The tier comes from the ask, and it is sticky. A user signal like "quick MR" is binding, not decorative. A question the source issue marks deferred or unresolved is OUT OF SCOPE by default: do not promote it into a design fork. To pull it in, ask a cheap yes/no scope question ("do you want the range in this MR at all?"), never a design fork ("how should the range work?"). The first has a default already written in the issue; the second quadrupled the work and needed a panel. Any scope expansion re-declares the tier to the user, explicitly.
The enricher is strictly additive — an enrichment failure must never block the kickoff.
04 同仓库更多 Skills
update-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
update-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
statusline
Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
split-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
shell
Runs the rest of a /shell request as a literal shell command. Use only when the user explicitly invokes /shell and wants the following text executed directly in the terminal.
sdk
Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (`@cursor/sdk`) or Python (`cursor-sdk` / `cursor_sdk`). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `run.messages`, `CursorAgentError`, `@cursor/sdk`, `cursor-sdk`, or `cursor_sdk`; asks to run Cursor agents programmatically from a script, CI/CD pipeline, GitHub Action, backend service, or other code outside the Cursor IDE; wants to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors; or is wiring Cursor into an automation, bot, or REST `/v1/agents` migration. Use eagerly rather than answering from memory; the SDK surface evolves and this skill is the source of truth for the external packages.