aswathas

Capability Router — AI skill for Claude Code

AI community

Zero-context-cost capability router for AI agents.

How to install Capability Router

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aswathas/capability-router and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Capability Router does

Zero-context-cost capability router for AI agents. Resolves slash commands, applies pinned rules, and learns routes from corrections. A plugin hook, not an MCP server, so it adds zero permanent context.

Alternatives in AI

  • Firecrawl MCP Server — 🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM c 6.1k ★
  • Surface — Show ranked attack surface for a target from its recon manifest + hunt memory 3.8k ★
  • Gh PR Review — GitHub CLI extension that adds full inline PR review comment support — view, navigate, reply to, and resolve r 174 ★

README

Capability Router

Routes a prompt to the right capability: a skill, an MCP tool, a connector tool, or a CLI service. It resolves slash commands exactly, applies rules you pinned, and learns the routes you correct it on.

It is a **hook**, not an MCP server. That is deliberate:

  • An MCP server sends its tool schemas on every request. That is permanent context cost, roughly 120 tokens per turn, forever.
  • A hook sends nothing. Its stdout enters the context only on a turn where it actually fires, and it is about 25 tokens then.

Permanent context cost of this plugin: **zero**.

Numbers

Capabilities catalogued 372 (321 skills, 16 MCP tools, 17 connector tools, 18 CLI services)
Permanent context cost 0 tokens
Injected line about 25 tokens, only on a firing turn
Hook latency about 290 ms, including process start
Regression checks 35, all passing
Bugs found and fixed during the build 6, including one that failed silently

Write-up published on LinkedIn: [1,454 SKILL.md files, 372 capabilities, 0 tokens of permanent context](https://www.linkedin.com/feed/update/urn:li:share:7523850680181342208/)

Documentation

Full documentation, written from scratch, is in [docs/](docs/README.md).

Document What it answers
architecture.md What it is, how it routes, what it costs.
runtime-research.md What was reverse engineered from the agent runtime before any code was written.
build-log.md The chronological build: decisions, dead ends, what changed.
bugs-found.md The six bugs, with symptom, cause, and how each was caught.
antifragility.md The four guards and the confidence arithmetic.
operations.md Install, rebuild, troubleshoot, extend, port.
testing.md The suite, what it covers, what it does not.
[appen