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.
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.
User → Claude (analyze) → @codex/@gemini → Claude (integrate) → User
Passthrough Mode
Direct forwarding without processing.
User → Claude (route) → @codex/@gemini → User
Manual Mode (Default)
No automatic delegation. User explicitly uses @agent patterns.
Pre-Delegation Checklist
Before delegating any task:
- Verify agent is READY:
synapse list - Check file locks:
synapse file-safety locks(for file edits) - 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 workflowsreferences/file-safety.md- File Safety integrationreferences/examples.md- Example sessions and configurations
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?