erichare/skillroute

View on GitHub ↗

Local-first skill routing for agent builders — index SKILL.md bundles, get ranked skill plans with confidence and evidence, and serve them to any agent over MCP.

38 ★2 forksPythonUpdated 21d ago

What you need to know

Local-first skill routing for agent builders — it indexes full SKILL.md bundles (headings, triggers, templates, relationships) into a SQLite catalog and routes any request to ranked skills with confidence, reasons, and source evidence, serving three tools to agents over stdio MCP.

Install

curl -fsSL https://raw.githubusercontent.com/erichare/skillroute/main/scripts/install.sh | bash
uv run skillroute index --root examples/skills
uv run skillroute harness install claude-code

Usage

  • Index your skill library first: skillroute index --root <dir> (catalog defaults to ~/.skillroute/catalog.db).
  • Route requests with skillroute route "..." to get ranked skills with confidence, reasons, and evidence.
  • Install one of the 15 harnesses (claude-code, codex, cursor, opencode, gemini-cli, etc.) so the MCP server is wired into your agent.
  • Inspect past routing decisions with skillroute traces list and run golden-route evals with skillroute eval run.

Key features

  • Full-bundle indexing parses complete SKILL.md packages rather than just frontmatter.
  • Explainable routes: every ranked skill carries confidence, reasons, and evidence; uncertain routes return clarification questions instead of guesses.
  • Skill Atlas interactive UI (FastAPI + React Flow) showing the whole library as a graph with live route preview.
  • MCP server (TypeScript stdio) exposing skillroute.route, skillroute.search, and skillroute.inspect_skill.
  • Hybrid routing across backends: default local token retrieval, SQLite FTS5/BM25, or Astra DB / LangChain adapters.
  • Harness packs are declarative manifests, so adding a new tool client is usually data-only (15 harnesses supported, incl. a DeepSeek dsh plugin bundle).

Best for

Teams and builders with large skill libraries who want ranked, explainable, evals-backed skill selection across their coding agents.

Caveats

  • Python 3.11+ required.
  • Routing quality depends on the completeness of the indexed catalog.
  • Astra DB backend is for when you outgrow local SQLite — optional, not the default.
Platforms: LocalClients: Claude Code · Claude Desktop · Codex · Cursor · Windsurf · VS Code · Zed · Gemini CLI · DeepSeek · OpenCode · Goose · IBM Bob · Pi · Hermes · AMP

Reviewed 2026-08-18

Topics

agentsai-agentsclaudedeveloper-toolslocal-firstmcpmodel-context-protocolroutingskillssqlite
Stars
38★
Forks
2
Language
Python
License
MIT
Created
2026-06-25
Last push
2026-08-15