
Oracle debug
Walks an agent through root-cause debugging before any permanent fix is applied
Oracle debug is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 53
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Oracle debug
Oracle Debug is a structured debugging method for AI coding agents. It requires the agent to finish a root cause investigation before proposing a fix, and it allows temporary containment first when security, production or data-loss risk is present. The method is organized into four phases: investigation, pattern analysis, ranked hypothesis testing, and implementation.
The investigation phase pushes the agent to build a fast, repeatable pass/fail signal for the bug, using options such as a failing test, a curl script, a CLI run with fixture input, a headless browser script, or a git bisect loop. It also covers tracing data flow across components, checking recent changes, and handling non-deterministic failures with safe reproduction practices. Hypotheses are listed with predictions and tested one variable at a time, and debug logs are tagged with a unique prefix so they can be removed later.
The skill expects the agent to have access to the codebase and its git history. It references a project glossary and ADRs, and points to supporting reference files on common bug patterns and techniques. It also mentions companion skills named oracle-codebase-design and atelier-orchestrator.
When your agent uses it
Disciplined debugging methodology. Triggers on bug reports, test failures, "debug this", "diagnose this", unexpected behavior, build failures, integration issues, or performance regressions. Find root cause before a permanent corrective fix; contain urgent harm safely first.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 3 files (14 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the atelier plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add martinffx/atelier
/plugin install atelier@atelierOr copy only this skill to ~/.claude/skills/oracle-debug:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/oracle-debug &&
cp -R "$tmp/skills/oracle-debug" ~/.claude/skills/oracle-debug &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/oracle-debug inside it instead.
Copy the skill folder to ~/.agents/skills/oracle-debug to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/oracle-debug &&
cp -R "$tmp/skills/oracle-debug" ~/.agents/skills/oracle-debug &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/oracle-debug inside it instead.
Copy the skill folder to ~/.cursor/skills/oracle-debug to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/oracle-debug &&
cp -R "$tmp/skills/oracle-debug" ~/.cursor/skills/oracle-debug &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/oracle-debug inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/martinffx/atelier.git --path skills/oracle-debugOr copy the folder to ~/.gemini/skills/oracle-debug yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/oracle-debug:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/martinffx/atelier.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/oracle-debug &&
cp -R "$tmp/skills/oracle-debug" ~/.copilot/skills/oracle-debug &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/oracle-debug inside it instead.
Get the folder:
git clone --depth 1 https://github.com/martinffx/atelier.gitThen copy atelier/skills/oracle-debug into your agent's skills folder as oracle-debug. Agents that support SKILL.md read one folder per skill.
What it does
- Root cause first
- Blocks permanent fixes until the agent has gathered evidence explaining why the bug happens.
- Reproduction loop building
- Guides the agent to create a fast, deterministic pass/fail signal before reading code.
- Ranked hypothesis testing
- Asks for falsifiable hypotheses with predictions, tested one variable at a time.
- Tagged debug instrumentation
- Tags temporary logs with a unique prefix so they can be found and removed in one pass.
- Failed fix escalation
- Requires returning to investigation after failed fixes and questioning architecture after three attempts.
- Debug summary template
- Provides a closing summary format covering problem, cause, fix, verification and prevention.
Good for
- Diagnose a failing test suite before changing any code
- Track down an intermittent bug that only appears under load
- Find which commit introduced a performance regression
- Investigate a build failure in a multi-package repository
- Debug unexpected behavior at an integration boundary
Oracle debug FAQ
When does the skill trigger?
It triggers on bug reports, test failures, requests such as 'debug this' or 'diagnose this', unexpected behavior, build failures, integration issues and performance regressions.
Does Oracle debug change code automatically?
It requires a failing test before any fix and a single change at a time, but the fix itself is made by the agent following the process.
What happens if the first fixes do not work?
The agent stops, counts failed attempts, returns to investigation below three, and discusses the architecture with the user before a fourth attempt.
Are there scripts included?
No scripts are included; the skill is a methodology document with reference files on bug patterns and techniques.
How do I install Oracle debug in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/oracle-debug to use it in all your projects, or to .claude/skills/oracle-debug in one project. Or install the atelier plugin, which includes it: /plugin marketplace add martinffx/atelier, then /plugin install atelier@atelier.
Does Oracle debug run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Oracle debug?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Oracle debug?
The closest alternatives to Oracle debug are Debug hypothesis, Diagnostic reasoning, Diagnosing bugs, Principle fix root causes and Debug.
Where this comes from
- Description: from the skill's own SKILL.md.
More from martinffx/atelier

Routes an agent to the right planning mode and workflow skill for each task
- Open source
- 53 GitHub stars
- Developer tools

Guides a repo's setup for Atelier's workflow, previewing edits before writing
- Open source
- 53 GitHub stars
- Developer tools

Writes and checks conventional commit messages and guides safe staging before committing
- Open source
- 53 GitHub stars
- Developer tools

Condenses the current conversation into a handoff document for a fresh agent
- Open source
- 53 GitHub stars
- Developer tools

Lets your agent open, read, comment on and merge GitHub PRs or GitLab MRs
- Open source
- 53 GitHub stars
- Developer tools

Reviews a branch or PR for human corrections and proposes repo fixes to prevent them
- Open source
- 53 GitHub stars
- Developer tools





