skills/task/SKILL.md
TwinMind task engine — manages standalone tasks (life chores, errands, quick todos). Use this skill when the user mentions a simple, concrete thing they need to do that doesn't belong to any project or action. Classic triggers: short imperative sentences like '買牛奶', '繳電費', '回覆 email', '預約牙醫', or explicit task operations like '加個待辦', 'add task', 'task done', '完成 task', '刪除 task', 'delete task', '列出 tasks', 'list tasks', '待辦清單'. The distinguishing feature of a standalone task is that it's too small for an Action and not tied to any project. If the user mentions a project name, route to twinmind:project. If it's a multi-step endeavor, consider twinmind:action instead.
npx skillsauth add VolderLu/TwinMind taskInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
獨立任務是系統中最小的「做」單位——「買牛奶」不值得建一個 Action 檔案,更不值得建一個 Project。所有獨立任務集中在 vault/PARA/Tasks/tasks.md 單一檔案中,用 checklist 格式管理,在 Obsidian 中一目了然。
一致性驗證由 PostToolUse hooks 自動處理。狀態變更操作完成後透過 Bash tool 執行 node .claude/twinmind/bin/tm-post-op.mjs --layer action 觸發 post-op pipeline。唯讀查詢不需要。
透過 Bash tool 執行:
node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '{"event_type":"<TASK_CREATED|TASK_COMPLETED|TASK_DELETED>","event_context":{"task_text":"<description>"}}'
腳本同步執行,執行完成後再回應使用者。
vault/PARA/Tasks/tasks.md 分為兩個區塊:
## Active:待完成的任務(- [ ] <description>)## Done:已完成的任務(- [x] <description>(YYYY-MM-DD))Frontmatter 只有一個 updated 欄位,每次修改時更新為當天。
在 ## Active 末尾追加 - [ ] <description>。更新 vault-index.json:standalone_tasks 追加 { "text": "<description>", "done": false },stats.total_tasks_standalone += 1。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
從 ## Active 移除該行,在 ## Done 追加 - [x] <description>(YYYY-MM-DD)。這樣設計是因為 Obsidian 中 Done 區塊收在下方,不會干擾對 Active 任務的瀏覽。
更新 index:匹配項設 done: true + completed 日期,stats.total_tasks_standalone -= 1。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
完全移除 checklist 行(適用於「不需要做了」的情況,區別於「完成了」)。從 index 的 standalone_tasks 移除匹配項。若未完成則 stats.total_tasks_standalone -= 1。執行 post-op(Bash tool,node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '...')。
從 vault-index.json 讀取 standalone_tasks,分 Active / Done 顯示,含計數。支援按狀態篩選。空態:「目前沒有獨立任務」。唯讀操作,不需 post-op。
tools
Initialize a new TwinMind vault in the current directory. Creates TwinMind.md configuration and vault directory structure from templates. Use when starting a fresh knowledge vault or setting up TwinMind in a new project.
development
Classifies user knowledge-base input into one of 9 intent categories (capture, inbox, query, project, action, task, area, review, connect) using signal words, priority rules, compound intent handling, and fuzzy fallback matching. Invoke BEFORE dispatching to any twinmind:* skill when the user provides knowledge-base input. Do NOT skip this step — the session startup skeleton only has a summary table; this skill has the complete rules needed for accurate classification.
development
TwinMind review and maintenance engine. Use for vault health checks, seed card review, index verification/rebuild, MOC management, and vault status summaries. Triggers on: 'vault status', '知識庫狀況', 'health report', '健康報告', 'verify index', '檢查索引', 'rebuild index', '重建索引', 'review seeds', '有哪些 seed', 'update MOC', or any request about knowledge base maintenance and overview.
data-ai
Searches stored cards by domain, type, status, or keyword. Recommends semantically related cards using AI language understanding. Queries inbox, action, task, area, and project data from the vault index. Use when the user asks to search, find, list, filter, or browse cards, or wants recommendations for related content. Triggers: '搜尋', '找', 'search', 'find', '列出', 'list', '有沒有', '跟X相關的', '有幾張', 'how many', '統計'.