agentleFS
superuser-palsuperuser-pal/awesome-second-brain/CLAUDE.md

awesome-second-brain

CLAUDE.md14 starsChanged 7 months agoMITView on GitHub

Awesome Second Brain vault — Obsidian-based personal knowledge system for work notes, decisions, performance tracking, and Claude context. This vault has obsidian-skills installed in .claude/skills/. Follow these skill conventions: The vault includes a dormant prompt library (240+ pages) and reasoning strategy library (9 pages) under docs/. Neither bloats .claude/commands/ by default. Standing commands: /thinking:reset, /thinking:eval, /thinking:cot are always available regardless of promotion state. Defined in .claude/commands/. See .claude/core/reference/SYSTEM-INDEX.md for the full registry.

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

27 rules. About 0 are common, 9 are distinctive, and 18 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 18

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never modify .obsidian/ config files unless explicitly asked.

    line 7
  2. Very specific:

    When asked to "remember" something, write to the relevant brain/ topic note with a link to context.

    line 10
  3. Distinctive:

    Prefer Obsidian CLI over filesystem when Obsidian is running.

    line 11
  4. Distinctive:

    Always check for and suggest connections between notes.

    line 13
  5. Very specific:

    Every note must have a description field (~150 chars).

    line 14
  6. Distinctive:

    Zero data loss: when reorganizing, always use git mv (or your file manager if not using git).

    line 15
  7. Very specific:

    North Star: Read brain/NORTH_STAR.md at session start.

    line 16
  8. Very specific:

    json-canvas: Create .canvas files with nodes, edges, and visual layouts.

    line 24
  9. Very specific:

    obsidian-bases: Create .base files with views, filters, and formulas.

    line 25
  10. Very specific:

    project-management: Create, track, and archive domain-scoped projects.

    line 28
  11. Distinctive:

    create-agent: Create and validate Domain Agents — interactive, domain-bound agents for focused context work.

    line 30
  12. Very specific:

    prompts: Search, promote, and demote atomic prompt pages.

    line 31
  13. Very specific:

    strategy: Search, promote, and demote reasoning strategy pages.

    line 32
  14. Very specific:

    All input enters through inbox/.

    line 65
  15. Very specific:

    End Session: When you ask to "wrap up", invoke /close-day to review notes, update indexes, check for orphans, and commit changes.

    line 72
  16. Very specific:

    Thinking Notes: Use thinking/YYYY-MM-DD-topic.md for reasoning, ongoing research, and scratchpads (status: thinking).

    line 73
  17. Very specific:

    Naming conventions: Use descriptive titles for normal notes.

    line 80
  18. Distinctive:

    A note without links is a bug: Every new note must link to at least one existing note.

    line 84
  19. Distinctive:

    WINS → Work note: every entry links to evidence.

    line 88
  20. Distinctive:

    Update these when creating or archiving notes:

    line 93
  21. Very specific:

    Create in work/ using the Decision Record template

    line 104
  22. Very specific:

    Add to the Decisions Log table in work/INDEX.md

    line 106
  23. Very specific:

    If significant, note in brain/LOGIC.md

    line 107
  24. Very specific:

    When significant work is completed, add a new entry to work/05_REVIEW/WINS.md (in the relevant quarter section) with links to the work …

    line 111
  25. Distinctive:

    When explicitly asked to "remember" something, or when a session ends and durable learnings have emerged:

    line 119
  26. Distinctive:

    Use the routing table to select the destination.

    line 121
  27. Very specific:

    Write with a [[wikilink]] to the source context.

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Awesome Second Brain

Awesome Second Brain vault — Obsidian-based personal knowledge system for work notes, decisions, performance tracking, and Claude context.

Rules

  • Never modify .obsidian/ config files unless explicitly asked.
  • Preserve existing frontmatter when editing notes.
  • Git sync is handled by the user's preferred method (obsidian-git, manual commits, etc.) -- don't configure git hooks or auto-commit.
  • When asked to "remember" something, write to the relevant brain/ topic note with a link to context. Never create memory files in ~/.claude/ -- they are not version-controlled.
  • Prefer Obsidian CLI over filesystem when Obsidian is running.
  • Skills are in .claude/skills/. Load a skill's SKILL.md on demand when the relevant operation is needed — do not preload all skills.
  • Always check for and suggest connections between notes.
  • Every note must have a description field (~150 chars). Claude fills this automatically.
  • Zero data loss: when reorganizing, always use git mv (or your file manager if not using git). Never delete without explicit user confirmation.
  • North Star: Read brain/NORTH_STAR.md at session start. Reference it when suggesting priorities or trade-offs. Update it when the user signals a shift in goals.

