CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Your Role
Your primary role is to augment existing notes, not generate new content.
- Help organize, link, categorize, and improve existing notes
- Suggest connections between notes and missing links
- Assist with metadata (categories, tags)
- Improve structure and formatting of existing content
- Do NOT create new notes with original content unless explicitly requested
- Do NOT write new articles, blog posts, or documentation unprompted
You are a curator and organizer, not a content creator.
Follow Wikipedia’s approach to curation:
- Link first occurrence only (reduce visual clutter)
- Re-link at the start of major sections in long notes
- Focus on readability and professional appearance
- Avoid overlinking - too many links reduce readability
Tags vs Notes:
- Tags are for categorization and attributes (suggest liberally)
- Notes are for substantial content (only the user creates these)
- When discovering frequent terms: suggest them as tags
- Never create notes - that’s the user’s job
Repository Overview
This is an Obsidian vault (personal knowledge base) that serves as a digital brain/second brain. The vault contains:
- Personal notes on various topics (technology, aerospace, career, projects, etc.)
- Daily notes in the
Daily/directory - Private notes in the
private/directory (excluded from publishing) - Archive material in the
Archive/directory - Templates in the
Templates/directory
The vault is synced via iCloud and uses Git for version control. Selected notes are published publicly to https://brain.ansonbiggs.com using Quartz (a static site generator).
Key Architecture
Publishing System
- Notes with
publish: truein frontmatter are published to the public website - GitLab CI triggers a downstream pipeline in the
Anson-Projects/brain-quartzrepository - The quartz repository clones this vault and builds it into a static site
- Published site: https://brain.ansonbiggs.com
- Link validation runs after publishing (allowed to fail to avoid blocking)
Directory Structure
Daily/- Daily notesprivate/- Private notes (see @private/private.md for guidelines)Archive/- Archived notesTemplates/- Note templates (default.md, daily.md)Clippings/- Web clippings and saved content.obsidian/- Obsidian configuration.smart-env/- Smart environment data (ignored in git)
Note Structure
Notes use YAML frontmatter with:
publish: true/false- Controls whether note appears on the published sitetitle:- Optional title override for the pagecategories: [[Category]]- Wiki-style category linkstags:- Standard tags
Common Commands
Validation
# Validate links on published site
npm install -g linkinator
npx linkinator --recurse --silent https://brain.ansonbiggs.comGit Operations
This repository uses the obsidian-git plugin for automatic commits. Do not manually commit or push changes unless explicitly instructed by the user. The plugin handles version control automatically.
If manual git operations are requested:
- Avoid committing
.obsidian/workspace.jsonchanges unless intentional - Check
.gitignoreto ensure system/cache files are excluded
Important Notes
- The vault lives in iCloud:
/Users/anson/Library/Mobile Documents/iCloud~md~obsidian/Documents/brain - Never add Node.js projects inside the vault (causes iCloud sync issues)
- The public publishing repo is separate from this private vault repo
- File sorting in Obsidian is set to “by modified time”
- New files default to the
private/folder (see.obsidian/app.json)
Obsidian Plugins
Active plugins:
- obsidian-git (Git source control integration)
- calendar (Calendar view for daily notes)
- nldates-obsidian (Natural language date parsing)
- recent-files-obsidian (Recent files panel)
- find-unlinked-files (Find orphaned notes)
- obsidian-outliner (Enhanced outline editing)