本文へ移動
cccskills
無料GitHub で公開

my-subagent

Delegate independent research, implementation, or verification in parallel when it can save time after dispatch and review overhead, or when explicitly requested. Keep decisions and final integration in the main agent.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md5.2 KB
  • references/prompts.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Subagent Delegation

委譲の判断

現在の実行時方針とユーザー指示の範囲内で、独立作業を並列に進め、依頼と結果確認の負担を含めても完了時間を短縮できる場合は subagent を起動する。

  • 調査は、問い・調査範囲・求める成果が明確なら、原因や実装方針が未確定でも委譲する。

  • 実装は、方針・担当範囲・受入基準が確定し、他の作業の結果を待たずに進められる部分を委譲する。

  • 短い検索・読み取り・チェックコマンドだけなら、main が独立したツール呼び出しをまとめて並列実行する。密接に関係する変更や、委譲の負担に見合わない作業は main が行う。

  • main は作業分解、承認、依存関係・公開契約・設定・破壊的操作の判断、統合、最終検証と完了判断を担う。

  • subagent は割り当てられた調査、実装、テスト、自己レビューを行う。さらに subagent へ委譲しない。

Codex の役割選択

この節は Codex 実行時だけ適用する。

役割用途
explorer特定のコードベース質問を調べる読み取り専用の調査
luna_worker方針・対象・受入基準・検証が明確な低リスクの実装やテスト。条件が合えば worker より優先する
worker複数モジュールの理解や反復調査を要する実装
reviewer / simplifier明示的なレビュー依頼で、それぞれの観点が必要な場合
default上記に当てはまらない作業

設定済みの subagent defaults を使い、ユーザーが指定しない限り model と reasoning_effort を上書きしない。指定がある場合も設定済みの reasoning effort を下げない。 他の実行環境でも設定済みの defaults を使い、起動ツールが扱えない引数を推測して付けない。

文脈の継承

Codex で spawn_agent を呼ぶときは fork_turns を省略しない。

  • 通常は "none" を使い、subagent が必要とする目的、範囲、制約、判断済みの事項、出力条件を依頼文へ含める。
  • subtask が直前の修正、原文、参照関係など、要約すると意味を損なう会話内容に依存する場合だけ、必要な範囲を覆う最小の正のターン数を使う。
  • "all" は、会話全体が短く、全ターンが subtask に必要な場合に限る。full-history fork は親の model と reasoning effort を継承するため、役割別の設定を使う場合は選ばない。
  • 継承する会話内容を依頼文へ重複して書かない。ターンを継承する場合も、subtask の目的、担当範囲、出力条件は依頼文へ明記する。

依頼と並列化

最初の作業分解時と依存関係が解消した時点で、委譲できる作業を確認する。 main がその作業へ着手する前に subagent を起動し、main は結果に依存しない必要作業を進める。 結果が次の作業に必要になるか、独立して進める必要作業がなくなるまで待機しない。委譲済みの調査や実装を main で重複して行わず、返された成果の確認に集中する。

references/prompts.md を使い、各依頼に次を含める。

  • タスクと必要な要件・設計・既存規約の抜粋
  • 担当ファイル、変更禁止範囲、最初に読む参考実装
  • 受入基準、検証コマンド、失敗や不明点の報告方法

並列起動は、依存関係がなく、必要な入力が揃い、編集・テスト・生成物が競合しない場合に限る。 書き込みを行う worker を並列起動する場合は、隔離した worktree と重複しない担当ファイルを割り当てる。 main は実行中の worker の担当ファイルを編集しない。worker には他の作業者がいることと、他者の変更を戻さず取り込むことを伝える。

結果の確認

main は調査結果の根拠と未確認範囲、実装の差分と受入基準への適合を確認する。 独立 reviewer は、重大な不確実性、高リスク、または明示的なレビュー要件がある場合に起動する。 レビューが必要なら、仕様と品質の両方を一つの依頼で確認する。観点を分ける必要がある場合だけ複数に分担する。

statusmain の対応
DONE結果と差分を確認する
DONE_WITH_CONCERNS懸念を確認し、必要な修正や判断へ進む
NEEDS_CONTEXT不足情報を渡す
BLOCKED原因を分類し、権限やユーザー判断が必要なら該当作業を止める

