技能 Router
- 作者仓库星标 253
- 作者仓库 claudia
Skill Router
Two jobs: help the user find the skill they need, and help me (Claudia) pick the right skill when their request straddles two or more.
Why this exists
The shipped catalog has ~42 user-facing skills. Two common failure modes:
- Users don't know what's available. They type "morning brief" because they've seen
/morning-briefsomewhere, but they don't know/inbox-check,/pipeline-review, or/what-am-i-missingexist. Friction. - Ambiguous requests fire the wrong skill. "Summarize this" could be
summarize-doc,capture-meeting, orfile-documentdepending on what comes next. I sometimes pick the wrong one, the user gets the wrong output, both of us waste a turn.
This skill addresses both.
Surface 1: Discovery
When the user says "what can you do?", "/skills", "show me your skills", "list commands", "what skills do you have":
Respond with a categorized list. Keep it scannable:
**📋 Daily flow**
- /morning-brief start-of-day digest
- /inbox-check email triage across configured accounts
- /meeting-prep [person] one-page brief before a call
- /capture-meeting process meeting notes after a call
- /follow-up-draft draft a post-meeting thank-you
**📊 Reviews & reflection**
- /weekly-review end-of-week reflection
- /growth-check monthly or quarterly self-development
- /what-am-i-missing overdue, cooling, blind-spot sweep
**💼 Pipeline & business**
- /pipeline-review active opportunities + stalled items
- /client-health health check across active clients
- /financial-snapshot revenue, expenses, cash position
**📚 Knowledge & memory**
- /memory-audit what I know about an entity
- /memory-health memory system stats
- /wiki write or update a synthesized wiki page
- /map-connections extract relationships across files
- /deep-context full-context analysis for important decisions
**✍️ Drafting**
- /draft-reply general email response
- /summarize-doc executive summary of a document
- /auto-research iterate on a draft until it scores well
**🏗 Setup**
- /new-person create a relationship file
- /new-workspace new project or client workspace
- /file-document save a document with entity links
- /ingest-sources batch-process multiple sources
- /diagnose troubleshoot memory connectivity
Don't list every skill. List the ones a user is most likely to invoke directly. Internal skills (proactive ones like commitment-detector, pattern-recognizer, risk-surfacer) fire on their own and don't need to be in the discovery list.
If the user asks /skills <topic> or "what skills are about <topic>", filter the list to skills whose names or descriptions match, and explain the cluster. Example for /skills meeting:
Three skills for meetings, in order of when they fire:
- /meeting-prep [person] → before the call (one-page brief)
- /capture-meeting → during or after (process notes)
- /follow-up-draft → after (post-meeting email)
Surface 2: Disambiguation
When the user's request matches 2+ skills, name the candidates briefly and proceed with the canonical one. Don't make the user choose; choose for them, and tell them what you chose.
How to detect ambiguity
A request is ambiguous when:
- The trigger phrase appears in 2+ skill descriptions
- The request is in one of the known overlap clusters (see references/overlap-clusters.md)
- The artifact type is ambiguous (a "transcript" could be a meeting transcript →
capture-meeting, or a research interview →ingest-sources, or just a generic document →file-document)
How to disambiguate
Pattern: "Sounds like X or Y. I'll do X. Say so if you wanted Y."
Examples:
User: "Help me draft a follow-up" Claudia: "Sounds like either
draft-reply(general response) orfollow-up-draft(post-meeting thank-you with meeting context). Was this from a call we had? If yes,follow-up-draft; if not,draft-reply. Defaulting tofollow-up-draftsince you said 'follow-up'."
User: "Summarize this meeting" Claudia: "I'll use
capture-meeting(extracts decisions, commitments, blockers from meeting notes). If you wanted a one-shot prose summary without filing as memories, saysummarize-docinstead."
User: "What's going on?" Claudia: "Default for that phrasing is
morning-brief. Was that what you wanted, or did you mean/what-am-i-missing(risks and gaps),pipeline-review(deal status), or just an answer about a specific entity? Going withmorning-brief."
The pattern: pick the canonical, name the alternative, run.
When NOT to disambiguate
- The request is unambiguous. Don't manufacture options.
- The user has been specific. "Draft a reply to this email" is
draft-reply, no need to mentionfollow-up-draft. - The disambiguation explanation would be longer than the actual response. For short tasks, just do the canonical thing and let the user redirect.
Overlap clusters (the canonical map)
See references/overlap-clusters.md for the full map. The clusters I check most often:
| Cluster | Canonical | Adjacent |
|---|---|---|
| Outbound messages | draft-reply (general), follow-up-draft (post-meeting) |
inbox-check (triage before drafting) |
| Memory views | memory-audit (content), memory-health (system), diagnose (connectivity) |
|
| Visualization | brain (3D web), brain-monitor (terminal) |
|
| Reflective cadences | morning-brief (daily) → weekly-review (weekly) → growth-check (monthly+) → meditate (session) |
|
| Meeting lifecycle | meeting-prep (before) → capture-meeting (during/after) → follow-up-draft (after, outbound) |
|
| Risks and gaps | what-am-i-missing (user-invoked) |
risk-surfacer (proactive auto-fire) |
| People and relationships | relationship-tracker (ongoing), new-person (create), map-connections (extract graph) |
connector-discovery (external services, NOT people) |
| Patterns/judgment/capability | pattern-recognizer (notice) → judgment-awareness (apply rules) → capability-suggester (propose commands) |
hire-agent (propose new subagents) |
| Inbound processing | ingest-sources (multi-doc), file-document (single doc), capture-meeting (meeting only), summarize-doc (no filing) |
Skill index integration
The skill-index.json file at template-v2/.claude/skills/skill-index.json is the structured catalog this skill reads. Each entry has:
name: slugdescription: one-line descriptioncategory: which discovery category the skill falls in (daily, reviews, pipeline, knowledge, drafting, setup, internal)canonical_for: list of request patterns where this skill is the canonical choice (used by disambiguation)see_also: list of adjacent skills (set in PR3's see-also work)
When skill-router is invoked, it loads skill-index.json and uses these fields. The discovery list above is generated from category. Disambiguation uses canonical_for and see_also.
See also
agent-dispatcherfor routing tasks to subagents (different concept: this is about which Claudia skill fires; agent-dispatcher is about which subagent gets a task)capability-suggesterfor proposing new skills when patterns emerge that current skills don't cover
Open questions for future versions
- Telemetry. Logging which skills fire on which inputs would let me learn over time which routings are wrong and propose corrections via
capability-suggester. Not in this version. - Per-user customization. Some users invoke
weekly-reviewweekly; others never use it. The discovery list should adapt to the user's actual usage over time. Not in this version. - Skill search by example. "Show me a skill that does X for Y" → semantic search over skill descriptions. Not in this version; today the user filters by keyword via
/skills <keyword>.
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @kbanc85 · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- Shell 执行
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 The shipped catalog has ~42 user-facing skills. Two common failure modes: Users don't know what's available. They type "morning brief" because they've seen /morning-brief somewhere, but they don't know /inbox-check, /pipeline-review, or /what-am-i-missing…
When the user says "what can you do?", "/skills", "show me your skills", "list commands", "what skills do you have": Respond with a categorized list. Keep it scannable: Don't list every skill. List the ones a user is most likely to invoke directly. Internal…
When the user's request matches 2+ skills, name the candidates briefly and proceed with the canonical one. Don't make the user choose; choose for them, and tell them what you chose.
A request is ambiguous when: The trigger phrase appears in 2+ skill descriptions The request is in one of the known overlap clusters (see references/overlap-clusters.md)
Pattern: "Sounds like X or Y. I'll do X. Say so if you wanted Y." Examples: User: "Help me draft a follow-up"
The request is unambiguous. Don't manufacture options. The user has been specific. "Draft a reply to this email" is draft-reply, no need to mention follow-up-draft. The disambiguation explanation would be longer than the actual response. For short tasks, just…
# Skill Router
Two jobs: help the user find the skill they need, and help me (Claudia) pick the right skill when their request straddles two or more.
## Why this exists
The shipped catalog has ~42 user-facing skills. Two common failure modes:
1. **Users don't know what's available.** They type "morning brief" because they've seen `/morning-brief` somewhere, but they don't know `/inbox-check`, `/pipeline-review`, or `/what-am-i-missing` exist. Friction.
2. **Ambiguous requests fire the wrong skill.** "Summarize this" could be `summarize-doc`, `capture-meeting`, or `file-document` depending on what comes next. I sometimes pick the wrong one, the user gets the wrong output, both of us waste a turn.
This skill addresses both.
## Surface 1: Discovery
When the user says "what can you do?", "/skills", "show me your skills", "list commands", "what skills do you have":
Respond with a categorized list. Keep it scannable:
```
**📋 Daily flow**
- /morning-brief start-of-day digest
- /inbox-check email triage across configured accounts
- /meeting-prep [person] one-page brief before a call
- /capture-meeting process meeting notes after a call
- /follow-up-draft draft a post-meeting thank-you
**📊 Reviews & reflection**
- /weekly-review end-of-week reflection
- /growth-check monthly or quarterly self-development
- /what-am-i-missing overdue, cooling, blind-spot sweep
**💼 Pipeline & business**
- /pipeline-review active opportunities + stalled items
- /client-health health check across active clients
- /financial-snapshot revenue, expenses, cash position
**📚 Knowledge & memory**
- /memory-audit what I know about an entity
- /memory-health memory system stats
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Why this exists → Surface 1: Discovery → Surface 2: Disambiguation → How to detect ambiguity → How to disambiguate → When NOT to disambiguate
要点 -> Users don't know what's available. · Ambiguous requests fire the wrong skill. · 📋 Daily flow · 📊 Reviews & reflection · 💼 Pipeline & business · 📚 Knowledge & memory · ✍️ Drafting · 🏗 Setup
文件/命令 -> /morning-brief · /inbox-check · /pipeline-review · /what-am-i-missing · summarize-doc · capture-meeting · file-document · commitment-detector
内容 SHA-256 -> 21f04f497ffe
原文结构
适用与边界
原文中的明确线索
/morning-brief、/inbox-check、/pipeline-review、/what-am-i-missing、summarize-doc、capture-meeting、file-document、commitment-detector