Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HelloThisWorld/open-mind --skill capability-routergit clone --depth 1 https://github.com/HelloThisWorld/open-mindWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hellothisworld/open-mind/capability-router)<a href="https://agentmods.dev/skills/hellothisworld/open-mind/capability-router"><img src="https://agentmods.dev/badge/skills/hellothisworld/open-mind/capability-router/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hellothisworld/open-mind/capability-router"><img src="https://agentmods.dev/badge/skills/hellothisworld/open-mind/capability-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.00447 |
| Opus 5.5 | $0.00025 | $0.00179 |
| Sonnet 5.5 | $0.00012 | $0.00089 |
| Haiku 4.5 | $0.00006 | $0.00045 |
Grade A, and why
capability-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Capability router — agent-style invocation with graceful degradation
What it does
Given a natural-language or identifier query, decides which capability should handle it and (optionally) invokes it:
glossary— define a term/acronym,structure— callers/callees, dependencies, modules, flow,search— find code by concept or identifier.
How the decision is made (the engineering point)
- A deterministic if-else classifier always runs first (
_heuristic_route) — the always-available floor (e.g. a bare identifier or "what is X" → glossary; "who calls X" / "dependency graph" → structure; otherwise → search). - If a local model is ready, it is asked to classify into one capability word. Its answer is validated against the capability set and accepted ONLY if valid.
- An unavailable, slow, or off-spec model silently degrades to the deterministic choice. The model can never select a capability outside the known set or override the floor unchecked.
The response is a full trace: {capability, decided_by, deterministic_fallback, reason}
— so the routing is auditable and behaviour never depends on the model being right.
Invocation
- MCP tools:
route(query)(decision + trace),dispatch(scope, query)(route then invoke the capability, returning its result + trace). - REST:
GET /route?query=,GET /dispatch?scope=&query=.
Implementation / verification
openmind/router.py. The deterministic floor is covered by routing a fixed query set
with use_model=False; readiness gating reuses openmind.llm_client.is_ready().
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 36 lines · 62 tokens per session scan A 1e739f75e4b4
capability-router is a skill published in the GitHub repository HelloThisWorld/open-mind (1 stars, last pushed 4mo ago), licensed MIT. It adds 62 tokens to every session and 447 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
capability-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| capability-routerHelloThisWorld/open-mind | Skill | 1 | 4mo ago | MIT | A | 62 | Claude Code, Codex |
| codestory-groundingTheGreenCedar/CodeStory | Skill | 38 | 12d ago | Apache-2.0 | A | 52 | Claude Code, Codex |
| memtrace-firstsyncable-dev/memtrace-public | Skill | 516 | today | none | A | 115 | Claude Code |
| memtrace-style-fingerprintsyncable-dev/memtrace-public | Skill | 516 | today | none | A | 111 | Claude Code |
| memtrace-decision-memorysyncable-dev/memtrace-public | Skill | 516 | today | none | A | 137 | Claude Code |
| memtrace-docssyncable-dev/memtrace-public | Skill | 516 | today | none | A | 125 | Claude Code |
| memtrace-evolutionsyncable-dev/memtrace-public | Skill | 516 | today | none | A | 107 | Claude Code |