/twinmind:routerfrom twinmind
Classifies knowledge-base input into 9 intent categories (capture, inbox, query, project, action, task, area, review, connect) using signal words, priority rules, and fuzzy fallback. Invoke before dispatching to twinmind:* skills.
Ships in twinmind. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
本 skill 包含完整的意圖分類規則。Session 啟動時注入的 router-prompt.md 只有意圖類別速查表;AI 必須在 session 中首次處理知識庫輸入前調用本 skill 載入完整分類規則,再決定 dispatch 至哪個 twinmind:* skill。同一 session 內不需重複調用。
觸發條件(符合任一即分類為 CAPTURE):
模糊輸入預設:無明確搜尋/專案/連結上下文的明確知識陳述 → CAPTURE。想法模糊不成熟 → INBOX。
觸發條件(符合任一即分類為 INBOX):
注意:已經夠明確的輸入 bypass Inbox — 明確知識 → CAPTURE,明確雜務 → TASK,明確行動 → ACTION。
觸發條件(符合任一即分類為 QUERY):
觸發條件(符合任一即分類為 PROJECT):
<project-name>, 專案狀況注意:卡片連結至專案歸類為 PROJECT,不是 CONNECT。提及專案名稱的 action/task 操作也歸 PROJECT(專案內由 twinmind:project 處理)。
觸發條件(符合任一即分類為 ACTION):
排除:提及專案名稱 → 歸 PROJECT。
觸發條件(符合任一即分類為 TASK):
排除:提及專案名稱或 action 名稱 → 歸 PROJECT 或 ACTION。
觸發條件(符合任一即分類為 AREA):
觸發條件(符合任一即分類為 REVIEW):
觸發條件(必須明確提及兩張卡片且要求連結操作):
排除:僅提及一張卡片 → 可能是 QUERY 或 CAPTURE。目標為專案(非卡片)→ PROJECT。
當輸入與知識庫操作無關時(如閒聊、程式碼問題、系統指令),AI 不進入意圖路由,以一般 Claude Code 模式回應。
每個意圖類別內,AI 根據輸入內容判斷具體操作(子意圖)。詳細處理邏輯見各 twinmind:* skill。
| 意圖 | 子意圖 |
|---|---|
| CAPTURE | 建立新卡片(預設)· 更新既有卡片 · 刪除卡片 |
| INBOX | 建立 memo/idea · 升格(7 種路徑:→ Card/Action/Task/Project 等)· 捨棄 · 列出 pending |
| ACTION | 建立 · 完成(含反思鉤)· 列出 · 管理 action 內 tasks · 升格為專案 |
| TASK | 新增 · 完成 · 刪除 · 列出 |
| PROJECT | 建立/暫停/恢復/完成(含反思鉤)/歸檔 · 進度紀錄 · 連結/取消連結卡片 · action CRUD · task CRUD |
| AREA | 建立/更新/停用/重新啟用 · 關聯/取消關聯 Project 或 Card |
| QUERY | 關鍵字搜尋 · domain/type/status 篩選 · 領域統計 · 專案列表/詳情 · Inbox/Action/Task/Area 查詢 |
| REVIEW | Vault Summary · 索引驗證/重建 · MOC 回顧 · Seed 回顧 · Dashboard 更新 · 過期提醒(Inbox triage · Action) |
| CONNECT | 建立連結(可含關係類型)· 移除連結 |
當輸入可能匹配多個意圖時,依以下優先序判斷(第一個匹配即為結果):
CAPTUREPROJECTACTIONTASKAREAINBOXQUERYREVIEWCONNECT當單一輸入包含多個意圖時,AI 依以下優先序拆解並依序執行:
CAPTURE — 先記錄知識,避免資料遺失CONNECT — 趁上下文新鮮建立連結PROJECT — 更新專案狀態ACTION — 處理行動TASK — 處理任務AREA — 更新領域INBOX — 捕捉模糊想法QUERY — 回答查詢REVIEW — 維護任務最後執行前宣告順序(如「先建立卡片,再連結至專案」)。
當 AI 無法確定意圖類別時,依以下規則處理:
CAPTUREINBOXQUERYAI 不得忽略模糊輸入。
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/actionTwinMind action engine — manages standalone actions that aren't tied to any project. Use this skill when the user describes something they want to do that has a clear scope but doesn't belong to a project. Triggers: '建立行動', 'create action', '新增 action', '完成 action', 'action done', '做完了', '列出 actions', 'list actions', '升格為專案', 'promote to project', or when the user describes an executable goal like '研究 X', '設定 Y', '整理 Z'. Also use when the user says an action is getting too big and needs to become a project. Important: if the user mentions a specific project name, route to twinmind:project instead — that skill handles project-scoped actions./areaTwinMind area engine — manages Areas of ongoing responsibility (long-term focus domains with no end date). Use this skill when the user talks about a persistent life/work domain they want to track, like '健康管理', '職涯發展', '財務規劃', or when they want to group projects and cards under a theme. Triggers: '建立領域', 'create area', '新增 area', '停用 area', 'deactivate', '重新啟用', 'reactivate', '關聯到 area', 'link to area', '列出 areas', 'list areas', '關注領域', or any mention of ongoing responsibilities, life domains, or thematic grouping of projects. Important: Areas are different from Projects (which have end dates) and from card domains (which are metadata tags). An Area is a conscious commitment to track a life domain.npx claudepluginhub volderlu/twinmind --plugin twinmindOther plugins' skills for the same job