/coral:bugfix [--delegate] <bug description or error message>from coral
End-to-end bug debugging: diagnoses errors, plans fixes, and executes fixes. Supports self-execution or delegation to another host (Claude, Codex, Copilot).
Ships in coral. 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.
Diagnose bugs, plan fixes, and execute - end-to-end.
| Argument | Mode |
|---|---|
<prompt> | Self-execute on current host (default) |
--delegate | Delegate to the other host (Claude → Codex, Codex → Claude, Copilot → Codex; current host comes from SessionStart Current host:) |
--delegate <prompt> | Same with prompt |
Strip the --delegate flag before passing the prompt to the execution path.
Diagnose:
Agent({ subagent_type: "coral:debugger", prompt: "--deep " + prompt }).
Wait for the agent to return its diagnosis in <Output_Format> structure.--delegate): Run coral-cli <other-host> debugger --work-dir "<work_dir>" -i - <<'CORAL_INPUT' with the <--deep prompt> as the body of that quoted heredoc, closed by a CORAL_INPUT line (<other-host> = the delegation target for the current host: Claude → Codex, Codex → Claude, Copilot → Codex).
Capture job from Provider job <jobId> execution #<n> <launchState>, then run cd "<work_dir>" && coral-cli jobs wait <job> --embed. Use the job’s terminal header to identify its end, including when provider_exit propagates code 75. Read the artifact at Result path: <path> when available. Run any usable wait continuation for that job exactly from the same cwd, including when the wait stops before the job ends or the terminal artifact is still pending. If the artifact is unavailable and there is no usable continuation, stop and report it. Account for the terminal outcome before moving on. If an error prints remediation:, follow it only when it contains a coral-cli jobs wait command, preserving all arguments and the same cwd; accept either backticked or plain-text commands, and exclude surrounding prose. Otherwise stop and surface the rendered error. wait_build_mismatch requires restarting the session. A non-zero provider_exit code is terminal and is passed through unchanged (0–255).
On error, stop with the error message.
Verify cited file:line references. Drop findings with incorrect references.Record diagnosis: Write the diagnosis to CORAL_PROJECT/plans/debug-{short-bug-description}.md
using the debugger's output format (Symptom, Reproduction Path, Hypothesis Log, Root Cause, Fix Specification).
Gate on hypothesis verdicts:
Plan fix: Invoke Skill({ skill: "coral:plan", args: (if --delegate: "--delegate ") + "round=3 --no-handoff fix-{short-bug-description}" }).
The plan references CORAL_PROJECT/plans/debug-{short-bug-description}.md for diagnosis context.
Plan should include: what to change, why, and how to verify the fix.
Execute fix: Invoke Skill({ skill: "coral:ralph", args: (if --delegate: "--delegate ") + "implement the plan from step 3" }).
Project validation: If project instructions define workflow rules (e.g., review gates, post-implementation steps), follow them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kangig94/coral --plugin coral12 skills in this plugin
/analyzeUse when deep investigation is needed — project structure, requirement gaps, or root cause diagnosis. Supports --delegate./bidSubmit a bid or speech in an active --user discuss session/code-simplifyUse when code needs simplification — recently modified code by default, or a specified scope./discussUse when a topic benefits from multiple perspectives debating before a decision./equipOne-touch install of Coral companion tooling and KB runtime/init-projectUse when setting up a new or existing project for AI-assisted development.Other plugins' skills for the same job