skill-router

skill-router is a skill for Claude Code, Codex from torakagemusha-sudo/torafirma-skill-router. It costs 44 tokens per session (626 once invoked), scanned A, original, MIT.

A routing skill that searches a large local library of specialized agent skills and loads the exact matching version for a task.

In plain words
What is it for?
Use it when a task may need a specialized capability and the correct local skill must be selected and loaded.
Why use it?
It helps the coding agent find relevant guidance without loading the entire library or relying on an outdated copy.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a task may need a specialized capability and the correct local skill must be selected and loaded.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/torakagemusha-sudo/torafirma-skill-router/skill_router
Install

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.

Any agent
npx skills add torakagemusha-sudo/torafirma-skill-router --skill skill_router
Clone the repo
git clone --depth 1 https://github.com/torakagemusha-sudo/torafirma-skill-router

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for skill-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/torakagemusha-sudo/torafirma-skill-router/skill_router/github.svg)](https://agentmods.dev/skills/torakagemusha-sudo/torafirma-skill-router/skill_router)
Your own site
<a href="https://agentmods.dev/skills/torakagemusha-sudo/torafirma-skill-router/skill_router"><img src="https://agentmods.dev/badge/skills/torakagemusha-sudo/torafirma-skill-router/skill_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.

agentmods 80×15 button for skill-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/torakagemusha-sudo/torafirma-skill-router/skill_router"><img src="https://agentmods.dev/badge/skills/torakagemusha-sudo/torafirma-skill-router/skill_router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00626
Opus 5 $0.00022 $0.00313
Sonnet 5 $0.00009 $0.00125
Haiku 4.5 $0.00004 $0.00063

Measured 10d ago against content hash 902872a10e8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

skill-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 10d 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.

skill-router/skills/skill_router/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

skill-router

This is the single always-loaded interface skill for a large on-disk skill library. Do not enumerate or ingest the complete catalogue. Route internally from the user's ordinary task.

Mandatory protocol

  1. Translate the task into a concise capability query.
  2. Call skill_search.
  3. Inspect the bounded candidates and score explanations.
  4. Select the best eligible skill for the task.
  5. Call skill_fetch with all identity fields returned by that search result:
{
  "skill_id": "selected-skill",
  "expected_revision": "sha256:...",
  "catalog_generation": "sha256:...",
  "context": "the capability query"
}
  1. Load only the returned body and continue the original task.
  2. Do not ask the user to choose a skill unless the underlying task itself is genuinely ambiguous and requires domain clarification.

Identity rule

A bare skill_id is not an immutable body identity. Treat the selected skill as:

(skill_id, skill_version, revision_id, catalog_generation)

Never omit expected_revision or catalog_generation in the consumer path. If fetch reports a revision or generation mismatch, repeat search against the current catalogue. Do not retry with an unpinned bare fetch.

Temporal rule

Once fetched, keep that exact revision for the current task. Do not silently hot-reload a newly published revision into an in-flight context. Refresh only through a new search and exact fetch.

Ranking interpretation

The active policy is tf.skillrouter.hybrid-lexical.v1. It combines:

  • exact token tiers: keywords 3.0, name 2.0, description 1.0;
  • FTS5 Porter-stemmed/prefix relevance weighted 0.6;
  • bounded edit-distance fuzzy relevance weighted 0.35;
  • a capped historical suggestion-to-fetch multiplier;
  • lifecycle penalties;
  • lexical skill_id tie-breaking.

It is deterministic and explainable. It does not use embeddings or a learned classifier.

Consumer boundary

Normal agent use is read-only with respect to the catalogue and skill files. Runtime telemetry is written separately. Registration, indexing, deprecation, archival, and publication are operator functions and must not be invoked from the normal per-task agent loop.

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 10d ago First seen · 69 lines · 44 tokens per session scan A 902872a10e8f

Subscribe to this mod's changes

skill-router is a skill published in the GitHub repository torakagemusha-sudo/torafirma-skill-router (16 stars, last pushed 26d ago), licensed MIT. It adds 44 tokens to every session and 626 once invoked, about $0.0002 per session on Opus 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-30.

Related

Other skills, from other repositories

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

skillshare-codebase-audit

Cross-validate CLI flags, docs, tests, and targets for consistency across the codebase. Use this skill whenever the user asks to: audit the codebase, check for consistency issues, find undocumented flags, verify test coverage, validate targets.yaml, check handler split conventions, or verify oplog instrumentation.…

runkids/skillshare · 106 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

skillshare-update-docs

Update website docs to match recent code changes, cross-validating every flag against source. Use this skill whenever the user asks to: update documentation, sync docs with code, document a new flag or command, fix stale docs, or update the README. This skill covers all website/docs/ categories (commands, reference…

runkids/skillshare · 123 tokens