debug
FreeNo executable scriptsNot checkedSystematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling, tempted to "try random…
by ohdearquant★ 413 GitHub starsAbout this skill
Debug
Systematic approach to difficult debugging. Research → Orchestrate → Escalate.
Activation Triggers
- Stuck on error after 2-3 failed fix attempts
- Unfamiliar library or dependency version
- Tempted to "try things randomly"
- Complex multi-system interactions
- Error messages that don't match documentation
Anti-Patterns
- Random flailing: Trying fixes without understanding the problem
- Editing generated files: Modifying auto-generated output instead of fixing the source
- Shallow fixes: Adding workarounds without understanding root cause
- Silent struggling: Not asking for help when clearly stuck
- Cheating through: Disabling features or tests instead of fixing them
Workflow Summary
| Phase | Action | Gate |
|---|---|---|
| 1. Research | Check prior runs, search codebase, spawn researcher agent | 2-3 focused queries before any fix attempt |
| 2. Orchestrate | Parallel diagnostic agents via fanout.submit, or a focused agent via agent.submit |
Agent must produce actionable insight |
| 3. Escalate | Generate consultation request with full evidence | Must demonstrate exhaustive research first |
| 4. Document | Write fix to ./notes/debug-log.md |
Only after resolution |
See research-protocol.md for detailed methodology, agent selection table, phase-by-phase MCP calls, and escalation template.
Key Principles
- Research before action: Never try fixes without understanding the problem
- Be specific: Vague queries yield vague answers
- Document attempts: Track what was tried and what happened
- Ask early: Better to ask for help than waste time flailing
- Store the fix: Future sessions will thank present you
Relevant Source Files
These are the CLI-side entry points; read them if you're working inside a lionagi checkout. A plugin install has no access to them — it only sees the MCP server.
lionhub/src/lionhub/serve/cli/agent.py—li agent, the CLI counterpart ofagent.submitlionhub/src/lionhub/serve/cli/orchestrate/fanout.py—li o fanout, the CLI counterpart offanout.submitlionhub/src/lionhub/orchestration/runs.py— run persistence at~/.lionagi/runs/, also readable throughjob.status/job.output
Install debug in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
BashReadGrepGlobWebSearchWebFetchBundled files
FAQ
What does the debug skill do?
Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling, tempted to "try random things", or errors don't match documentation.
How do I install the debug skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the debug skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic