Agent skill · Testing & QA

agent-test-delegation

Test agent delegation patterns to verify hierarchy and escalation paths. Use after modifying agent structure.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/agent/agent-test-delegation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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**:

What's inside
Steps it walks through
  1. When to Use
  2. Quick Reference
  3. What Gets Tested
  4. Validation Rules
  5. Common Issues
  6. References
Ships with 1 file
  • metadata.json
Commands it runs
Test all delegation patterns
python3 tests/agents/test_delegation.py .claude/agents/
Test specific agent delegation
Visualize delegation tree
More from claude-skill-registry
All skills →
About this skill
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.

Keep going