Universal Debug Mode Skill — AI skill for Claude Code
Evidence-driven debugging skill for AI agents: generate competing hypotheses, instrument with isolated runtime probes, confirm or reject against real logs, then clean up.
How to install Universal Debug Mode Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open heiets/universal-debug-mode-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Universal Debug Mode Skill does
Evidence-driven debugging skill for AI agents: generate competing hypotheses, instrument with isolated runtime probes, confirm or reject against real logs, then clean up. Works with Claude Code, Cursor, or any agent that reads SKILL.md.
Alternatives in AI
- Cc Mirror — Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, LiteLLM) 2.1k ★
- Dotai — The ultimate AI development stack, including Claude Code, Task Master, and Curso 1.1k ★
- Embeddedskills — An open-source collection of embedded development and debugging skills for Claude Code, Copilot, TRAE, and oth 593 ★
README
Debug Mode — an agent skill for evidence-driven debugging
An [Agent Skill](https://code.claude.com/docs/en/skills) that stops your AI agent from guessing at bugs.
Instead of reading source code and proposing a plausible-looking fix, the agent forms competing hypotheses, instruments your code with probes that stream to an isolated local log sink, asks you to reproduce the bug, and then **confirms or rejects each hypothesis against real runtime data** before changing a line. When the bug is gone, it removes every probe it added.
Inspired by Cursor's Debug Mode, rebuilt as a portable skill that runs anywhere — Claude Code, Cursor, or any agent that reads `SKILL.md`.
hypothesize → instrument → reproduce → read evidence → fix → verify → clean up
Why
The default failure mode of AI debugging is confident nonsense: the agent reads the code, pattern-matches to a familiar bug, and edits something. If the symptom disappears, everyone assumes it was the cause.
This skill makes that impossible by construction. **No fix may be proposed until a probe has produced runtime evidence confirming a specific hypothesis.** A rejected hypothesis is recorded as a result. A probe that never fires is treated as evidence that the code path did not execute — which is frequently the bug.
Install
Requires Python 3.8+ (standard library only — no pip, no dependencies).
**Claude Code** (personal skill, available in every project):
git clone https://github.com/heiets/universal-debug-mode-skill.git ~/.claude/skills/debug-mode
**One project only:**
git clone https://github.com/heiets/universal-debug-mode-skill.git .claude/skills/debug-mode
**Cursor / other agents:** clone anywhere and point the agent at `SKILL.md`, or copy the folder into whatever skills directory your tool uses. The skill is plain Markdown plus one Python CLI; nothing is Claude-specific.
Verify:
python3 ~/.claude/skills/debug-mode/scripts/debugctl.py --help
Use
D
Related Skills
Autonomous Debugger
Evidence-driven debugging skill for Claude Code and AI coding agents. Investigates codebases, reproduces failu
No No Debug
No-No Debug — Self-evolution system for AI coding assistants. 10 minutes writing code, 2 hours debugging? This
Debug Methodology
Systematic debugging methodology for AI agents and developers. Prevents common anti-patterns like patch-chaini
Debug Log Skill
A debugging discipline + pre-mortem error catalogs for LLM-assisted coding across web, iOS, Android, macOS, Ko
Agentcrumbs
Debug mode for any AI agent. Structured tracing agents add inline, stripped before merge.
Artemis
ARTEMIS turns natural-language instructions into reliable Android automation. It automates end-to-end workflow
Related Agents
Sf Org Verifier
Verifies a Salesforce change in the live org after deployment - smoke probes, data and limit queries, log capt
Tracer
For a bug still unexplained after a fix attempt failed: "I already tried fixing this and it is still broken".
Bd Predict
Writes the S2 prediction. Records a falsifiable quantitative prediction before the simulation runs, and seals