界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

toolkit-router

toolkit-router

【数据与研究】Find the right skill, agent, command, rule, checklist, or marketplace skill in this ~/.claude toolkit for the current task. Use when a task falls in a specialized domain (mobile, security, data/ML, infra, business, creative, research) and no listed skill obviously fits, or when asked what the toolkit offers.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: toolkit-router description: Find the right skill, agent, command, rule, checklist, or marketplace skill in this ~/.claude toolkit for the current task. Use when a task falls in a specialized domain (mobile, security, data/ML, infra, business, creative, research) and no listed skill obviously fits, or when asked what the toolkit offers.

Toolkit router

Most of this toolkit's skills and commands are listed to you by name only, to keep context small. They are all installed and invocable. This skill is how you find them.

Procedure

  1. Search the index, don't read it whole. ~/.claude/INDEX.md is grouped by domain; grep it for the task's keywords and read only the matching section: rg -n -i "<keyword>" ~/.claude/INDEX.md For relationships (which agent pairs with a skill, which rule or checklist applies), query ~/.claude/index/graph.json.
  2. Pick at most one primary skill plus one specialist. Invoke with the Skill tool (or /name). Specialist agents are skills named agent-<name> that run in their own subagent: invoke them with the task as the argument when the work benefits from a separate context (broad research, independent review, a language/framework expert).
  3. Apply matching rules and checklists listed in the index row (rules/*.md, docs/reference/**). Path-scoped rules load automatically when you read matching files.
  4. Nothing local fits: search the marketplace catalog (present once marketplaces have been pulled): rg -i "<keyword>" ~/.claude/index/marketplace-catalog.json | head -20 Read the chosen marketplace SKILL.md directly from ~/.claude/plugins/marketplaces/… and follow it.
  5. Still nothing: proceed with general knowledge. Do not invent skill names.

Domain routes

For multi-domain or ambiguous requests, the route files in routes/ map intents to resources:

RouteFile
Development (web, mobile, backend, infra)routes/domains-development.md
Business & productroutes/domains-business.md
Creative & contentroutes/domains-creative.md
Scientific & researchroutes/domains-scientific.md
Toolkit / metaroutes/domains-meta.md
Decisions & trade-offsroutes/decision-frameworks.md
Complexity scoringroutes/routing-logic.md

Keeping the index current

The index is generated. After adding or changing skills, agents, commands, rules, or marketplaces run node ~/.claude/scripts/generate-index.mjs --write yourself; no hook regenerates it (the pre-commit hook only runs publication-safety checks). Promote a skill to full-description "core" by adding it to index/tiers.json.

我的收藏