From twinmind
Manages standalone actions in TwinMind vault: creates/completes Markdown files, tracks tasks, lists by status, promotes to projects. Activates on 'create action', 'research X', or scope expansion.
npx claudepluginhub volderlu/twinmind --plugin twinmindThis skill uses the workspace's default tool permissions.
Actions 存在 `vault/PARA/Actions/` 中,每個行動一個 .md 檔案。行動可以包含自己的 task checklist,也可以在 scope 擴大時升格為 Project。
Manages TwinMind project lifecycle: create, pause, resume, complete, archive; handles scoped actions/tasks, progress logging, card linking in PARA folder structure with vault-index.json.
Manages tasks, goals, projects, and brain dumps in Mission Control JSON files. Create, update, query entries with kanban status, assign agents, and regenerate AI context.
Manages tasks-plans/ workspace by adding actionable items to backlog, ideas for exploration, or dated references. Organizes files by topic into subfolders, processes queued work via subcommands.
Share bugs, ideas, or general feedback.
Actions 存在 vault/PARA/Actions/ 中,每個行動一個 .md 檔案。行動可以包含自己的 task checklist,也可以在 scope 擴大時升格為 Project。
所有狀態變更操作完成後,透過 Bash tool 執行 post-op pipeline(唯讀查詢不需要):
node .claude/twinmind/bin/tm-post-op.mjs --layer action --event '{"event_type":"<ACTION_CREATED|ACTION_COMPLETED|ACTION_PROMOTED_TO_PROJECT>","event_context":{"action_title":"<title>"}}'
腳本同步執行,執行完成後再回應使用者。以下各操作章節標示需要的 event_type,均使用此指令格式。
生成 slug(標題轉 kebab-case 英文),檢查檔案衝突。若 slug 已存在,加數字後綴(<slug>-2.md)。建立 vault/PARA/Actions/<slug>.md。
---
id: "20260416143000"
title: "研究 Rust async runtime"
status: active
created: 2026-04-16
---
研究 Rust 的 async runtime 選項(tokio vs async-std),比較效能和生態系。
## Tasks
- [ ] 閱讀 tokio 官方文件
- [ ] 比較 tokio vs async-std benchmark
Frontmatter 必填欄位:id(YYYYMMDDHHmmss)、title、status(初始 active)、created(YYYY-MM-DD)。選填:completed、source_inbox(從 Inbox 升格時填入原 ID)、related_cards。
Body 包含描述和 ## Tasks 區塊(checklist 格式)。若使用者提供了子步驟,直接建立為 tasks;若沒有,留空讓之後填入。
更新 vault-index.json:standalone_actions 新增條目(含 title/status/tasks_total/tasks_done),stats.total_actions += 1。執行 post-op(event_type: ACTION_CREATED)。
更新 frontmatter:status → done,填入 completed 日期。更新 index:status → done,total_actions -= 1。
反思鉤(Reflection Hook)——完成是知識萃取的最佳時機。主動詢問:「做完這個你有什麼收穫或教訓?要建卡嗎?」這是 opt-out 設計(預設問,使用者說「沒有」才跳過),因為人往往不會主動回顧,但被提醒時常能產出有價值的反思。使用者回答 → 調用 twinmind:capture 建卡,source 指向 action 檔案。
執行 post-op(event_type: ACTION_COMPLETED)。
Action 可以有自己的 task checklist,幫助拆解行動為具體步驟。
## Tasks 追加 - [ ] <description>,index 的 tasks_total += 1[ ] → [x],追加日期,index 的 tasks_done += 1每次變更都更新 stats.last_updated。
從 vault-index.json 讀取 standalone_actions。顯示 title、status、tasks 進度(done/total)。支援按 status 篩選。空態:「目前沒有獨立行動」。唯讀操作,不需 post-op。
當行動的 scope 擴大——子任務越來越多、需要多個 action 來完成、需要長期追蹤——就是升格的時機。
流程:調用 twinmind:project 建專案(用 action 標題),將 action 內容移入新專案的 actions.md 作為第一個 action,刪除原始 action 檔案,從 index 的 standalone_actions 移除。執行 post-op(event_type: ACTION_PROMOTED_TO_PROJECT)。
若專案建立失敗,不刪除原始 action 檔案。slug 衝突時加數字後綴(<slug>-2.md)。