Agent skill

delegation

This skill configures automatic task delegation between agents in Synapse A2A. Use /delegate to set up rules for routing coding tasks to Codex, research to Gemini, etc. Supports orchestrator mode (Claude coordinates) and passthrough mode (direct forwarding). Includes agent status verification, priority levels, error handling, and File Safety integration.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/delegation

SKILL.md

Delegation Skill

Configure automatic task delegation to other agents based on natural language rules.

Commands

Command Description
/delegate Show current settings or start interactive setup
/delegate orchestrator Set orchestrator mode (Claude coordinates)
/delegate passthrough Set passthrough mode (direct forwarding)
/delegate off Disable delegation
/delegate status Show current configuration and agent status

Modes

Orchestrator Mode (Recommended)

Claude analyzes tasks, delegates to appropriate agent, waits for response, integrates results.

text
User → Claude (analyze) → @codex/@gemini → Claude (integrate) → User

Passthrough Mode

Direct forwarding without processing.

text
User → Claude (route) → @codex/@gemini → User

Manual Mode (Default)

No automatic delegation. User explicitly uses @agent patterns.

Pre-Delegation Checklist

Before delegating any task:

  1. Verify agent is READY: synapse list
  2. Check file locks: synapse file-safety locks (for file edits)
  3. Verify branch: git branch --show-current (for coding tasks)

Priority Levels

Priority Use Case
1-2 Low priority, background tasks
3 Normal tasks (default)
4 Urgent follow-ups
5 Critical/emergency tasks

Available Agents

Agent Strengths Port Range
codex Coding, file editing, refactoring 8120-8129
gemini Research, web search, documentation 8110-8119
claude Code review, analysis, planning 8100-8109

References

For detailed documentation, read:

  • references/modes.md - Delegation modes and workflows
  • references/file-safety.md - File Safety integration
  • references/examples.md - Example sessions and configurations

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results