An Agent Skill that brings Cursor's Debug Mode to any skills-compatible agent. Hypothesis-driven debugging with runtime log collection.
You Agent Your App
| | |
| "login is broken" | |
|---------------------->| |
| | generates hypotheses |
| | instruments code |
| |------------------------>|
| | |
| reproduce the bug | |
|----------------------------------------------> |
| | <-- logs flow back |
| | |
| "fixed!" | analyzes, patches |
|<----------------------| |
The Loop:
- Describe the bug
- Agent generates hypotheses & instruments code with logging
- You reproduce the bug
- Agent analyzes runtime logs—no assumptions, only evidence
- Agent applies minimal fix backed by log data
- You verify
- Agent cleans up all instrumentation
Core principle: Never assume. Collect evidence. Validate hypotheses. Conclude from data.
Uses tmux for server lifecycle management:
debug-log-server- Zero-dependency Node.js HTTP server collecting logs from your appdebug-dev-server- Your dev server (npm run dev,python manage.py runserver, etc.)
Logs POST to localhost:1337 from browser or server code. Works with JS/TS, Python, Go.
tmux- server lifecycle managementnode- runs the log collection server (zero dependencies)
Via npx:
npx skills add ethanfann/debug-modeVia simba:
simba add ethanfann/debug-modeManual:
cp -r skills/debug-mode ~/.claude/skills/Just describe your bug. The skill activates when debugging needs runtime inspection:
"The submit button doesn't save the form data"
"API returns 500 but only on the second request"
"State updates but UI doesn't re-render"
I really like Cursor's debug mode and wanted to use it in CLI agents.
Part of the Agent Skills ecosystem