second-brainlisted
Install: claude install-skill dmitrax/second-brain-setup
# Second Brain — vault operation rules
## Vault
Path: ~/Workspace/second-brain-vault/
Always load at session start: 00-shared/CRITICAL_FACTS.md
**Sync the vault before reading it — first action of the session, before opening
`_PROJECT.md` or `taskboard.md`:**
```bash
bash "$HOME/.claude/skills/second-brain/lib/brain.sh" vault-sync "$HOME/Workspace/second-brain-vault"
```
Same outcome rules as everywhere: exit 0 proceed, 2 warn in one line and proceed, 3 stop.
Writing was covered first (every `/brain-*` command syncs before its first write), but
reading is where a stale vault does the real damage, and it is completely silent about
it. The files are present, they open, they look current — the session simply starts from
"as of my last visit *to this machine*" and never finds out. That is the failure the
whole system exists to prevent: it will confidently report that a task is open when it
was closed yesterday elsewhere, or miss a decision it should be following. A push
conflict is loud and recoverable; a stale read is neither.
## Structure
```
vault/
├── 00-system/ ← index.md, connections.md
├── 00-shared/ ← SOUL.md, CRITICAL_FACTS.md
└── [project]/ ← _PROJECT.md, taskboard.md, raw/, wiki/, output/, sessions/
architecture-map.md ← code/mixed projects only
```
## Wiki note format (AI-First)
Every note in wiki/ MUST contain both blocks:
**1. YAML frontmatter:**
```yaml
---
tags: [tag1, tag2]
date: YYYY-MM-DD
project: project-name
sources