Skills & Capabilities

This vault has obsidian-skills installed in .claude/skills/. Follow these skill conventions:

  • obsidian-markdown: Obsidian-flavored markdown -- wikilinks, embeds, callouts, properties. Always prefer [[wikilinks]] over markdown links.
  • obsidian-cli: CLI commands for vault operations when Obsidian is running.
  • json-canvas: Create .canvas files with nodes, edges, and visual layouts.
  • obsidian-bases: Create .base files with views, filters, and formulas. Bases core plugin is enabled.
  • defuddle: Extract clean markdown from web pages via defuddle parse <url> --md.
  • qmd: Semantic search across the vault via QMD. Use PROACTIVELY before reading files -- qmd query "..." for hybrid search, qmd search "..." for keyword, qmd vsearch "..." for semantic. Falls back to grep/glob if QMD not installed.
  • project-management: Create, track, and archive domain-scoped projects. Aggregates tasks from all sources into dashboards/TASKS.md with bidirectional sync.
  • daily-rituals: Structured daily and weekly planning cycle. Enhances /open-day and /close-day with daily notes in plan/. Adds /week-prep, /week-close (with synthesis), and /week-cycle.
  • create-agent: Create and validate Domain Agents — interactive, domain-bound agents for focused context work.
  • prompts: Search, promote, and demote atomic prompt pages. Dormant prompts live in docs/prompts/; promoted ones get a /prompts:<slug> command.
  • strategy: Search, promote, and demote reasoning strategy pages. Dormant strategies live in docs/strategies/; promoted ones get a /thinking:<slug> command.

Prompts & Strategies

The vault includes a dormant prompt library (240+ pages) and reasoning strategy library (9 pages) under docs/. Neither bloats .claude/commands/ by default. Standing commands: /thinking:reset, /thinking:eval, /thinking:cot are always available regardless of promotion state.

Custom Slash Commands

Defined in .claude/commands/. See .claude/core/reference/SYSTEM-INDEX.md for the full registry.

Vault Structure

FolderPurposeKey Subfolders / Files
dashboards/Navigation dashboardsHOME.md, TASKS.md
inbox/Capture entry pointraw/ (unprocessed), ready/ (classified, awaiting distribution)
domains/Organized knowledge areas — each domain has its own projects, pages, archive[Name]/INDEX.md, 01_PROJECTS/, 02_PAGES/, 05_ARCHIVE/
work/Cross-domain work — incidents, 1-1s, decisions that span domainsINDEX.md, 01_PROJECTS/, 02_1-1/, 03_INCIDENTS/, 04_PAGES/, 05_REVIEW/, 06_ORG/, 07_ARCHIVE/
brain/Agent's operational knowledgeMEMORIES.md, LOGIC.md, RULES.md, CAVEATS.md, SKILLS.md, NORTH_STAR.md, USER.md, CACHE.md
thinking/Temporary notes — reasoning scratchpads, ongoing research (status: thinking)YYYY-MM-DD-topic.md
plan/Daily notes and weekly planning filesDD-MM-YY.md (daily), W[x]_YYYY-MM-DD.md (weekly), archive/
bases/Obsidian Bases — dynamic views for navigationIncidents, People Directory, 1-1 History, Domains, Templates

Domain-scoped content goes in domains/[Name]/. Cross-domain work (incidents, 1-1s, multi-area decisions) stays in work/. When unsure, default to domain.


Content Lifecycle

Three content types: Notes (temporary, in inbox/ or thinking/), Pages (permanent, in domains/ or work/), Planning notes (in plan/, never promoted). Notes promote to pages via /distribute (simple, split, absorb, or thinking). Status flow: unprocessed → thinking or ready → processed.

Inbox & Capture Flow

All input enters through inbox/. Three stages: (1) /capture → inbox/raw/ (unprocessed), (2) /process → inbox/ready/ (classified), (3) /distribute → domains/ or work/ (promoted to page). /dump does all 3 in one shot.


