agent-test-delegation
Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure.
npx skills add majiayu000/claude-skill-registry --skill agent-test-delegation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Delegation Testing Verify agent hierarchy, delegation chains, and escalation paths. ## When to Use - After modifying agent hierarchy - Verifying escalation paths work correctly - Troubleshooting delegation issues - CI/CD validation before merge ## Quick Reference ```bash # Test all delegation patterns python3 tests/agents/test_delegation.py .claude/agents/ # Test specific agent delegation ./scripts/test_agent_delegation.sh implementation-specialist # Visualize delegation tree ./scripts/visualize_delegation.sh ``` ## What Gets Tested **Hierarchy levels**: Agents delegate to lower levels, escalate to higher levels **Delegation chains**: L0 → L1 → L2 → L3 → L4 (proper tree structure) **Circular dependencies**: Detect A → B → C → A patterns **Reference validity**: All delegates_to/escalates_to targets exist **Level consistency**: Level values correct and levels don't skip improperly ## Validation Rules | Rule | Example ✅ | Wrong ❌ | |------|-----------|---------| | Delegate downward | L2 → L3 | L3 → L2 | | Escalate upward | L3 → L2 | L3 → L4 | | No circles | A → B, A → C | A → B → A | | Valid refs | Existing agent | Nonexistent agent | ## Common Issues **Circular dependency**:
- When to Use
- Quick Reference
- What Gets Tested
- Validation Rules
- Common Issues
- References
Test all delegation patterns python3 tests/agents/test_delegation.py .claude/agents/ Test specific agent delegation Visualize delegation tree
What does the agent-test-delegation skill do?
Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-test-delegation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
