/twinmind:setupfrom twinmind
Initializes a TwinMind knowledge vault in the current directory with configuration, directory structure, and templates. Use when starting a fresh vault or setting up TwinMind in a new project.
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.
Initialize a new TwinMind vault in the current working directory.
Before proceeding, check for existing installations:
.claude/skills/tm-* directories exist → Warn: "Detected old-style TwinMind installation (.claude/skills/tm-*). This plugin-based setup is separate. Consider removing old files to avoid confusion."<vault_dir>/ already exists with content. Setup will not overwrite existing vault data. Only missing structure files will be created."If all checks pass or user confirms, proceed.
Ask the user for customization (or accept defaults):
vaultzh-TWSetup needs the plugin's absolute path to copy templates from. Read <cwd>/.claude/twinmind/config.json with the Read tool and use its pluginRoot field as <plugin-root> in the steps below.
Cold-start fallback: if <cwd>/.claude/twinmind/config.json does not exist, the SessionStart hook has not run for this vault yet (TwinMind.md is required to trigger it). In that case:
<cwd>/TwinMind.md with minimal frontmatter (just vault_dir: vault\nvault_name: TwinMind\nlocale: zh-TW).exit 退出 Claude Code,然後 claude 重新啟動 session (讓 SessionStart hook 寫入 plugin 路徑),再次執行 /setup 完成餘下步驟。"<plugin-root>/templates/TwinMind.md to <cwd>/TwinMind.md.vault_dir, locale, domains).<plugin-root>/templates/vault/ directory structure to <cwd>/<vault_dir>/:
System/, Cards/, Sources/, Atlas/, PARA/Inbox/, PARA/Actions/, PARA/Projects/, PARA/Archive/, PARA/Areas/, PARA/Tasks/.System/vault-index.json, Home.md, PARA/Dashboard.md..gitignore in <cwd> if not exists, listing both .obsidian/ and .claude/twinmind/ (the latter holds plugin-generated shims that regenerate on every session start).Report:
<vault_dir>/What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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