skillrouter

A two-stage skill router: coarse filtering via embeddings, then fine-ranking with an LLM to select the top 5 from 977 skills. Chinese queries are automatically translated into English before matching and a triple rejection safeguard is applied; pure informational queries are routed directly to L0 tools to save LLM tokens.

Last repository push
GitHub Stars
3
Forks
0
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "skillrouter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2c22d9847aae083445ab90c55285583fcd8b1b9a2a1a754311c084aac41306f7. Verify the upstream source and version against https://github.com/Lord1Egypt/awesome-skill-forge before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A two-stage skill router: coarse filtering via embeddings, then fine-ranking with an LLM to select the top 5 from 977 skills. Chinese queries are automatically translated into English before matching and a triple rejection safeguard is applied; pure informational queries are routed directly to L0 tools to save LLM tokens.

0 Downloads

Introduction source: third_party · Lord1Egypt · 2.1.2 Reference

SkillPi interpretation

Tasks
Use when a task is non-trivial and no preloaded skill clearly fits, when the user asks which skill to use, or when the user wants to manage, trim or audit a large skill library. Routes to the right skill via search_skills/read_skill and runs skillrouter maintenance commands.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: skillrouter
description: Use when a task is non-trivial and no preloaded skill clearly fits, when the user asks which skill to use, or when the user wants to manage, trim or audit a large skill library. Routes to the right skill via search_skills/read_skill and runs skillrouter maintenance commands.

skillrouter

Only a small core of skills is preloaded in this session. The full library is behind the skillrouter MCP server.

Routing (every non-trivial task)

  1. Use every preloaded skill that fits.
  2. For each distinct part of the task no preloaded skill covers (tests, a migration, the UI, a review), call search_skills with that part's intent as one short phrase (e.g. "postgres migration add index", "landing page conversion audit"). Do not paste the whole prompt.
  3. read_skill(id) every hit whose description matches its part. Usually 1-3 skills; load all that fit, not just the first.
  4. Before starting the work, write one line: Skills: <ids> or Skills: none (<why>). End your final answer with the same line, updated if you loaded more along the way.

skillrouter attaches "Skill check (skillrouter)" notes: on the user's prompt, and mid-task when what you do (editing tests, a Dockerfile, a migration; running docker, kubectl, git rebase) points at a skill. Judge each candidate by its "when" line; load the ones that fit exactly as the note says, copying its hint_id into read_skill so reporting can credit the hint. If a turn did real work after a note without loading a skill or writing the Skills: line, the Stop hook sends it back once to decide. A load is not evidence that the skill was used.

Maintenance commands (run with the host shell)

Use the installed skillrouter binary. For an unpublished source checkout without a global binary, run node /absolute/path/to/skillrouter/dist/src/cli.js with the same arguments; do not fetch an unpublished package with npx.

Need Command
See what each agent preloads and what it costs skillrouter doctor
Rebuild the index after adding skills skillrouter index
Review the core list / add / remove skillrouter core list / core add <id> / core remove <id>
Promote often-read skills to core skillrouter core suggest then core add … then core sync
Move the long tail out of agent folders (dry run first) skillrouter trim then trim --apply
Usage and whether hints helped skillrouter report 7

trim --apply tars each folder into ~/.skillrouter/backups/ first and writes a JSON restore manifest; nothing is deleted except broken symlinks. Always show the dry-run numbers and get a yes before --apply.

Restore from the JSON manifest with skillrouter restore "<manifest.json>" (dry run), then --apply only when authorized. It brings back what trim removed, skill by skill, keeps identical files, and skips and lists skills that changed since the trim; it never overwrites. Do not delete agent folders to restore.

Version history

  1. v1.0.4 GitHub ↗
    Original release notes

    ## What's New ### 6,692 Community Skills Downloaded Real SKILL.md content now embedded in the package — no fetch needed for these: | Source | Downloaded | Total | |--------|-----------|-------| | ClawHub | 5,458 | 69,842 | | skills.sh | 706 | 19,938 | | LobeHub | 476 | 505 | | gstack | 52 / 52 | ✅ 100% | **3,231 total skills with full offline content** (up from 160 in v1.0.3). For the remaining ~87k skills, use `fetch=True` to pull on demand. ### No Bulk Download Required ```python from forge_skills import load # Works offline (downloaded) skill = load('ASO Playbook') print(skill.prompt) # Fetch any other skill on demand skill = load('Any Other Skill', fetch=True) print(skill.prompt) ``` ```bash forge show 'ASO Playbook' # offline forge show 'Any Skill' --fetch # on demand ``` ## Install ```bash pip install awesome-skill-forge npm install awesome-skill-forge ```

  2. v1.0.3 GitHub ↗
    Original release notes

    ## What's New ### CLI: `forge show <name> --fetch` Search across 90,896 skills and download any community skill content on demand — no bulk download needed. ```bash # Search forge search "kubernetes" --limit 10 forge search "solidity" --source ClawHub # Download any skill on demand forge show "ASO Playbook" --fetch forge load "Docker Mirror" --fetch --json ``` ### Python API ```python from forge_skills import search, load results = search("kubernetes", limit=10) skill = load(results[0]["name"], fetch=True) print(skill.prompt) ``` ### JavaScript API ```javascript const { search, load } = require('awesome-skill-forge') const results = search('solidity', { limit: 10 }) const skill = await load(results[0].name, { fetch: true }) console.log(skill.prompt) ``` ### Fetch Sources | Source | Skills | Method | |--------|--------|--------| | ClawHub | 69,842 | ZIP download via API | | skills.sh | 19,938 | GitHub API | | LobeHub | 505 | GitHub raw JSON | | gstack | 52 | GitHub tree API | Set `GITHUB_TOKEN` for higher rate limits on GitHub-based sources. ## Install ```bash pip install awesome-skill-forge npm install awesome-skill-forge ``` ## Links - [PyPI](https://pypi.org/project/awesome-skill-forge/1.0.3/) - [npm](https://www.npmjs.com/package/awesome-skill-forge) - [REGISTRY.md](REGISTRY.md)

Current listing version

2.1.2

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决大规模技能库(977个)下的精准路由痛点,具备高实用价值
  • 两阶段筛选+三重拒选防线设计有效降低LLM token浪费
Trigger Precision80/100

Areas to improve

  • 触发词主观性 Reported severity: Minor

    "non-trivial task" 存在一定主观判断空间

    Recommendation: 可补充更具体的量化标准(如涉及多个子系统/需跨技能协作等)

Highlights

  • 触发条件覆盖典型场景(技能选择、库管理、审计)
  • 边界定义基本清晰,支持多种用户意图变体
Structure and Standards90/100

Areas to improve

  • 缺少独立When to Use章节 Reported severity: Minor

    虽在Routing部分隐含了使用场景,但未显式列出When to Use

    Recommendation: 建议在Routing前增加显式When to Use小节以提升可读性

Highlights

  • Phase划分清晰(Routing/Maintenance),步骤完整
  • 包含端到端执行记录机制(Skills: <ids>行)和详细维护命令表
Execution Reliability95/100

Highlights

  • 关键操作均配备dry-run机制和备份策略(trim/restore)
  • 不可逆操作明确要求人工确认(--apply前需yes授权)
  • 恢复流程安全(跳过已修改文件,不覆盖现有内容)
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 21

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.