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 zircote-plugins/claude-team-orchestration --skill error-handlinggit clone --depth 1 https://github.com/zircote-plugins/claude-team-orchestrationWrote 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/zircote-plugins/claude-team-orchestration/error-handling)<a href="https://agentmods.dev/skills/zircote-plugins/claude-team-orchestration/error-handling"><img src="https://agentmods.dev/badge/skills/zircote-plugins/claude-team-orchestration/error-handling/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/zircote-plugins/claude-team-orchestration/error-handling"><img src="https://agentmods.dev/badge/skills/zircote-plugins/claude-team-orchestration/error-handling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00047 | $0.01749 |
| Opus 5.5 | $0.00019 | $0.00700 |
| Sonnet 5.5 | $0.00009 | $0.00350 |
| Haiku 4.5 | $0.00005 | $0.00175 |
Grade B, and why
error-handling scanned grade B with 1 finding 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 2mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat ~/.claude/teams/{team}/config.json | jq '.members[] | {name, agentType, backendType}' How it starts
The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Error Handling
Experimental: Agent teams are disabled by default. Enable with
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSin your settings.json or environment.
Debug, recover from, and prevent common agent team errors. Includes hooks for quality enforcement and known limitations.
Related skills:
- Orchestrating - Primitives overview and quick reference
- Team Management - Shutdown and cleanup procedures
- Task System - Task status issues
- Messaging - Message debugging
- Spawn Backends - Backend troubleshooting
Common Errors
| Error | Cause | Solution |
|---|---|---|
| "Cannot cleanup with active members" | Teammates still running | Shutdown all teammates first, wait for approval |
| "Already leading a team" | Team already exists | TeamDelete() first, or use different team name |
| "Agent not found" | Wrong teammate name | Read config.json for actual names |
| "Team does not exist" | No team created | Call TeamCreate() first |
| "team_name is required" | Missing team context | Provide team_name parameter |
| "Agent type not found" | Invalid subagent_type | Check available agents with proper prefix |
Quality Gate Hooks
Use hooks to enforce rules when teammates finish work or tasks complete.
TeammateIdle Hook
Runs when a teammate is about to go idle. Exit with code 2 to send feedback and keep the teammate working.
{
"hooks": {
"TeammateIdle": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "python3 check_teammate_quality.py"
}
]
}
]
}
}
Use cases:
- Verify teammate completed all assigned tasks before going idle
- Run linting or tests on teammate's changes
- Enforce documentation requirements
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 235 lines · 47 tokens per session scan B 98276d513b29
error-handling is a skill published in the GitHub repository zircote-plugins/claude-team-orchestration (15 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 1,749 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
error-handling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| error-handlingzircote-plugins/claude-team-orchestration | Skill | 15 | 2mo ago | MIT | B | 47 | Claude Code |
| investigate-sentry-issuedesplega-ai/agent-swarm | Skill | 1.0k | today | MIT | A | 17 | Claude Code |
| dev-error-handlingjoaoguirunas/team-os | Skill | 6 | 4d ago | MIT | A | 52 | Claude Code |
| dev-debuggingjoaoguirunas/team-os | Skill | 6 | 4d ago | MIT | A | 84 | Claude Code |
| systematic-debuggingNousResearch/hermes-agent | Skill | 261k | yesterday | MIT | A | 16 | Claude Code, Codex |
| a11y-debuggingasgeirtj/system_prompts_leaks | Skill | 71k | 2d ago | CC0-1.0 | A | 50 | Claude Code, Codex |
| observability-langsmithdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 44 | Claude Code, Codex |