Personal compounding knowledge base backed by Git, powered by Claude Code + Obsidian. A developer's second brain that captures learnings, decisions, and research — then connects them over time. Clone it on every machine and pick up exactly where you left off.
git clone <repo-url> ~/brain- Open
~/brain/vault/as an Obsidian vault (Obsidian → Open folder as vault) - Go to Settings → Community plugins → Browse and install the required plugins below
- Enable each plugin and configure as noted
| Plugin | Purpose |
|---|---|
| Git | Auto-commit and push on interval; keeps vault synced via Git |
| Templater | Powers note templates with dynamic date variables |
| Daily Notes | Creates daily notes from the template in vault/templates/daily.md |
| Calendar | Visual calendar sidebar for navigating daily notes |
| Plugin | Purpose |
|---|---|
| Telegram Inbox | Captures Telegram messages into vault/inbox/ for later processing |
| Dataview | Query notes as a database (tag counts, linked mentions, etc.) |
Add to ~/.zshrc:
source ~/brain/scripts/note.shReload your shell: source ~/.zshrc
Usage:
note "TIL: something interesting" # appends to today's daily note
note -i "something to process later" # creates a timestamped inbox captureRun these from ~/brain/ with claude or inside a Claude Code session:
| Command | Purpose | Example |
|---|---|---|
/capture |
Quick capture with AI routing to the right note | /capture TIL: parallel worktrees speed up AI dev |
/consolidate |
Process inbox items into permanent notes | /consolidate |
/search |
Deep semantic search across the vault | /search parallel worktrees |
/weekly-review |
Synthesize the week's learnings into a weekly review | /weekly-review |
/import-learnings |
Pull learnings from a project directory | /import-learnings ~/Desktop/trade/ |
/trend-check |
Research current trends on a topic | /trend-check AI agent frameworks |
Deploy to any Linux server for 24/7 autonomous intelligence gathering.
| Tool | Purpose | Install |
|---|---|---|
| git | Version control | apt install git |
| Claude CLI | AI command execution | See docs |
| gh CLI | GitHub PR creation | apt install gh |
# On the server:
git clone <your-brain-repo-url> ~/brain
bash ~/brain/scripts/deploy.shThis will:
- Check prerequisites (git, claude, gh)
- Create
brain.conffrom template - Install cron jobs for autonomous operation
- Run a health check
| Schedule | Command | What it does |
|---|---|---|
| Daily 6 AM UTC | /pulse |
Scans community sources, checks watch topics |
| Daily 7 AM UTC | /consolidate |
Processes pulse briefs into permanent notes |
| Sunday 8 AM UTC | /audit-library |
Health-checks library against community |
| Wednesday 8 AM UTC | /trend-check |
Monitors configured topics |
Edit brain.conf (gitignored, per-deployment) to customize schedules, log paths, and notification channels. See brain.conf.example for all options.
bash ~/brain/scripts/health-check.shCron jobs run on a brain-auto/YYYY-MM-DD branch and create PRs for review. Nothing touches the main branch without your approval.
Route Telegram captures and run scheduled consolidation from ~/brain/:
# Route a Telegram message through AI capture
claude -p '/capture <message text>'
# Run consolidation on a schedule (e.g., nightly via cron)
claude -p '/consolidate'Settings → Git:
| Setting | Value |
|---|---|
| Auto-commit interval | 10 minutes |
| Auto-push after commit | enabled |
| Pull on startup | enabled |
brain/
├── vault/ # Obsidian vault (open this folder in Obsidian)
│ ├── daily/ # Daily notes (YYYY-MM-DD.md)
│ ├── inbox/ # Unprocessed captures
│ ├── projects/ # Per-project notes and logs
│ ├── coding/ # Code patterns, tools, debugging notes
│ ├── ai-workflows/ # AI tooling, prompts, workflows
│ ├── decisions/ # Decision records (ADR-style)
│ ├── weekly-reviews/ # Weekly synthesis notes
│ ├── industry/ # Industry and market observations
│ ├── innovations/ # Emerging tech and ideas
│ ├── tools/ # Tool configs and notes
│ ├── library/ # Reusable AI artifacts
│ ├── templates/ # Obsidian note templates
│ └── _attachments/ # Images, PDFs, attached files
├── data/ # Database files (brain.db)
├── mcp-server/ # MCP server (TypeScript)
├── dashboard/ # Next.js dashboard
├── docs/ # Reference docs
├── scripts/ # Shell scripts (note.sh)
└── .claude/
└── commands/ # Claude Code slash commands