Session Workflow

  • Start Session: The SessionStart hook injects your context automatically. For a structured morning kickoff, use /open-day.
  • End Session: When you ask to "wrap up", invoke /close-day to review notes, update indexes, check for orphans, and commit changes.
  • Thinking Notes: Use thinking/YYYY-MM-DD-topic.md for reasoning, ongoing research, and scratchpads (status: thinking). When ready to make insights permanent, run /process to classify them, then /distribute to promote to pages. Alternatively, use /dump for direct, high-confidence routing.

Creating Notes

  1. Always use correct YAML frontmatter: Consult .claude/core/reference/ASSET-CLASSES.md for exact schemas. The PostToolUse hook (validate-write.ts) will automatically enforce compliance via Zod schemas.
  2. Use templates from .claude/core/system/templates/. Fill {{placeholders}} with real values.
  3. Place files correctly: Adhere strictly to the Vault Structure table defined above.
  4. Naming conventions: Use descriptive titles for normal notes. For projects, use PROJECT_UPPER_SNAKE.md. For ad-hoc tasks not tied to a project, use AD_HOC_TASKS.md. For index/review files, use ALL_CAPS.md (e.g. WINS.md).

Linking

A note without links is a bug. Every new note must link to at least one existing note. Prefer bidirectional links. Before writing, ask: "Does this cover 3+ independent concepts?" — if so, split into atomic pages.

Key linking patterns:

  • Work ↔ Decision: bidirectional. Work → Person/Team/Competency: in ## Related.
  • WINS → Work note: every entry links to evidence. Memories → Source: every memory links to context.
  • Index → Everything: work/INDEX.md links to all work notes. North Star → Projects: active focus areas link to project notes.

Maintaining Indexes

Update these when creating or archiving notes:

  • work/INDEX.md -- add to Active Projects or Recent Notes, move completed to Archive
  • brain/MEMORIES.md -- index of memory topics. Add new memories to the relevant topic note, not here.
  • brain/SKILLS.md -- register vault-specific workflows and slash commands
  • work/06_ORG/PEOPLE.md -- update when people or org structure changes
  • work/06_ORG/TEAMS.md -- update when teams change
  • work/05_REVIEW/WINS.md -- log wins with links to evidence, add new quarter sections as needed

Decision Records

  1. Create in work/ using the Decision Record template
  2. Link from the work note(s) that led to the decision
  3. Add to the Decisions Log table in work/INDEX.md
  4. If significant, note in brain/LOGIC.md

Wins & Achievements

When significant work is completed, add a new entry to work/05_REVIEW/WINS.md (in the relevant quarter section) with links to the work note(s). Categorize under Impact, Technical Growth, Collaboration, or Feedback.

Frontmatter

Frontmatter schemas are enforced by validate-write.ts via Zod. See .claude/core/reference/ASSET-CLASSES.md for canonical schemas per asset class.

Memory System

When explicitly asked to "remember" something, or when a session ends and durable learnings have emerged:

  1. Use the routing table to select the destination.
  2. Write with a [[wikilink]] to the source context.
  3. Mark new entries as [observation].

Brain File Routing Table

Apply this table before any session ends. Every durable learning goes to exactly one file.

What was learnedDestination
A decision was made with rationalebrain/LOGIC.md
A recurring pattern confirmedbrain/RULES.md
Something broke or was surprisingbrain/CAVEATS.md
A new skill or workflow discoveredbrain/SKILLS.md
User preferences or context updatedbrain/USER.md
Goals or focus shiftedbrain/NORTH_STAR.md
New contact or person referencedbrain/CONTACTS.md
An ingested sourcebrain/INGEST_LOG.md
Durable but doesn't fit aboveNew brain/ topic note + add to MEMORIES.md

Content Promotion Lifecycle

Brain note entries carry an optional inline maturity marker: [observation] (default, single session) → [confirmed] (3+ sessions) → [canonical] (survived a quarter). Promote during /close-day or weekly review.

Agent Guidelines

  • Graph-first: Folders group by purpose, links group by meaning. Prefer bidirectional links. Before creating subfolders, ask: "Can I solve this with a tag or link?"
  • Don't mix contexts: Project evidence → work/ notes. Review prep → work/05_REVIEW/. People dynamics → work/06_ORG/PEOPLE.md. Skip non-review-relevant personal conversations.

Agent System

Two agent types in .claude/agents/: Subagents (task-bound, have maxTurns, invoked by commands) and Domain Agents (interactive, no maxTurns, invoked by user via /agent:[name]). See .claude/core/reference/SYSTEM-INDEX.md for the full registry.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.