Skip to content
Agentmart
Submit a tool

setup

Initialize a new TwinMind vault in the current directory.

Skill by VolderLu

IndexedMIT★ 15
Write a review

Chalk Labs

Need help deploying setup?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/volderlu-setup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/setup

What's inside

Skill name
setup
Description
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.
License
MIT
Instructions
53 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# TwinMind Setup

Initialize a new TwinMind vault in the current working directory.

## Pre-flight Checks

Before proceeding, check for existing installations:

1. **TwinMind.md exists** → Warn: "TwinMind.md already exists in this directory. Overwrite?" Ask user to confirm or abort.
2. **Old-style `.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."
3. **Vault directory already exists and contains files** → Warn: "Directory `<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.

## Interactive Configuration

Ask the user for customization (or accept defaults):

1. **Vault directory name** — default: `vault`
2. **Locale** — default: `zh-TW`
3. **Domains** — default: empty list (AI creates as needed)

## Setup Steps

### Resolve Plugin Root

Setup 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:

1. Use the Write tool to create `<cwd>/TwinMind.md` with minimal frontmatter (just `vault_dir: vault\nvault_name: TwinMind\nlocale: zh-TW`).
2. Tell the user: "請執行 `exit` 退出 Claude Code,然後 `claude` 重新啟動 session (讓 SessionStart hook 寫入 plugin 路徑),再次執行 `/setup` 完成餘下步驟。"
3. Stop.

### Copy and Customize

1. Copy `<plugin-root>/templates/TwinMind.md` to `<cwd>/TwinMind.md`.
2. Update frontmatter values based on user's choices (`vault_dir`, `locale`, `domains`).
3. Copy `<plugin-root>/templates/vault/` directory structure to `<cwd>/<vault_dir>/`:
   - Create all subdirectories: `System/`, `Cards/`, `Sources/`, `Atlas/`, `PARA/Inbox/`, `PARA/Actions/`, `PARA/Projects/`, `PARA/Archive/`, `PARA/Areas/`, `PARA/Tasks/`.
   - Copy initial files: `System/vault-index.json`, `Home.md`, `PARA/Dashboard.md`.
   - Skip directories/files that already exist.
4. Create `.gitignore` in `<cwd>` if not exists, listing both `.obsidian/` and `.claude/twinmind/` (the latter holds plugin-generated shims that regenerate on every session start).

## Completion

Report:

- Created TwinMind.md at project root
- Created vault structure at `<vault_dir>/`
- Next steps: "Open this directory in Obsidian to browse your vault. Start talking to Claude to capture knowledge!"

From VolderLu/TwinMind, MIT.

More from VolderLu/TwinMind

Signals

Stars
15
Forks
5
Open issues
0
Last commit (this folder)
May 2, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get setup running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying setup?

CallGet help
Cite this page

setup skill. Agent Mart. https://agentmart.dev/skills/volderlu-setup (last updated 2026-10-24)