forge-router
Skill2 starsChanged 7 days agoMITView on GitHub
Use first on any /forge or build ask (maak, bouw, fix): team + playbook.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ForgeyClap/claude-forgeedited, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ForgeyClap/claude-forge★ 247% same
Wrote their own version · 0
None found.
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.
In this repository99 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- claude-md-improverSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- forge-a11ySkill
- forge-agent-reportSkill
- forge-agentSkill
- forge-apiSkill
- forge-authSkill
- forge-autoresearchSkill
- forge-botsSkill
- forge-brainstormSkill
- forge-cliSkill
- forge-cmsSkill
- forge-code-reviewSkill
- forge-contextSkill
- forge-councilSkill
- forge-craftSkill
- forge-databaseSkill
- forge-dataSkill
- forge-debugSkill
- forge-deeplearnSkill
- forge-devopsSkill
- forge-docdriftSkill
- forge-doctorSkill
- forge-ecc-adapterSkill
- forge-ecommerceSkill
- forge-electronSkill
- forge-extensionSkill
- forge-figmaSkill
- forge-fullstackSkill
- forge-gameSkill
- forge-graded-verifySkill
- forge-guardianSkill
- forge-heartbeatSkill
- forge-i18n-docsSkill
- forge-intakeSkill
- forge-integrationSkill
- forge-long-form-writingSkill
- forge-mcp-clientsSkill
- forge-memorySkill
- forge-migrationSkill
- forge-mindmapSkill
- forge-mlopsSkill
- forge-mobileSkill
- forge-n8nSkill
- forge-nightshiftSkill
- forge-observabilitySkill
- forge-paymentsSkill
- forge-plan-largeSkill
- forge-prdSkill
- forge-predictionSkill
- forge-projectbrainSkill
- forge-prompt-coachSkill
- forge-qualitySkill
- forge-ragSkill
- forge-registrySkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Self-improvement substrate (wp-skill-evals, 2026-07-31): before applying this skill, read learnings.md in this skill's own folder and honor …
- Very specific: line 21
Step 0 — memory + ECC inventory: read the project profile, memory, task history and ECC mode.
- Very specific: line 40
Run the ONE executable analysis entrypoint FIRST (canonical multi-label source: domain-catalog.json).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Forge router (agent selection)
Self-improvement substrate (wp-skill-evals, 2026-07-31): before applying this skill, read
learnings.md in this skill's own folder and honor its corrections. After a run that produced a
genuine correction (an owner fix, a false assumption caught, a preference stated), append it to
learnings.md with a date and real evidence — never invent a lesson that didn't happen.
You are the router. You do not implement. You output a TEAM PLAN + Project Adaptation block, then hand off to the matching domain playbook. Use the smallest team that fits — never spawn an agent per trivial step.
This file is the always-loaded core: open the doc named for a step before you carry it out, never work from memory of an older, longer version. The /forge core governs project isolation, honesty, the scribe gate, the run contract and the hard gates; nothing here relaxes them. (Full original paragraph: references/routing-checklist.md.)
Core routing checklist (in order)
One line per step; full wording of each step (every command, flag, clause): references/routing-checklist.md.
- Step 0 — memory + ECC inventory: read the project profile, memory, task history and ECC mode; mark
inferred/unknown, never fake. - Step 0-owner: prefs, standing rules, autonomy and owner config in
config/orchestration/precedence.mdorder; only/forge rememberwrites a new active standing rule. - ECC-first: map every role to a real ECC agent/skill; native only as a labeled fallback; tag
runtime. - Step 0a — intake (BUILD, L2+), silent by default: at most ONE owner question; then the PRD is an obligation (
forge-prd.cjs write … --tickets). - Step 0b — Skill Discovery (required before assigning subagents): a skill gap is never ignored; every executable subagent has
skill+skill_source. - Step 1 — classify the domain (run the analyze entrypoint first; table below).
- Step 2 — complexity L1–L4, roster capped by config
team-max. Per package Head Chef sizes it withforge-wpsize.cjs(files touched, new dependency or contract, design ambiguity; the highest tier wins; any security or public-API change is at leaststandard). - Step 3 — domain → team with exact ECC names; specialists only when the stack needs them (
payment-integration,electron-pro). Every phase has a primary and a fallback Boss (references/phase-owners.md); a fallback is named in the package and is never an escalation. - Step 3x — GOAT routing (HARD MUST): Head Chef triage
{route, risk, checks}; every dispatch routed; Verify Boss verifies; ONE escalation; neverescalateup front. - Step 3a — web quality: a website, landing, spa or fullstack builder gets
config/orchestration/web-quality-contract.mdprepended to its dispatch prompt; never completed without a real screenshot. - Step 3b / 3c — opt-in tools: MCP only via
forge-mcp-gate.cjswhen configmcpis on; Wave J tools only when their signal is real. - Step 4 — parallel vs serial: parallelize only independent work, one worktree per parallel writer; you are the integration layer. Hotspot lock protocol:
forge-lock-guard.cjs acquirebefore a hotspot writer,releaseon its terminal event (exit 3 = conflict → serialize or isolate). - Step 5 — review & delivery (
forge-code-revieworder, Codex per config, end withforge-report). Step 6 — load the playbook by name. - Output TEAM PLAN + Project Adaptation; emit work packages with every field and dispatch clause (prompt lint, clarifications check, lesson recall + claude-mem earlier-work recall, live logging).
- Step 4d — WP-dispatch v10 + contract-first: a Verify Boss pass per package; ONE authoritative contract for shared interfaces; nothing is complete until the integration gate passes.
Superpowers precedence: the superpowers start-up text ("invoke any skill with a 1% chance") does not replace this checklist. Inside a Forge task this router and the GOAT route choose the skills; superpowers process skills (brainstorming, systematic debugging, TDD, verification) run inside a route, the project-local Forge copy wins over a plugin duplicate, and a skill that does not fit the route is skipped with one line.
Step 1 — Classify the domain (Quality Intelligence, REQUIRED for BUILD tasks)
Run the ONE executable analysis entrypoint FIRST (canonical multi-label source: domain-catalog.json); the table below is the human fallback:
node .claude/forge-bin/forge-quality.cjs analyze "<de missie>" --log-run <run_id>Consume ALL of its output: profile + playbook, the 10 lenses, omissions, knowledge_cards and council from councilTrigger() (logged as a decision_logged event ALSO when the mode is NONE). If the classifier and this table disagree, the classifier + catalog win. Full output contract: references/routing-checklist.md.
Pick the primary domain (if mixed, pick the primary and attach the secondary playbook):
| Signals / keywords | Domain | Playbook |
| website, landing page, hero, CTA, responsive, UI/UX, a11y, SEO, frontend | Website/frontend | forge-website |
| app, SaaS, backend + frontend + DB, login/auth, CRUD, dashboard with data | Full-stack app | forge-fullstack |
| n8n, workflow, webhook, node, trigger, schedule/cron, automation pipeline | n8n/automation | forge-n8n |
| scrape, crawler, harvest, data collection, lead list, API pull | Scraping/data | forge-scraping |
| chatbot, assistant, RAG, retrieval, embeddings, knowledge base, ingestion | AI chatbot/RAG | forge-rag |
| prediction, forecast, sports, betting, odds, value, backtest, tips | Prediction/data | forge-prediction |
| integration, API, Gmail/Calendar/CRM, OAuth, webhook between apps, sync | Business automation | forge-integration |
| payment, checkout, Stripe/Mollie/Adyen/PayPal, iDEAL, card, PCI, subscription, refund, charge, webhook signature | Payments/billing | forge-payments |
| shop, store, cart, catalog, product/SKU, inventory, order, Shopify/WooCommerce/Etsy, digital product, cashflow | E-commerce | forge-ecommerce |
| electron, desktop app, .exe, installer, preload, IPC, contextIsolation, nodeIntegration, code signing, an accounting desktop app | Electron/desktop | forge-electron |
| voice agent, voicebot, phone, call, telephony, IVR, Twilio/Vapi/Retell, barge-in, Dutch call, outbound | Voice/phone agent | forge-voice |
| agent, LLM app, tool use, function calling, tool schema, prompt injection, jailbreak, eval, benchmark, guardrail, agent loop, MCP tool | Agent / LLM app + evals | forge-agent |
| API, REST, endpoint, route, OpenAPI, Swagger, GraphQL, gRPC, proto, contract test, versioning, idempotency, rate limit, pagination, error envelope, backend | Contract-first API | forge-api |
| bot, Discord, Slack, Telegram, slash command, interaction, webhook, Ed25519, Slack-Signature, bot token, intents, gateway, dead-letter | Chat/messaging bots | forge-bots |
| CLI, command line, argparse, commander, clap, cobra, flag, --help, exit code, stdin/stdout/stderr, pipe, dry-run, shell tool, terminal, subcommand | CLI / dev tool | forge-cli |
| CMS, WordPress, wp-config, theme, plugin, ACF, custom post type, WP-CLI, headless CMS, Contentful, Sanity, Strapi, Payload, content model | CMS | forge-cms |
| data pipeline, ETL, ELT, dbt, warehouse, Snowflake, BigQuery, Redshift, staging, marts, medallion, incremental load, backfill, data quality, lineage, Airflow, Dagster | Data engineering / ETL | forge-data |
| chrome extension, browser extension, MV3, manifest v3, service worker, content script, chrome.runtime, host_permissions, chrome.storage, CSP, CRX, Web Store | Browser extension | forge-extension |
| figma, design to code, mockup, redlines, design tokens, component library, variants, auto-layout, pixel-perfect, breakpoints, dev mode | Design → code | forge-figma |
| game, browser game, canvas, WebGL, Phaser, vanilla JS game, Godot, GDScript, game loop, win state, lose state, sprite, collision, playtest | Games | forge-game |
| migration, modernization, legacy, rewrite, port, upgrade, strangler fig, characterization test, golden master, parity, shadow traffic, dual-write, feature flag, replatform | Legacy modernization | forge-migration |
| mlops, ML pipeline, training pipeline, model registry, MLflow, DVC, feature store, train/serve skew, drift, canary, retraining, rollback, model serving | Production ML / MLOps | forge-mlops |
| mobile, mobile app, React Native, Expo, EAS, Flutter, Dart, iOS, Android, apk, aab, ipa, emulator, simulator, secure storage, App Store, Play Store | Mobile app | forge-mobile |
Dashboards fold into forge-website or forge-fullstack; card handling always folds into forge-payments; pure refactor/audit/debug/research/security-review → no domain playbook (fold-in rules in the reference doc). If no domain matches, default to general-purpose + planner.
Unknown, low-confidence or mixed type: never force-fit; follow references/unknown-project-types.md (classify, discovery brief, provisional card, gate --domain <slug>).
Cross-cutting craft playbooks (not domains; add them per work package on top of the domain playbook when the package touches that area): database/migrations → forge-database; login/sessions/roles → forge-auth; tests/e2e/flaky → forge-testing; security review, secrets, skill/MCP vetting → forge-security-review; WCAG/keyboard/contrast → forge-a11y; speed, Core Web Vitals, SEO → forge-web-quality; CI/CD, Docker, deploy config → forge-devops; logs/tracing/monitoring → forge-observability; translations, README/ADR/API docs → forge-i18n-docs.
Reference index (on-demand, full verbatim wording)
Docs: .claude/docs/forge-reference/router-intake-and-skill-discovery.md (Steps 0–0b) · .claude/docs/forge-reference/router-classify-domain-complexity.md (Steps 1–2) · .claude/docs/forge-reference/router-team-routing-and-goat.md (Steps 3, 3x) · .claude/docs/forge-reference/router-web-quality-mcp-wave-j.md (Steps 3a–3c) · .claude/docs/forge-reference/router-parallel-handoff-review.md (Steps 4–6) · .claude/docs/forge-reference/router-team-plan-and-work-packages.md (TEAM PLAN, work packages) · .claude/docs/forge-reference/router-dispatch-v10-contract-first.md (Step 4d). "Read it when" table: references/routing-checklist.md. Prompt format: PROMPT_TEMPLATE.md (this folder).
Team chat (WP A1, 2026-11-01)
All 12 Bosses hold SendMessage. Use it for a hand-off to the next Boss in a serial pipeline, a blocker for the Lead, or a question to another Boss; give each Boss the receiver's name in its prompt (subagents have no ListAgents). One line per message: [<Boss> -> <Boss|Lead>] <one line> | wp=<id> | run=<id>. Every message is also appended to the run channel team-chat.jsonl: Bosses with a shell run node .claude/forge-bin/forge-say.cjs <run_id> --from "<Boss>" --to "<Boss|lead>" --wp <id> --kind message|handoff|blocker|question "<text>"; Bosses without one list their messages under a TEAM MESSAGES heading and the Lead relays them with --via lead. Read the channel with forge-say.cjs <run_id> --list [--wp <id>]. The Lead stays the integration layer. Detail: .claude/docs/forge-reference/router-parallel-handoff-review.md Step 4c (the TEAM-CHAT note in the dev tree's docs folder forge-systeem holds the full contract).
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.

