analyze
Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
One-touch install of Coral companion tooling and KB runtime
Install or remove coral HUD statusline
Submit a bid or speech in an active --user discuss session
Use when encountering a bug, error, or unexpected behavior that needs diagnosis and fix.
Use when code needs simplification — recently modified code by default, or a specified scope.
Use when a topic benefits from multiple perspectives debating before a decision.
| name | analyze |
| description | Use when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate. |
| argument-hint | [--delegate] [investigation target or question] |
Strip the --delegate flag before passing the prompt to the execution path.
</Argument_Routing>
Write CORAL_PROJECT/analysis/{YYYY-MM-DD}-{topic}.md with header:
# Analysis: {topic}
Date: {YYYY-MM-DD}
Question: {user's original request}
auth-flow-gaps, ci-pipeline-root-cause)-2, -3For each step in the table below, in order:
### Peripheral FindingsWait for each step's result before evaluating the next. At least one step must run.
Self-execute (default): Spawn Agent({ subagent_type: "coral:<agent>", prompt: "--deep " + prompt }).
Wait for the agent to return its findings.
You (the executor) post-process and append the result to the file after each step completes.
Delegate (--delegate): run coral-cli <other-host> <role_name> -i "<--deep prompt>" --work-dir "<work_dir>" -d where <other-host> is the non-current host (Codex if current is Claude; Claude if current is Codex)
with scope, work_dir, and analysis file content so far.
Run one step at a time — do NOT launch steps in parallel. Each step's output informs
the next step's scope and "Needed when" evaluation.
Each step is a fresh call (no session continuity — each agent has a different role).
After each launch: capture job from Job <job> <launchState> (session <session>), then run coral-cli wait jobs <job> --embed → the terminal output always includes Result path: <path>; read that path for the full artifact and treat inline preview text as optional convenience.
On error, abort the chain and report the error.
You (the executor) post-process and append the result to the file after each step completes.
| Step | Agent file | Needed when | Output section |
|---|---|---|---|
| 1 — Project Scan | coral:scanner | Project structure, architecture, dependencies, or systemic process issues are relevant | ## Scan Report |
| 2 — Gap Analysis | coral:gap-finder | Requirement gaps, acceptance criteria, API contracts, or scope risks — from the user's request OR gaps discovered in Step 1 | ## Gap Analysis |
| 3 — Root Cause Diagnosis | coral:debugger | Bugs, errors, crashes, or unexpected behavior — from the user's request OR symptoms surfaced in prior steps | ## Root Cause Diagnosis |
Always runs. Read the full analysis file, then:
Synthesis is meta-verification of existing findings — do NOT re-run agent investigation.
If issues found: investigate directly, append under ## Synthesis Review.
If clean: append only the finding flow summary.
Show the saved file path, then summarize key findings inline. <Error_Policy> If an agent file cannot be read, report the error to the user. Do not fall back to inline analysis. </Error_Policy>