agent-test-delegation

Detects circular dependencies and validates delegation chains in agent configuration files to ensure hierarchy integrity and escalation correctness, based on specified norms and exceptions.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/mvillmow/ml-odyssey --skill agent-test-delegation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-test-delegation
Source: https://github.com/mvillmow/ml-odyssey/tree/main/.claude/skills/agent-test-delegation
Command: npx skills add https://github.com/mvillmow/ml-odyssey --skill agent-test-delegation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? This Skill verifies agent delegation patterns, ensuring proper hierarchy, valid escalation paths, and preventing circular dependencies within the agent system, crucial for robust AI workflow management. It automates complex structural checks, reducing manual review.

Core Features & Use Cases:

  • Delegation Chain Testing: Confirms agents delegate to correct lower-level subordinates, maintaining hierarchical integrity.
  • Escalation Path Validation: Ensures agents can escalate to appropriate higher-level superiors, guaranteeing proper issue resolution.
  • Use Case: After modifying your agent hierarchy, use this skill to test all delegation patterns. It will detect any circular dependencies or invalid level delegations, ensuring your AI system's workflow is sound and preventing operational bottlenecks.

Quick Start: Use the agent-test-delegation skill to test the delegation patterns for the 'implementation-specialist' agent.

Frequently Asked Questions about agent-test-delegation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate agent delegation hierarchies to catch circular dependencies?

Agent delegation validation checks that agents delegate to correct subordinates and escalate to appropriate superiors without circular paths. This Skill parses agent configuration files to detect missing references, inconsistent levels, and invalid delegation chains, reporting actionable diagnostics to ensure hierarchy integrity.

What does it mean when agent escalation paths are invalid?

Invalid escalation paths occur when agents cannot reach proper higher-level superiors for issue resolution. Escalation validation ensures agents reference valid superiors at appropriate levels, preventing bottlenecks and guaranteeing robust AI workflow management across your agent system.

How do I test agent delegation after modifying my hierarchy?

Run delegation chain testing to confirm agents delegate to correct lower-level subordinates and validate escalation to appropriate superiors. This automated structural check detects circular dependencies, level inconsistencies, and reference errors, ensuring your modified AI system workflow remains sound.

Can I detect missing agent references in delegation configurations?

Yes, delegation validation automatically detects missing or inconsistent agent references across configuration files. It validates tree structure by checking that all delegates_to and escalates_to metadata point to valid agents at correct hierarchy levels.

What agent metadata is required for hierarchy validation?

Agent frontmatter must include level, delegates_to, and escalates_to metadata. The Skill extracts these fields from configuration files to validate tree structure, check level consistency, detect circular dependencies, and verify reference validity across your agent system.