同じ条件で無言再試行しない。仕様不一致と重要な指摘を解消し、main が必要な検証を通した作業だけ完了にする。 tasks.md などで進捗を管理している場合は、確認した結果に合わせて更新する。

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

my-agent

無料日本語概要

Delegate tasks to an external CLI agent (OpenAI Codex, Google Gemini, or Claude Code) for second opinions or parallel execution. Use when the user explicitly mentions "codex", "gemini", or "claude" or asks to delegate work to one of them (e.g., "codexで実行", "codexに聞いて", "geminiで実行", "Geminiに聞いて", "claudeで実行", "Claudeに聞いて", "run with codex", "ask gemini", "ask claude"). Also use when the user mentions Claude's "fable" model alias for delegation or consultation (e.g., "fableで実行", "fableに相談", "Fableに聞いて", "ask fable"). Do NOT use for general coding tasks that don't mention codex, gemini, claude, or fable.

Ynakatsuka/dotfiles42026年10月4日 更新

my-bulk-read

無料日本語概要

Delegate reading large or multiple files to the `bulk-read` command, which sends the files to a cheaper reader model and returns only its answer. Use when a question needs the content of a file over about 350 lines or of several files at once, when a PreToolUse guard denied an unbounded read, or when the user says "bulk read", "一括読み込み", or "まとめて読んで". Do NOT use for files you are about to edit, for subtle correctness reasoning such as concurrency bugs, or for short files that fit a bounded read.

Ynakatsuka/dotfiles42026年10月4日 更新

my-ccv

無料日本語概要

Manage Claude Code Viewer (CCV): preview in-progress CCV changes on ccv-preview, register HTML artifacts, download files, or schedule jobs via CCV local API. Use when user asks for CCV preview, ccv-preview, browser visual QA, UI/UX validation, CCV artifacts, CCV file download, or CCV scheduler jobs. Treat preview/プレビュー as the CCV app preview service first; use artifacts only when the user explicitly asks for artifact/dashboard/report HTML. Do NOT use for generic web app previews outside CCV, production deployment, Cloudflare config, or Anthropic remote triggers.

Ynakatsuka/dotfiles42026年10月4日 更新

my-code-write

無料日本語概要

Delegate writing predictable code to the `code-write` command, which has a cheaper writer model write the target file directly so the generated code never enters your context. Use for tests, scaffolding, fixtures, boilerplate, or a new file that copies an existing pattern, and when the user says "code write", "生成を委譲", or "雛形を書かせて". Do NOT use for design decisions, changes to public contracts or shared modules, edits inside an existing file that needs judgment, or logic with subtle correctness requirements.

Ynakatsuka/dotfiles42026年10月4日 更新

Disciplined diagnosis workflow for hard, intermittent, or multi-component bugs and performance regressions: inspect logs and existing evidence, build a feedback loop, test falsifiable hypotheses, instrument gaps, and verify the outcome. Use when the root cause is unclear, reproduction is unreliable, several causes or components are plausible, or performance has regressed. Do NOT use for obvious single-cause errors, straightforward configuration or syntax fixes, planned feature work, or broad architecture review. Diagnosis-only requests stop after reporting the root cause and evidence; apply a fix only when the user requested one.

日本語の概要は準備中です。原文の説明を表示しています。

Ynakatsuka/dotfiles42026年10月4日 更新

my-epic

無料

Manual-only orchestrator for medium-to-large software development. Turns a broad goal into PR-sized and operational nodes with verification gates, then coordinates approved execution across follow-up prompts. Activate only when the user explicitly invokes my-epic; once activated, keep orchestrating that epic for the rest of the session. Do NOT use for an uninvoked planning or implementation request, a single small bug fix, one obvious PR, pure code review, ordinary SDD work that fits in one spec/PR, or implementing an epic during the same first call that created it.

日本語の概要は準備中です。原文の説明を表示しています。

Ynakatsuka/dotfiles42026年10月4日 更新

Ynakatsuka のスキルをすべて見る

このスキルの問題を報告する