Saltar al contenido principal
E

skillroute

erichare/skillroute

Bundle de DeepSeek Harness (dsh) que conecta el enrutador de skills de SkillRoute a tus agentes.

Instalar

dsh plugin --profile web add github:erichare/skillroute

README

SkillRoute — local-first skill routing for agent builders

CI PyPI npm Python 3.11+ License: MIT

15 harnesses · 3 MCP tools · 4 retrieval backends · full SKILL.md bundle indexing · zero runtime dependencies

Install · What you get · Skill Atlas · Trust · Observability · How it works · Docs

Built on the Agent Skills open standard. Every bundle SkillRoute indexes is checked against the specification, and the standalone validator doubles as a CI gate for skill authors.

Most agents choose a skill from a one-line description and hope for the best. SkillRoute treats your skill library like a real corpus: it parses complete SKILL.md bundles — headings, triggers, templates, relationships — ranks them with confidence and source evidence, returns a clarification question instead of a guess when the route is uncertain, and serves the whole thing to any agent over MCP. One SQLite file, no services to run; add the Astra DB backend when you outgrow it.

Skill Atlas mapping 712 skills as an interactive galaxy, with facet filters, relationship types, and a live route preview

Skill Atlas — every skill in your library on one interactive map, with live route previews.

Install

Three ways in — pick one.

Quick start — one-line install Install from PyPI or npm Wire up your agent — 15 harnesses

One-line installer

curl -fsSL https://raw.githubusercontent.com/erichare/skillroute/main/scripts/install.sh | bash

Confirms each step before it runs: clones or updates SkillRoute, installs dependencies, builds the MCP server and Skill Atlas, indexes starter skills, then detects your agent clients and offers setup for each one (JSON edits are backed up first). Add -s -- --yes for unattended installs.

From PyPI or npm

uv tool install "skillroute[ui]"     # or: pipx install "skillroute[ui]"
skillroute index --root ./skills
skillroute route "Build an MCP server that exposes routing tools"

Zero-install works too — uvx --from skillroute skillroute route "…". The MCP server is published separately as @skillroute/mcp-server if you want to run it straight from npm.

Ranked route output with confidence, reasons, and evidence

Actual text output
Ranked skills:
1. mcp-server-patterns (mcp-server-patterns-99fdd0b3d944c32a) confidence=0.3563
   Build MCP servers with Node and TypeScript using tools, resources, Zod schemas, and stdio transport.
   reason: Matched request terms against skill name, description, tags, or excerpts.
   reason: local-token retrieval returned this skill as a candidate.
   reason: Skill graph relationships provide supporting context.
   evidence[description]: Build MCP servers with Node and TypeScript using tools, resources, Zod schemas, and stdio transport.
   evidence[headings]: MCP Server Patterns; When to Use
2. python-testing (python-testing-19ef6ae9ced445b2) confidence=0.1373
   Test Python applications with pytest fixtures, parametrization, temporary paths, and regression coverage.
   ...

The default catalog lives at ~/.skillroute/catalog.db. A .skillroute/catalog.db in the working directory is used instead when one already exists, so existing project catalogs keep working; point elsewhere with --catalog <path> or SKILLROUTE_CATALOG_PATH.

Wire up your agent

The bundled MCP server exposes three tools over stdio — skillroute.route, skillroute.search, and skillroute.inspect_skill. One command writes the config for your harness:

skillroute harness install claude-code
skillroute harness detect        # what is installed here
skillroute harness list          # everything SkillRoute knows about

amp · claude-code · claude-desktop · codex · cursor · deepseek · gemini-cli · goose · hermes · ibm-bob · opencode · pi · vscode · windsurf · zed

Each one is a single declarative manifest in harnesses/, so adding a new tool is usually a data change with no Python — see Harness Packs.

DeepSeek Harness — installs as a bundle instead
dsh plugin --profile web add @skillroute/dsh-plugin

The bundle registers SkillRoute's MCP server through dsh's built-in @deepseek-ai/dsh-mcp-client, giving agents mcp__skillroute__route, mcp__skillroute__search, and mcp__skillroute__inspect_skill. The Python core is zero-install when uv is present (the bridge runs uvx --from skillroute); otherwise pipx install skillroute once. See dsh-plugin/README.md.

What you get

ComponentWhat it doesShips in
CLI skillrouteIndex, route, search, inspect, validate, traces, evals, harness setupPyPI wheel
MCP serverThree stdio tools: route · search · inspect_skillnpm @skillroute/mcp-server, bundled in the wheel
Skill AtlasFastAPI + React Flow graph explorer, facet nebula and matrix viewswheel, [ui] extra
Harness packs15 declarative manifests, 6 install modes (mcp · acp · skills · hook · extension · router_skill)wheel
Retrieval backendslocal token · SQLite FTS5 (BM25) · Astra DB Data API · LangChain adapterwheel
Spec validatorAgent Skills compliance check, usable as a CI gatewheel
DeepSeek bundledsh plugin wiring the MCP server into DeepSeek Harnessnpm @skillroute/dsh-plugin

