Skills Prompts Hues

Popular categories

Agent skill · Compound Engineering

/ce-debug Root-cause debugging with a full causal chain before fixing

ce-debug runs five fixed phases: triage, investigate, root cause, fix and handoff. The agent must explain every step from trigger to symptom with file and line evidence before proposing a change, then asks whether to fix, stop at diagnosis or rethink the design. Fixes are test-first and committed without sweeping in your other edits.

Works with

  • Claude Code
  • Cursor
  • Codex CLI
  • GitHub Copilot CLI
  • Kimi Code CLI
  • Grok Build CLI
  • Devin CLI
  • Factory Droid
  • Qwen Code
  • Pi
  • Antigravity CLI
  • Cline

Used forDebugging

When to use it

  • Something fails, throws or runs slowly and the cause is not obvious.
  • A ticket or issue describes a bug you want diagnosed and fixed with a regression test.
  • Several attempted fixes have not held.

How it works

  1. 1
    Triage and investigate

    It fetches any issue of record, reproduces the failure, traces backwards and searches earlier tickets and PRs.

  2. 2
    Close the causal chain

    It does not move on until the chain from trigger to symptom has no gaps, testing one hypothesis at a time.

  3. 3
    Present, then ask

    It shows the cause, proposed fix and test plan, then asks whether to fix now, stop at diagnosis or rethink the design.

  4. 4
    Fix test-first

    On the fix path it branches off the default branch if needed and records which files the fix owns.

  5. 5
    Hand off safely

    It commits only fix-owned files and opens a PR only when the branch is clean and a PR-capable remote exists; otherwise it commits locally.

What it steers the agent away from

  • Changing several things at once to see what helps
  • Opening tickets to manufacture a record for a bug
  • Leaking secrets from logs or traces into output or commits

Install this skill

It installs with the Compound Engineering pack.

Claude CodeRefresh the marketplace before updating an existing install.
/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering
CursorRun in Cursor Agent chat; Grok Bot picks it up from the same Cursor account.
/add-plugin compound-engineering
Codex CLIRestart Codex afterwards; invoke skills with $skill-name.
codex plugin marketplace add EveryInc/compound-engineering-plugin
codex plugin add compound-engineering@compound-engineering-plugin
GitHub Copilot CLICopilot reads the Claude-compatible manifests directly.
copilot plugin marketplace add EveryInc/compound-engineering-plugin
copilot plugin install compound-engineering@compound-engineering-plugin
Kimi Code CLIRun /reload or start a new session afterwards.
/plugins install https://github.com/EveryInc/compound-engineering-plugin
Grok Build CLITracks the repository; update with grok plugin update.
grok plugin install EveryInc/compound-engineering-plugin
Devin CLISkills appear as /compound-engineering: in a new session.
devin plugins install EveryInc/compound-engineering-plugin
Factory DroidDroid converts the Claude Code plugin format automatically.
droid plugin marketplace add https://github.com/EveryInc/compound-engineering-plugin
droid plugin install compound-engineering@compound-engineering-plugin
Qwen CodeInstalled straight from GitHub.
qwen extensions install EveryInc/compound-engineering-plugin:compound-engineering
PiThe pi-subagents package is required for skills that dispatch subagents.
pi install git:github.com/EveryInc/compound-engineering-plugin
pi install npm:pi-subagents
Antigravity CLIVerify with agy plugin list.
agy plugin install https://github.com/EveryInc/compound-engineering-plugin
ClineEnable Skills in Cline settings first and start a new task afterwards.
git clone https://github.com/EveryInc/compound-engineering-plugin
./compound-engineering-plugin/.cline/scripts/install-skills.sh --global

Commands come from the author’s README; check it for changes before you run them.

Questions

What if the hypotheses run out?

After two or three unconfirmed hypotheses or three failed fixes, it stops retrying and investigates why the approach is failing.

Can it run unattended?

Yes. In pipeline or return-to-caller mode it applies only fixes that do not reverse a deliberate decision and returns a fixed status value.

More guides from Compound Engineering

Also in this pack

All 33 skills →

Summary by trendhub. The skill itself lives in EveryInc/compound-engineering-plugin/skills/ce-debug by Every (MIT); read the full, current text there.