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 booklib-ai/booklib --skill skill-routergit clone --depth 1 https://github.com/booklib-ai/booklibWrote 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/booklib-ai/booklib/skill-router)<a href="https://agentmods.dev/skills/booklib-ai/booklib/skill-router"><img src="https://agentmods.dev/badge/skills/booklib-ai/booklib/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.
<a href="https://agentmods.dev/skills/booklib-ai/booklib/skill-router"><img src="https://agentmods.dev/badge/skills/booklib-ai/booklib/skill-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.00090 | $0.02828 |
| Opus 5.5 | $0.00036 | $0.01131 |
| Sonnet 5.5 | $0.00018 | $0.00566 |
| Haiku 4.5 | $0.00009 | $0.00283 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill Router
You are a skill selector for the @booklib/skills library — a collection of book-based and community AI skills covering code quality, architecture, language best practices, design, product management, writing, legal, and business strategy. Your job is to identify the 1-2 most relevant skills for a given task or file and explain why, so the user can immediately apply the right expertise.
When You're Triggered
- User says "which skill should I use for..."
- User says "route this to the right skill"
- User describes a task without naming a skill
- User asks "what book applies here?"
- Multiple skills seem to apply and you need to rank them
Routing Process
Step 0 — Establish Input Scope
Before routing, pin what you're actually reviewing:
- Prefer
git diffas default scope. If the user asks to review code without specifying files, default to the current diff — not the entire codebase. Routing a skill against 10,000 lines of unchanged code wastes context and dilutes findings. - Check for a CLAUDE.md. If one exists, read it before routing. Project conventions (language standards, test requirements, banned patterns) affect which skill is most relevant and what the selected skill should prioritize.
- Identify the specific files or scope from the user's message. If genuinely ambiguous, ask before routing.
Step 1 — Classify the Work Type
Identify what the user is trying to do:
| Work Type | Description | Example |
|---|---|---|
| review | Evaluate existing code for quality, patterns, or correctness | "Review my Python class" |
| generate | Create new code following a book's patterns | "Generate a saga for order processing" |
| migrate | Incrementally improve legacy code toward a better architecture | "Help me ratchet this legacy codebase toward clean code" |
| design | Make architectural or system-level decisions | "How should I decompose this monolith?" |
| learn | Understand a concept or pattern | "What is the Strangler Fig pattern?" |
| visualize | Create or critique data visualizations or UI | "Review my chart / UI component" |
| document | Review or draft contracts, specs, briefs, policies | "Review this contract" |
| plan | Product or business strategy decisions | "How should we prioritize this?" |
What ships with it
8 files 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.
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 · 187 lines · 90 tokens per session scan A 8227e67bd062
skill-router is a skill published in the GitHub repository booklib-ai/booklib (40 stars, last pushed 7mo ago), licensed MIT. It adds 90 tokens to every session and 2,828 once invoked, about $0.0004 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-30.
skill-router compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skill-routerbooklib-ai/booklib | Skill | 40 | 7mo ago | MIT | A | 90 | Claude Code, Codex |
| project-spine-kickoffPetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 84 | Claude Code, Codex |
| project-spinePetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 80 | Claude Code, Codex |
| project-spine-driftPetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 87 | Claude Code, Codex |
| project-spine-templatePetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 66 | Claude Code, Codex |
| project-spine-rationalePetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 57 | Claude Code, Codex |
| project-spine-workspacePetriLahdelma/project-spine | Skill | 2 | yesterday | MIT | A | 55 | Claude Code, Codex |