"Has python_exec + read_file tools — use for debugging code, tracing errors, and fixing bugs. Best model: deepseek-v4-flash."
Install
npx skillscat add adilfaisal01/llm-multiagent-swarm/code-debug Install via the SkillsCat registry.
SKILL.md
Code Debug
When to Use
Questions involving debugging code, understanding an error or traceback, or fixing a bug. The worker reads the code, reproduces the error, isolates the cause, and proposes a fix.
Workflow
- If there is an attached file, CALL read_file NOW to get the code.
- CALL python_exec to REPRODUCE the error. Do NOT guess the cause.
- Isolate the failing line/expression. Log the error and your hypothesis with scratchpad_add.
- Use web_search and web_extract to look up the error message, library docs, or known issues.
- Then state the ROOT CAUSE CLEARLY at the TOP of your response.
- Then give the FIX with corrected code, and explain why it works.
- NEVER guess the cause. You MUST call python_exec to reproduce the error.
- Be precise. Quote the exact error message and the exact fix.
Running under swarm
python3 -m swarm --goal "Debug this code [ATTACHED FILE: /path/to/buggy.py]. It crashes with IndexError."Running under Hermes
Delegate a debugging task with the code-execution + file-reading toolset, instructing the worker to reproduce the error before proposing a fix.