dsh-plugin-skill-autoroute

Run one deterministic skill-routing pass on every user instruction, so the skill catalog is consulted before the model answers instead of after it remembers. On the host it scores the live catalog from the instruction's keywords and the catalog metadata, with no LLM or embedding call, and appends a single producer-tagged message to the step: a ranked shortlist by default, the winning SKILL.md body once the score clears a threshold, or an instruction to call a named router skill exactly once. Unrelated instructions stay silent.

Overview

Run one deterministic skill-routing pass on every user instruction, so the skill catalog is consulted before the model answers instead of after it remembers. On the host it scores the live catalog from the instruction's keywords and the catalog metadata, with no LLM or embedding call, and appends a single producer-tagged message to the step: a ranked shortlist by default, the winning SKILL.md body once the score clears a threshold, or an instruction to call a named router skill exactly once. Unrelated instructions stay silent.

Installation

Install from npm

dsh plugin --profile web add dsh-plugin-skill-autoroute

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:SOH4C4759/dsh-plugin-skill-autoroute

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.