Zero runtime dependencies. Routing, indexing, search, and harness setup are stdlib-only. FastAPI and uvicorn live in the ui extra, so an install that never opens the Skill Atlas never fetches a Rust extension.

Spec compliance

skillroute validate examples/skills               # report
skillroute validate --strict                      # fail on warnings too
skillroute index --root examples/skills --strict  # refuse non-compliant bundles
Spec check (https://agentskills.io/specification): 4 bundles, 0 errors, 0 warnings

See Spec Compliance for the full rule set.

Trust

Spec compliance is a correctness check, not a security one — a bundle can be perfectly valid and still tell your agent to read ~/.aws/credentials. A skill's body is instructions the model obeys, so a skill library is a supply chain, and the nastiest failure is the rug-pull: a bundle you reviewed is edited later, its name and description untouched, and nothing in the index looks different.

toolprint closes that gap. It hashes each bundle — frontmatter and body — into a committed lockfile, and scans the prose for injection patterns:

npx toolprint pin  --skills ./skills     # commit toolprint.lock
npx toolprint scan --skills ./skills     # a body-only edit now fails

SkillRoute gates itself the same way: toolprint.lock pins this repo's own MCP server and example skill library, and CI verifies both on every pull request. See Security.

Skill Atlas

Your whole library, mapped. Facet nebula, skill graph, and matrix views; filters for domains, relationship types, orphans, and conflicts; a detail panel with excerpts and source references; and a route preview bar that highlights the chosen path through the graph.

skillroute ui

Route observability

Every route is a trace you can replay: inputs, candidates, scores, and the evidence behind each decision. Golden-route evals keep your catalog honest as it grows.

Backend status and route trace inspection

skillroute traces list
skillroute eval run --fresh --index-root examples/skills --cases examples/evals/golden_routes.json

How it works

flowchart LR
    A["SKILL.md bundles"] --> B["Indexer<br/>parser + metadata review"]
    B --> C[("SQLite catalog<br/>skills · excerpts · graph · traces")]
    C --> D["Router<br/>lexical + retrieval + graph signals"]
    D --> E["CLI"]
    D --> F["Skill Atlas UI"]
    D --> G["MCP server"]
    G --> H["Your agent"]
  • Python core — parsing, catalog persistence, hybrid routing, evals, CLI.
  • Skill Atlas — FastAPI server + React Flow frontend, bundled into the Python wheel.
  • MCP server — TypeScript stdio transport around the Python bridge.
  • Backends — local token retrieval by default; SQLite FTS5 (BM25) for larger local libraries, Astra DB Data API and a LangChain-compatible adapter when you want more.

CLI at a glance

CommandWhat it does
skillroute index --root <dir>Parse and index SKILL.md bundles
skillroute route "<request>"Ranked skills with confidence and evidence
skillroute search "<query>"Hybrid search across the catalog
skillroute inspect <skill>Metadata, relationships, excerpts, sources
skillroute validate [paths]Check bundles against the Agent Skills spec
skillroute traces listInspect past routing decisions
skillroute eval runGolden-route evals against expected outcomes
skillroute statsRouting quality and skill-library health
skillroute backend statusRetrieval backend health
skillroute harness listEvery harness SkillRoute supports, and its modes
skillroute harness install <harness>Configure a harness to use SkillRoute
skillroute uiLaunch the Skill Atlas

Docs

Guide
Getting StartedIndex, route, and inspect in five minutes
Spec ComplianceValidate bundles against the Agent Skills spec
SecurityThreat model, and pinning skills against rug-pulls
Harness PacksSupported harnesses, install modes, and how to add one
Agent SetupWire SkillRoute into your agent clients
MCP ServerTools, transport, and configuration
Skill Atlas UIThe graph explorer in depth
Route ObservabilityTraces and debugging routes
Golden Route EvalsKeep routing quality measurable
Metadata OverlaysCurate tags without editing sources
Astra Data API BackendRemote vector retrieval
ChangelogRelease history
Development — dev setup, checks, contributing
uv sync --extra dev   # dev includes the `ui` extra
uv run --extra dev pytest --cov=skillroute
uv run --extra dev ruff check . && uv run --extra dev mypy

In a checkout, every skillroute … command above becomes uv run skillroute …. See CONTRIBUTING.md for the full dev setup (web UI, MCP server) and the release process, and SECURITY.md for reporting vulnerabilities.


MIT © Eric Hare — for people who take their skill libraries seriously.

Plugins relacionados