agentleFS
Bbeierle12Bbeierle12/Skill-MCP-Claude/skills/router-template/SKILL.md

router-template

Skill9 starsChanged 6 months agoMITView on GitHub

Template for creating router skills. Use as a starting point when building a new router that dispatches to multiple specialized skills. Copy and customize for your domain.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When multiple signals present, resolve by priority:

    line 37

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

[Domain] Router

Routes to N specialized skills based on task requirements.

Routing Protocol

  1. Classify — Identify primary task type from user request
  2. Match — Find skill(s) with highest signal match
  3. Combine — Most production tasks need 2-4 skills together
  4. Load — Read matched SKILL.md files before implementation

Quick Route

Tier 1: Core (Always Consider)

Task TypeSkillPrimary Signal Words
[task]skill-nameword1, word2, word3

Tier 2: Enhanced (Add When Needed)

Task TypeSkillPrimary Signal Words
[task]skill-nameword1, word2, word3

Tier 3: Reference Only

Task TypeSkillPrimary Signal Words
[task]skill-nameword1, word2, word3

Signal Matching Rules

Priority Order

When multiple signals present, resolve by priority:

  1. Explicit framework — React/Vue/vanilla overrides generic signals
  2. Specific feature — "multi-step wizard" beats generic "form"
  3. Platform constraint — mobile/VR/accessibility takes precedence
  4. Default tier — Fall back to Tier 1 core skills

Confidence Scoring

  • High (3+ signals) — Route immediately
  • Medium (1-2 signals) — Route with Tier 1 defaults
  • Low (0 signals) — Ask user for clarification

Common Combinations

[Scenario Name] (N skills)

skill-1 → [what it provides]
skill-2 → [what it provides]
skill-3 → [what it provides]

Wiring: [one-line integration summary]

[Scenario Name] (N skills)

skill-1 → [what it provides]
skill-2 → [what it provides]

Wiring: [one-line integration summary]

Decision Table

FrameworkScaleFeaturesRoute To
ReactStandardAuth formskill-a + skill-b + skill-c
VueStandardData entryskill-a + skill-d
NoneSimpleBasic formskill-e + skill-b
AnyComplexWizardskill-f + skill-a + skill-b

Fallback Behavior

  • Unknown framework → Use skill with broadest compatibility
  • No clear signals → Ask: "What framework?" and "What's the core requirement?"
  • Conflicting signals → Prefer Tier 1 skills, ask for clarification on Tier 2

Reference

See references/integration-guide.md for:

  • Complete wiring patterns
  • Code examples for all combinations
  • Architecture diagrams
  • Edge case handling

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.