Designing Multi-Agent Systems is the code repository for a book that teaches how to build applications in which multiple AI agents collaborate, including a framework called PicoAgents implemented from scratch. Developers and learners use its tested examples to study agent reasoning, orchestration patterns, evaluation, optimization, and deployment.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add victordibia/designing-multiagent-systems --skill debuggit clone --depth 1 https://github.com/victordibia/designing-multiagent-systemsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/victordibia/designing-multiagent-systems/debug)<a href="https://agentmods.dev/skills/victordibia/designing-multiagent-systems/debug"><img src="https://agentmods.dev/badge/skills/victordibia/designing-multiagent-systems/debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/victordibia/designing-multiagent-systems/debug"><img src="https://agentmods.dev/badge/skills/victordibia/designing-multiagent-systems/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.00326 |
| Opus 5.5 | $0.00004 | $0.00130 |
| Sonnet 5.5 | $0.00002 | $0.00065 |
| Haiku 4.5 | $0.00001 | $0.00033 |
Grade A, and why
debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Debug Skill
Debugging Process
1. Reproduce
- Get the exact error message
- Find the minimal steps to trigger it
- Note the environment (Python version, OS, dependencies)
2. Locate
- Read the full stack trace (bottom = where it crashed, top = root cause)
- Find the relevant file and line
- Read surrounding code for context
3. Understand
- What was the code trying to do?
- What input caused the failure?
- What assumption was violated?
4. Fix
- Make the minimal change that fixes the issue
- Don't refactor while debugging
- Add a test that would have caught this
5. Verify
- Run the failing case again
- Run the full test suite
- Check for similar patterns elsewhere
Common Patterns
NoneType errors: Something returned None unexpectedly. Check the call chain.
Import errors: Missing dependency or circular import. Check requirements and import order.
Key/Index errors: Accessing something that doesn't exist. Add existence checks.
Type errors: Wrong type passed. Check function signatures and callers.
Workflow
grepfor the error message in codebase- Read the stack trace bottom-to-top
- Read the failing function
- Add logging/print if needed to trace values
- Fix and verify
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 53 lines · 11 tokens per session scan A 8bc92ef9e526
debug is a skill published in the GitHub repository victordibia/designing-multiagent-systems (1,397 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 11 tokens to every session and 326 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debugvictordibia/designing-multiagent-systems | Skill | 1.4k | 3mo ago | Apache-2.0 | A | 11 | Claude Code, Codex |
| potpie-clipotpie-ai/potpie | Skill | 5.8k | 6d ago | Apache-2.0 | A | 60 | Codex |
| potpie-debug-memorypotpie-ai/potpie | Skill | 5.8k | 6d ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| observal-advancedObserval/Observal | Skill | 4.2k | 16d ago | Apache-2.0 | A | 62 | Claude Code, Codex |
| resolve-handoffomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 23 | Claude Code, Codex |
| google-agents-cli-scaffoldgoogle/agents-cli | Skill | 6.5k | 6d ago | Apache-2.0 | A | 147 | Claude Code |
| verify-omnigentomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 100 | Claude Code, Codex |