process-router
Skill0 starsChanged 5 months agoMITView on GitHub
Read-only router for process questions. Maps a question to the right skill verb, workflow guide, standard, or concept prompt - without duplicating their content. Use when lost, asking how something works, or wanting the next command for planning, implementation, tests, migrations, SPECs, or concepts. Not a catch-all Q&A encyclopedia.
In this repository22 other files it gives its agents.
- ai-directorSkill
- code-implementationSkill
- code-repairSkill
- code-verifySkill
- concept-runSkill
- db-migrationSkill
- deploy-basicSkill
- deploy-filesSkill
- dev-stackSkill
- docsSkill
- feature-specSkill
- infra-terraformSkill
- plan-foundationSkill
- plan-masterSkill
- plan-repairSkill
- plan-syncSkill
- plan-verifySkill
- project-bootstrapSkill
- project-query-setupSkill
- session-controlSkill
- tauri-developmentSkill
- x-directorSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Default: no file writes. Only route / ask / help modes.
- Distinctive: line 24
Escalate: if the question needs execution (create SPEC, run migration, start iteration), name the target skill and stop - do not …
- Very specific: line 25
Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output.
- Very specific: line 53
Read the user question (text after - or remainder of message).
- Very specific: line 57
If the question matches no bucket, say so and route to .ai/START_HERE.md §1 (decision tree) - never invent a skill/path.
- Distinctive: line 58
If the question is ambiguous, ask once with ≤3 multiple-choice options drawn from the table.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
process-router
Read-only orientation. Routes operators to canonical sources. Never writes HANDOFF, NEXT, code, or SPECs. Never embeds normative text from skills/standards - link and quote one line max.
Pairs with: .ai/START_HERE.md (decision tree), .ai/docs/guides/workflows/, registered skills.
Canonical path: .ai/skills/process-router/skill.md · Routing index: reference.md · Human guide: .ai/PROCESS_ROUTER.md
Hard rules:
- Default: no file writes. Only
route/ask/helpmodes. - Source of truth order:
skill.md> standard > guide > this router. If router conflicts, follow the skill. - Evidence: cite path + section when recommending a command.
- Escalate: if the question needs execution (create SPEC, run migration, start iteration), name the target skill and stop - do not impersonate it.
- Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output; approvals under
**Needs your approval:**citingpath:L<n>; questions numbered under**Needs your answer:**; exactly one**Next step:**command; one line when nothing is needed (Form A). Decisions and questions never mixed; empty sections omitted.
Parse invocation
| User says | Mode | Action |
@process-router route - <question> | route | Route protocol |
@process-router ask - <question> | route | alias |
@process-router help | help | List modes + 5 example questions |
@process-router - <question> (no verb) | route | Treat whole message as question |
Aliases: ask, where, how → route.
Step 0 - Pick a mode
| Mode | Action |
| route / ask | Classify question → output Route report |
| help | Output modes + examples; point to reference.md routing table |
Route protocol
- Read the user question (text after
-or remainder of message). - Classify into one primary bucket. The authoritative bucket set is the row list in reference.md § Routing table - match against it directly (e.g.
orient,session,plan-foundation,implement,spec,feature-request,schema,learn, …). Do not maintain a second canonical copy of the bucket list here; if you add a bucket, add the row inreference.md. - Load only the matched row's linked paths (do not read the whole repo).
- Output the route report. If multiple buckets match, list primary first, secondary one line each.
- If the question matches no bucket, say so and route to
.ai/START_HERE.md§1 (decision tree) - never invent a skill/path. - If the question is ambiguous, ask once with ≤3 multiple-choice options drawn from the table.
Route report format
## process-router - <short topic>
**Question:** <paraphrase one line>
### Answer (<3 sentences)
<Plain-language direction - no wall of pasted rules>
### Run next
`<exact @skill verb or read order>`
### Canonical sources
| Kind | Path |
|------|------|
| Skill | … |
| Guide | … |
| Standard | … |
### Snippet (optional, ≤5 lines)
<Minimal command block only when it helps copy-paste>
End the report with the Operator handoff close (Form A `Next: …` or Form B `**Needs your approval:**` / `**Needs your answer:**` / `**Next step:**`) per SKILL_DEPENDENCIES.md.Help protocol
Output:
- One paragraph: process-router is a signpost, not a worker. It tells you which skill or doc to open; that skill does the work.
- Modes:
route,ask,help. - Five examples (from reference.md).
- Link:
.ai/START_HERE.mdfor "what do I do right now?" - End the output with the Operator handoff close (Form A
Next: …or Form B**Needs your approval:**/**Needs your answer:**/**Next step:**) per SKILL_DEPENDENCIES.md.
Anti-patterns
- Answering with long pasted excerpts from standards (link instead).
- Running
code-implementation start, writing SPECs, or updating HANDOFF from this skill. - Inventing skills or paths not in
reference.mdor.ai/skills/README.md. - Replacing
@session-control status/@code-implementation statuswhen user only needs a one-line snapshot - suggest those first for status questions. - Burying operator actions/questions in prose instead of the closing handoff block.
Completion checklist (route mode)
| # | Check | Result |
| 1 | Question classified | pass/fail |
| 2 | Primary skill or doc named | pass |
| 3 | No file writes | pass |
| 4 | Sources cited with paths | pass |
End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md. Any operator-required approval/question surfaced by the checks must ALSO appear in the closing handoff block (enumerated, with path:line), not only in the checklist.
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.

