원클릭으로
start-second-brain
// Initialize a new Second Brain vault from a template repo — validate privacy, create folders, push, and onboard the user.
// Initialize a new Second Brain vault from a template repo — validate privacy, create folders, push, and onboard the user.
| name | start-second-brain |
| description | Initialize a new Second Brain vault from a template repo — validate privacy, create folders, push, and onboard the user. |
Set up a Second Brain vault after the user has created their repo from the GitHub template.
Run from the vault's root directory:
python3 .claude/skills/start-second-brain/scripts/init_vault.py
The script handles mechanical setup:
gh repo view to verify the repo is private. Exits with an error if public. Warns if it can't determine visibility..gitignore, context/_index.md, context/watchlists.md (skips if they already exist).git doesn't exist (backwards compatibility for non-template setups)After the script finishes, present the obsidian-git plugin setup instructions:
Install the obsidian-git community plugin, then configure:
Setting Value Auto pull on startup Enabled Pull on interval (minutes) 30 Auto commit-and-sync (minutes) 10 Merge strategy Rebase Push on commit-and-sync Enabled This keeps Obsidian in sync with cloud farmers and Claude Code sessions. Farmed content appears automatically when you open Obsidian each morning.
If the user asks what these settings do, explain each one. If they want to skip Obsidian setup, that's fine — move on.
Ask one question:
"Want to seed your context files? Dump whatever you've got — role, company, tools, Slack channels you care about, key people, active projects — and I'll sort it into the right files. Or skip this and fill them in later."
If they provide context:
context/business-profile.md, context/watchlists.md, and context/writing-style.md (only update writing style if they mention preferences, otherwise leave defaults)If they skip, move on.
Walk the user through how the system fits together. This is important. Present it conversationally, not as a wall of text. Cover:
Explain how three things keep the vault in sync:
/new, /today, or any command, changes are auto-committed and pushed to the private GitHub repoAll three converge through git. No special sync service — just commits and pushes to the same private repo.
Give a quick rundown of what they can do:
| Command | What it does |
|---|---|
/new <text> | Quick capture — describe anything and it gets classified and filed as a task, project, person, or idea |
/today | Generates a daily plan from due tasks and active projects |
/daily-review | End of day — compare what you planned vs what happened |
/history | See recent vault activity |
/farm <name> | Manually run a farmer (e.g., /farm slack) |
/create-farmer | Set up a new farmer for any connected service |
/schedule | Schedule a farmer to run automatically on a cron |
/delegate <task> | Fork a task to a background terminal session |
Explain what farmers are and how to set one up:
/create-farmer, pick a service, configure what to watch, then /schedule to run it automaticallycontext/watchlists.md to know what channels, people, and keywords to monitorsource: farmer/<name> so you can tell what was auto-captured vs manualAfter the walkthrough, ask if they want to set up their first farmer now:
"Want to set up a context farmer now? If you added Slack channels or meetings to your watchlists, we can get those running. Just say which service — Slack, Fireflies, or something else — and I'll walk you through it with
/create-farmer."
/create-farmer which walks through the interactive wizard/schedule/create-farmer anytimegh not installed: Script exits. Help the user install and authenticate:
brew install gh (macOS) or see cli.github.com for other platforms! gh auth login so it runs interactively in the terminalgh is required — privacy verification is not optionalgit init (backwards compat for non-template setups)Create or schedule a context farmer. Checks existing farmers and offers to build new ones or schedule existing ones.
End of day review - compare planned vs actual, update task statuses. Part of chief-of-staff system.
Delegate a task by forking a terminal session to a new terminal window. Use this when the user requests 'delegate' or 'create a new terminal' or 'new terminal: <command>' or 'fork session: <command>'.
Manually trigger a context farmer subagent. Usage - /farm <name> (e.g., /farm slack)
Quick capture - classify and file natural language input into the vault. Part of chief-of-staff system. Use for capturing tasks, ideas, project notes, or people notes.
Generate daily plan from due tasks and active projects. Part of chief-of-staff vault system.