capability-router
Skill2 starsChanged 28 days agoMITView on GitHub
Use when currently exposed tools and skills cannot cover a concrete action, or a named capability is missing or fails. Find a bounded fallback while preserving the user's product and scope.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- qimen039-code/agent-cognitive-continuity-frameworkword for word, first seen Oct 17, 2026
- microsoft/rayfintheir own version, first seen Oct 13, 2026
- Gaurav890/everything-agentic-engineeringtheir own version, first seen Sep 13, 2026
- microsoft/awesome-rayfintheir own version, first seen May 30, 2026
Other versions4 projects use a version of this.
Word for word · 1
Edited · 0
None found.
Wrote their own version · 3
- microsoft/rayfin★ 646same name
- microsoft/awesome-rayfin★ 108same name
- Gaurav890/everything-agentic-engineering★ 1same 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.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-error-memorySkill
- bug-solution-memorySkill
- shared-semantic-anchorsSkill
- text-source-readerSkill
- troubleshooting-skill-matrixSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Search the current host's focused tool catalogue if available.
- Very specific: line 19
Read the selected current skill/schema.
- Very specific: line 20
If absent, use a supported host refresh once for unchanged state.
- Distinctive: line 22
Keep registered/configured, current_exposed, authenticated, callable, and action_covered separate.
≈ “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
Capability fallback lookup
The model selects the action from the user's goal, actual object, constraints, and side effects. If an exposed tool or skill covers it, use it directly without running a directory lookup.
- Preserve the exact product, project, browser, account surface, and artifact format. Identify the missing action rather than searching the whole task narrative.
Search the current host's focused tool catalogue if available. Otherwise query the local directory once:
python -B scripts/capability_registry.py --response-profile projection --query "<missing action>" --anchor "<exact named surface>"Omit
--anchorwhen none was named. Registration is local metadata, not current exposure. Current host paths and descriptions take precedence over cached plugin files.- Compare candidate action coverage, exposure, authentication, reliability, and cost. Select one primary skill for the action; add another for an independent missing capability. Method skills are optional support.
- Read the selected current skill/schema. Filter
ALL_TOOLSinside the runtime and emit at most eight short rows; load only the selected schema. - If absent, use a supported host refresh once for unchanged state. If none exists, report
host_refresh_required. Do not invent callable tools or substitute another product.
Keep registered/configured, current_exposed, authenticated, callable, and action_covered separate. Unknown states remain unknown. Exact product matches and lexical scores identify candidates; semantic applicability and authorization remain with the model and host.
TTL and fingerprints support fallback lookup. Ordinary tasks need no scan, routing receipt, new rule for each phrasing, or repeated approval. Existing authorization governs the action.
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.

