agent-dispatch
Skill4 starsChanged 9 months agoMITView on GitHub
Lightweight agent registry and JIT router. Consult BEFORE performing specialized work such as code review, security audit, debugging, refactoring, performance optimization, infrastructure, data analysis, API design, testing, documentation, or any domain-specific engineering task. Maps tasks to specialized subagents, downloading them on demand if not installed locally.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- bennybuoy/hermes-heraldtheir own version, first seen Nov 15, 2026
- 0xUrsanomics/utopia-ostheir own version, first seen Nov 1, 2026
- Adonis0123/adonis-skillstheir own version, first seen Nov 1, 2026
- fanglinwei/agent-dispatchtheir own version, first seen Oct 25, 2026
- GGGODLIN/gggodlin-cc-harnesstheir own version, first seen Oct 20, 2026
- NinjaSln-labs/agent-skillstheir own version, first seen Oct 13, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- GGGODLIN/gggodlin-cc-harness★ 73same name
- bennybuoy/hermes-herald★ 16same name
- Adonis0123/adonis-skills★ 5same name
- 0xUrsanomics/utopia-os★ 3same name
- Octonove/agent-dispatch★ 3same name
- jjuniper-dev/skills★ 2same name
- NinjaSln-labs/agent-skills★ 1same name
- SwimmingLiu/easy-skills★ 1same name
- fanglinwei/agent-dispatch★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
When you encounter a specialized task, follow these steps in order.
- Distinctive: line 25
If no keyword matches, do the work yourself.
- Distinctive: line 29
Check if the agent file exists locally:
- Distinctive: line 33
If the file exists, skip to step 4.
- Distinctive: line 50
Do the work yourself. Do not retry.
- Very specific: line 52
Validation: if the downloaded file does not start with --- (YAML frontmatter), treat it as corrupt, delete it, and handle the task yourself.
- Very specific: line 56
Read the agent file. Extract everything after the YAML frontmatter (after the second --- line).
- Distinctive: line 58
Use a general-purpose subagent with the full prompt inline — do not reference the agent by registered name.
- Distinctive: line 62
When the Task completes, relay its output to the user in the main conversation.
- Distinctive: line 96
If your platform does not have a programmatic dispatch tool, instruct the user to invoke the agent manually and pause until it completes.
- Distinctive: line 102
If you are offline, agents not already cached will be unavailable — handle the task yourself
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent dispatch
You have access to a registry of 130+ specialized subagents. Before doing specialized work yourself, check this index and dispatch to the appropriate agent. If the agent is not installed locally, download it on the fly.
JIT dispatch procedure
When you encounter a specialized task, follow these steps in order.
Step 1: index lookup
Scan the agent index at the bottom of this file. Format: keyword = "agent-name:category".
Extract the agent name (before the colon) and category key (after the colon).
If no keyword matches, do the work yourself.
Step 2: check local cache
Check if the agent file exists locally:
ls "${AGENTS_DIR:-$HOME/.claude/agents}/AGENT_NAME.md" 2>/dev/nullIf the file exists, skip to step 4.
Step 3: download the agent
Construct the download URL from these parts:
- Base:
https://raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/categories - Directory: look up the category key in the mapping below
- File:
AGENT_NAME.md
Download:
mkdir -p "${AGENTS_DIR:-$HOME/.claude/agents}" && curl -sfL "URL" -o "${AGENTS_DIR:-$HOME/.claude/agents}/AGENT_NAME.md"If download fails (non-zero exit or empty file):
- Run:
rm -f "${AGENTS_DIR:-$HOME/.claude/agents}/AGENT_NAME.md" - Tell the user: "Could not download AGENT_NAME — handling this task directly."
- Do the work yourself. Do not retry.
Validation: if the downloaded file does not start with --- (YAML frontmatter), treat it as corrupt, delete it, and handle the task yourself.
Step 4: read and dispatch
Read the agent file. Extract everything after the YAML frontmatter (after the second --- line).
Pass that full text as the prompt to the Task tool, prepending the specific work request.
Use a general-purpose subagent with the full prompt inline — do not reference the agent by registered name.
Step 5: return results
When the Task completes, relay its output to the user in the main conversation. The downloaded agent file stays cached in the agents directory for future sessions.
When to skip dispatch
- The task is trivial (one-liner, quick fix, simple question)
- You need tight back-and-forth with the user
- The task spans multiple domains simultaneously
- The user explicitly asks you to handle it directly
Category directory mapping
| Key | Directory |
| core | 01-core-development |
| languages | 02-language-specialists |
| infra | 03-infrastructure |
| quality | 04-quality-security |
| data | 05-data-ai |
| devex | 06-developer-experience |
| domains | 07-specialized-domains |
| business | 08-business-product |
| meta | 09-meta-orchestration |
| research | 10-research-analysis |
Platform-specific paths
| Platform | Agent location | Dispatch mechanism |
| Claude Code | ~/.claude/agents/ | Task tool with inline prompt |
| OpenClaw | ~/.openclaw/workspace/ | sessions_spawn tool |
| Cursor | .cursor/agents/ | Agent invocation |
| Codex | .codex/agents/ | Agent invocation |
If your platform does not have a programmatic dispatch tool, instruct the user to invoke the agent manually and pause until it completes.
Known limitations
- Each keyword maps to exactly one agent (TOML requires unique keys)
- Downloaded agents are cached permanently; delete manually to force re-download
- If you are offline, agents not already cached will be unavailable — handle the task yourself
Agent index
Scan by keyword. Format: keyword = "agent-name:category".
# -- Code quality -----------------------------------------------
review = "code-reviewer:quality"
refactor = "refactoring-specialist:devex"
lint = "code-reviewer:quality"
code-quality = "code-reviewer:quality"
simplify = "refactoring-specialist:devex"
dead-code = "refactoring-specialist:devex"
# -- Security ---------------------------------------------------
security = "security-auditor:quality"
vulnerability = "security-auditor:quality"
owasp = "security-auditor:quality"
secrets = "security-auditor:quality"
penetration = "penetration-tester:quality"
audit = "security-auditor:quality"
compliance = "compliance-auditor:quality"
ad-security = "ad-security-reviewer:quality"
# -- Debugging and errors ---------------------------------------
debug = "debugger:quality"
error = "error-detective:quality"
stacktrace = "debugger:quality"
crash = "debugger:quality"
troubleshoot = "debugger:quality"
# -- Testing ----------------------------------------------------
test = "qa-expert:quality"
e2e = "test-automator:quality"
unit-test = "test-automator:quality"
integration = "test-automator:quality"
accessibility = "accessibility-tester:quality"
# -- Performance ------------------------------------------------
performance = "performance-engineer:quality"
optimize = "performance-engineer:quality"
profiling = "performance-engineer:quality"
bottleneck = "performance-engineer:quality"
chaos = "chaos-engineer:quality"
# -- Architecture and design ------------------------------------
api-design = "api-designer:core"
architecture = "architect-reviewer:quality"
microservices = "microservices-architect:core"
graphql = "graphql-architect:core"
websocket = "websocket-engineer:core"
# -- Frontend ---------------------------------------------------
react = "react-specialist:languages"
nextjs = "nextjs-developer:languages"
vue = "vue-expert:languages"
angular = "angular-architect:languages"
ui = "ui-designer:core"
frontend = "frontend-developer:core"
electron = "electron-pro:core"
# -- Backend ----------------------------------------------------
backend = "backend-developer:core"
django = "django-developer:languages"
rails = "rails-expert:languages"
spring = "spring-boot-engineer:languages"
laravel = "laravel-specialist:languages"
dotnet = "dotnet-core-expert:languages"
# -- Languages --------------------------------------------------
typescript = "typescript-pro:languages"
javascript = "javascript-pro:languages"
python = "python-pro:languages"
rust = "rust-engineer:languages"
golang = "golang-pro:languages"
java = "java-architect:languages"
kotlin = "kotlin-specialist:languages"
swift = "swift-expert:languages"
cpp = "cpp-pro:languages"
csharp = "csharp-developer:languages"
elixir = "elixir-expert:languages"
php = "php-pro:languages"
sql = "sql-pro:languages"
flutter = "flutter-expert:languages"
powershell = "powershell-7-expert:languages"
# -- Infrastructure ---------------------------------------------
docker = "docker-expert:infra"
kubernetes = "kubernetes-specialist:infra"
terraform = "terraform-engineer:infra"
terragrunt = "terragrunt-expert:infra"
cloud = "cloud-architect:infra"
aws = "cloud-architect:infra"
azure = "azure-infra-engineer:infra"
cicd = "deployment-engineer:infra"
devops = "devops-engineer:infra"
sre = "sre-engineer:infra"
platform = "platform-engineer:infra"
network = "network-engineer:infra"
incident = "devops-incident-responder:infra"
database = "database-administrator:infra"
# -- Data and AI ------------------------------------------------
data-analysis = "data-analyst:data"
data-eng = "data-engineer:data"
data-science = "data-scientist:data"
machine-learning = "machine-learning-engineer:data"
ml-ops = "mlops-engineer:data"
llm = "llm-architect:data"
nlp = "nlp-engineer:data"
prompt-eng = "prompt-engineer:data"
postgres = "postgres-pro:data"
db-optimize = "database-optimizer:data"
# -- Developer experience ---------------------------------------
documentation = "documentation-engineer:devex"
cli = "cli-developer:devex"
build = "build-engineer:devex"
dependencies = "dependency-manager:devex"
git-workflow = "git-workflow-manager:devex"
dx = "dx-optimizer:devex"
legacy = "legacy-modernizer:devex"
mcp = "mcp-developer:devex"
tooling = "tooling-engineer:devex"
# -- Specialized domains ----------------------------------------
blockchain = "blockchain-developer:domains"
fintech = "fintech-engineer:domains"
gamedev = "game-developer:domains"
iot = "iot-engineer:domains"
embedded = "embedded-systems:domains"
payments = "payment-integration:domains"
seo = "seo-specialist:domains"
mobile = "mobile-app-developer:domains"
# -- Business and product ---------------------------------------
product = "product-manager:business"
project = "project-manager:business"
technical-write = "technical-writer:business"
ux-research = "ux-researcher:business"
scrum = "scrum-master:business"
business = "business-analyst:business"
# -- Orchestration ----------------------------------------------
coordinate = "multi-agent-coordinator:meta"
organize = "agent-organizer:meta"
workflow = "workflow-orchestrator:meta"
distribute = "task-distributor:meta"Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

