OpenParable
Skip to content
← Back to skills

Delegation Triggers

Agent Building
delegation-triggers

Delegation Triggers is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Guidelines for when to delegate tasks to sub-agents vs handle directly. Use when deciding whether to use Explore, Plan, or other specialized agents for a task.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/delegation-triggers/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/delegation-triggers, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Delegation Triggers

Decision Tree

Is this task...
    │
    ├─ Multi-file, independent units? ─► Parallel Orchestration
    │                                     (see complex-orchestrator)
    │
    ├─ Deep analysis / reasoning? ─────► Advanced General Purpose (Opus)
    │   ⚠️ High cost - use sparingly
    │
    ├─ Exploration / Research? ────────► Explore Agent
    │
    ├─ Planning / Design? ─────────────► Plan Agent
    │
    ├─ Simple & Direct? ───────────────► Execute Directly
    │
    └─ Unclear scope? ─────────────────► Decompose First

Quick Reference

SignalAgentTrigger Phrases
Multi-fileParallel (complex-orchestrator)"all files", "across codebase", "every X"
Deep analysisAdvanced (Opus)"thoroughly", "しっかり", "implications"
Find/UnderstandExplore"where is", "how does", "find all"
Design/ArchitectPlan"how should I", "design", "best approach"
Simple editDirect"fix", "add field", "update text"

3-Question Test

  1. Enough context? → No: Explore first
  2. Multiple approaches? → Yes: Plan first
  3. Touch 3+ unseen files? → Yes: Explore/Plan first

Parallel Execution

Launch in single message for parallel:

Task({ description: "A", ... })
Task({ description: "B", ... })  // runs parallel with A

For dependencies, use waves:

Wave 1: shared dependency
Wave 2: parallel consumers (after Wave 1)

For detailed examples and anti-patterns, see reference.md