skillrouter

两阶段技能路由器:先用 embedding 粗筛,再用 LLM 精排,从 977 个技能中选出 top5。中文查询会自动翻译为英文再匹配,并设置三重拒选防线;纯信息类查询直接转至 L0 工具以节省 LLM token。

仓库最近推送
GitHub Stars
3
Forks
0
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "skillrouter":https://skillpi.com/zh/skills/deepskill-2c22d9847aae083445ab90c55285583fcd8b1b9a2a1a754311c084aac41306f7。安装前核对上游来源和版本:https://github.com/Lord1Egypt/awesome-skill-forge。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

两阶段技能路由器:先用 embedding 粗筛,再用 LLM 精排,从 977 个技能中选出 top5。中文查询会自动翻译为英文再匹配,并设置三重拒选防线;纯信息类查询直接转至 L0 工具以节省 LLM token。

0 下载

介绍来源: third_party · Lord1Egypt · 2.1.2 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

版本历史

  1. v1.0.4 GitHub ↗
    原版更新说明

    ## 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 ↗
    原版更新说明

    ## 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)

当前收录版本

2.1.2

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

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

待提升项

  • 触发词主观性 原报告严重程度:轻微

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

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

亮点

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

待提升项

  • 缺少独立When to Use章节 原报告严重程度:轻微

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

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

亮点

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

亮点

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

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 21 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。