ワンクリックで
multi-plan-handoff
Auto-detect plan files in conversation context and pass them to multi:* execute subagents by reference, not by paraphrase
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Auto-detect plan files in conversation context and pass them to multi:* execute subagents by reference, not by paraphrase
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Rewire which CLI handles which role in cc-multi-cli-plugin, OR diagnose/work around an upstream CLI quirk via env vars and config files. Use when the user asks to swap CLIs, change a subagent's target CLI, add or disable a subagent or command, restrict a CLI to read-only, hardcode a model, or change how a role frames its prompt — and also when a CLI is misbehaving (hangs, missing tools, broken release) and the user needs operator escape hatches like CURSOR_AGENT_PATH or AGY_CLI_PATH or OPENCODE_CLI_PATH, or per-CLI MCP config tuning. Works for any CLI in the marketplace — the four default CLIs (Codex, Cursor, Antigravity, OpenCode) and any additional CLIs the user added via the multi-cli-anything skill. Trigger phrases include "swap Codex and Cursor", "make Antigravity the researcher", "disable cursor-explore", "restrict Codex to read-only", "change which CLI handles implementation", "add /<cli>:<command>", "only install the plugins I need", "hardcode a model for <some-role>", "change the framing for <role>",
Add a new CLI provider to cc-multi-cli-plugin (beyond the built-in Codex/Cursor/Antigravity/OpenCode). Use when the user asks to integrate another AI CLI like Aider, Qwen, or any CLI that can be driven headlessly (a `-p`/print mode with JSON output, an app-server/HTTP mode, or any structured transport). Trigger phrases include "add Aider to the plugin", "integrate Qwen", "hook up my custom CLI", "support another model via its CLI".
Internal helper contract for calling the multi-cli-companion runtime from any multi:* subagent
Internal helper contract for calling the multi-cli-companion runtime from Claude Code
Internal guidance for presenting multi:* helper output back to the user
Internal guidance for presenting Codex helper output back to the user
SOC 職業分類に基づく
| name | multi-plan-handoff |
| description | Auto-detect plan files in conversation context and pass them to multi:* execute subagents by reference, not by paraphrase |
| user-invocable | false |
When the user asks to delegate work to a multi:* execute/delegate subagent (multi:codex-execute, multi:cursor-delegate, multi:opencode-delegate, or any future execute/delegate subagent), you must check whether a plan file exists in conversation context. If one does, dispatch the subagent with --plan <path> and never paste the plan's content into the Agent tool's prompt.
The reason: every paraphrasing layer (you summarizing the plan, the Sonnet wrapper prepending framing, the upstream CLI re-reading prose) loses fidelity. --plan <path> makes the upstream CLI read the file directly — bytes-identical, zero rewriting.
Scan recent conversation for these signals, in priority order:
Plan mode Plan File Info block. When Claude Code's plan mode is or was active, system reminders contain a line like:
You should create your plan at C:\Users\<user>\.claude\plans\<slug>.md
That path is canonical even after ExitPlanMode — the file persists. If you see this in any system reminder this session, treat it as the active plan file.
Superpowers writing-plans output. The superpowers:writing-plans skill writes plan files to a known location and announces the path in its output. If you used or saw it this session, that path is in scope.
Explicit user reference. Any path the user typed or that you wrote that matches one of:
*/.claude/plans/*.md*/plans/*.md (project-local plans)A plan you just authored. If you wrote a markdown file in this session whose path includes /plans/ and whose contents are step-by-step instructions, that's a plan.
Apply this skill when the user says any of these (case-insensitive, fuzzy):
If the user explicitly types a prompt rather than referencing a plan ("write me a fizzbuzz via cursor"), don't apply this skill — that's a normal prompt-based dispatch.
When detection matches:
Resolve to exactly one path. If multiple plan files are in context, ask the user which one (one short sentence, no menu of options unless 3+).
Dispatch with --plan <path>. Pass the absolute path through the Agent tool's prompt as --plan <absolute-path> (plus any other runtime flags the user specified like --background, --model, --effort).
Do not paste plan content. The Agent tool's prompt should contain the path reference, NOT the plan's text. The subagent translates --plan to --prompt-file on the companion call and skips the framing block.
Inline addenda go after the path. If the user adds something like "execute the plan via codex but also add a CHANGELOG entry", append the addendum as plain text after the --plan <path> flag in the dispatch prompt. The subagent will pass the path as --prompt-file AND append the addendum as additional task text. Example:
--plan C:/Users/.../plans/foo.md add a CHANGELOG.md entry dated 2026-04-30 documenting the change
Re-read on dispatch. If the user edited the plan file mid-conversation, the file's current bytes are what gets used — the subagent reads from disk, not from your context. Trust the file.
--plan with the subagent's framing block. When --plan is present, the subagent drops its preamble and passes the plan file as the entire prompt body.User in conversation:
Wrong (current behavior):
Right (with this skill):
multi:cursor-delegate with prompt: --plan C:/Users/.../plans/cursor-format-test.mdnode ... task --cli cursor --role delegate --prompt-file C:/Users/.../plans/cursor-format-test.md --writeThe same pattern applies to the other delegate subagents. For "send it to opencode":
multi:opencode-delegate with prompt: --plan C:/Users/.../plans/cursor-format-test.mdnode ... task --cli opencode --role delegate --prompt-file C:/Users/.../plans/cursor-format-test.md --write