second-brain · antikode
Your knowledge,
in your vault.
An opinionated Obsidian template wired to Claude Code, Claudian, and the Lark CLI. Bring your own vault — the CLI installs the layout, commands, and hooks where you point it. Lark-gated. Antikode tenant only.
How it works
01 · Install
One curl. CLI lands in /usr/local/bin/second-brain with a SKILL.md drop into ~/.claude/skills/.
02 · Login
Lark OAuth via browser. Token lives 7 days at ~/.config/second-brain/token.json. Antikode tenant only.
03 · Install into your vault
cd into any Obsidian vault, run second-brain install. Claude Code does the audit, asks before touching anything.
What's inside · v1.2.5
- P1·reqCLAUDE.md + Vault MapVault rules and path map — foundation for all other modules. Appended to existing CLAUDE.md, never overwritten.
- P1·reqBrain layerDurable knowledge files: User, Memory, North Star, Decisions, Patterns, Gotchas.
- P1·reqDaily commands/gm (morning brief), /gn (end-of-day journal + cascades), /eod (gathering), /dump (quick capture).
- P2Hookscontext-loader (loads Brain every session), stop-checklist (cascade enforcement), validators, Glass chime on task complete.
- P2Inbox + To-Do📥 Inbox/To-Do.md — task cascade hub. Both /gm and /gn reference this file.
- P2JournalJournal folder + Daily Journal template. /gn writes the daily entry here every session.
- P3Projects + Meetings folders🚀 Projects/ and 🤝 Meetings/ (orphan bucket). Meeting classification in /gn and Signal A in /eod.
- P3People CRM👤 People/ folder + Person template. /gn cascades interaction logs here every session.
- P3Company entities💼 Company/ folder + Company Overview template. For entities you work with regularly.
- P3lark-minutes-debrief skillAuto-processes Lark/Feishu meeting URLs into structured notes + cascades. Powers /eod Step 2. Requires Lark CLI.
- P4Emoji folder renameRenames folders to emoji variants (Brain → 🧠 Brain) and updates all references. Safe scan-first approach.
From the CLI
After login, four commands cover the whole flow:
- $second-brain loginbrowser → Lark → JWT
- $second-brain installstage + spawn Claude with install prompt
- $second-brain pull /tmp/sbdownload tarball only, no install
- $second-brain updateself-update the CLI binary