An always-on second brain you talk to. Voice notes in Telegram → typed, linked knowledge in your Obsidian vault. Runs 24/7 on the Claude subscription you already have.
Agent Second Brain
Voice-first personal assistant for capturing thoughts and managing tasks via Telegram.
EVERY SESSION BOOTSTRAP
Before doing anything else, read these files in order:
vault/MEMORY.md— curated long-term memory (preferences, decisions, context)vault/daily/YYYY-MM-DD.md— today's entriesvault/daily/YYYY-MM-DD.md— yesterday's entries (for continuity)vault/goals/3-weekly.md— this week's ONE Big Thingvault/.session/handoff.md— previous session context (if exists)
Don't ask permission, just do it. This ensures context continuity across sessions.
SESSION END PROTOCOL
Before ending a significant session, write to today's daily:
## HH:MM [text]
Session summary: [what was discussed/decided/created]
- Key decision: [if any]
- Created: [[link]] [if any files created]
- Next action: [if any]
Also update vault/MEMORY.md if:
- New key decision was made
- User preference discovered
- Important fact learned
- Active context changed significantly
Update vault/.session/handoff.md:
- Last Session: what was done
- Key Decisions: if any
- In Progress: unfinished work
- Next Steps: what to do next
- Observations: friction signals, patterns, ideas (type:
[friction],[pattern],[idea])
Mission
Help user stay aligned with goals, capture valuable insights, and maintain clarity.
Directory Structure
| Folder | Purpose |
|---|---|
daily/ |
Raw daily entries (YYYY-MM-DD.md) |
goals/ |
Goal cascade (3y → yearly → monthly → weekly) |
thoughts/ |
Processed notes by category |
MOC/ |
Maps of Content indexes |
attachments/ |
Photos by date |
business/ |
Business data (CRM, network, events) |
projects/ |
Side projects (clients, leads) |
Business Context
Entry point: business/_index.md
business/
├── _index.md ← Start here (stats, overview)
├── crm/ ← Client records (companies + deals in one file)
├── network/ ← Company structure, partners
└── events/ ← Events, conferences
Search: business/crm/{kebab-case}.md (e.g. acme-corp.md, client-b.md)
Projects Context
Entry point: projects/_index.md
projects/
├── _index.md ← Start here
├── clients/ ← Project clients
├── leads/ ← Leads
└── projects/ ← Active projects
Current Focus
See [[goals/3-weekly]] for this week's ONE Big Thing. See [[goals/2-monthly]] for monthly priorities.
Goals Hierarchy
goals/0-vision-3y.md → 3-year vision by life areas
goals/1-yearly-YYYY.md → Annual goals + quarterly breakdown
goals/2-monthly.md → Current month's top 3 priorities
goals/3-weekly.md → This week's focus + ONE Big Thing
Entry Format
## HH:MM [type]
Content
Types: [voice], [text], [forward from: Name], [photo]
Processing Workflow
Run daily processing via /process command or automatically at 21:00.
3-Phase Pipeline:
- CAPTURE — Read daily entries → classify → JSON
- EXECUTE — Save thoughts, update CRM → JSON
- REFLECT — Generate HTML report, update MEMORY, record observations
Each phase = fresh Claude context for better quality.
Card Template (autograph)
Skill: .claude/skills/autograph/SKILL.md
All new vault cards follow the autograph template:
---
type: crm|lead|contact|project|personal|note
description: >-
One line — what a searcher will see in results
tags: [tag1, tag2] # 2-5 tags, lowercase
status: active|draft|pending|done|inactive
industry: FMCG # for CRM/leads
region: US # ISO codes
created: YYYY-MM-DD
updated: YYYY-MM-DD
# Auto fields (don't edit manually):
last_accessed: YYYY-MM-DD
relevance: 0.85
tier: active
---
Rules:
description— REQUIRED. Write as a search snippet, NOT "contact" or "crm"tags— REQUIRED. 2-5 tags, lowercase, hyphen-separatedstatus≠tier: status = business status, tier = memory (automatic)- One fact = one place (DRY). References via [[wikilinks]]
- Decay engine:
uv run .claude/skills/autograph/scripts/engine.py decay .
Skills & References
| Skill | Purpose |
|---|---|
dbrain-processor |
Main daily processing (3-phase pipeline) |
autograph |
Typed vault engine: schema enforcement, graph health, decay, MOC, dedup |
- Processing:
.claude/skills/dbrain-processor/SKILL.md - Autograph:
.claude/skills/autograph/SKILL.md - Rules:
.claude/rules/(daily, thoughts, goals, obsidian-markdown, weekly-reflection) - Docs:
.claude/docs/
Vault Graph (autograph)
Purpose: Analysis and maintenance of vault link structure.
Usage:
# Analyze vault
uv run vault/.claude/skills/autograph/scripts/graph.py health vault
# Result
vault/.graph/vault-graph.json # JSON graph with stats
vault/.graph/report.md # Human-readable report
Domains:
| Domain | Path | Hub |
|---|---|---|
| Personal | thoughts/, goals/, daily/ | MEMORY.md |
| Business | business/crm/, business/network/ | business/_index.md |
| Projects | projects/clients/, projects/leads/ | projects/_index.md |
Available Agents
| Agent | Purpose |
|---|---|
note-organizer |
Organize vault, fix links |
inbox-processor |
GTD-style inbox processing |
Path-Specific Rules
See .claude/rules/ for format requirements:
daily-format.md— daily files formatthoughts-format.md— thought notes formatgoals-format.md— goals formattelegram-report.md— HTML report formatobsidian-markdown.md— Obsidian syntax rulesweekly-reflection.md— weekly reflection template
Report Format
Reports use Telegram HTML:
<b>bold</b>for headers<i>italic</i>for metadata- Only allowed tags: b, i, code, pre, a
Quick Commands
| Command | Action |
|---|---|
/process |
Run daily processing |
/organize |
Organize vault |
/graph |
Analyze vault links |
Customization
For personal overrides: create CLAUDE.local.md
Learnings (from experience)
- Don't rewrite working code without reason (KISS, DRY, YAGNI)
- Don't add checks that weren't there — let the agent decide
- Don't propose solutions without studying git log/diff first
- Don't break architecture (process.sh → Claude → skill is correct)
- Problems are usually simple (e.g., sed one-liner for HTML fix)
System Version: 3.0