agentleFS
sirdavidhuangsirdavidhuang/claude-code-skills/skills/obsidian-second-brain-skill/templates/CLAUDE.md

claude-code-skills / templates

CLAUDE.md0 starsChanged 9 months agoMITView on GitHub

This file helps Claude Code understand your vault's structure and conventions. Customize the sections below to match your personal knowledge management system. This is a personal knowledge management vault following [PARA/Zettelkasten/Johnny Decimal/Custom] methodology. Primary purposes: - Personal note-taking and journaling - Project documentation - Learning and research - [Add your specific use cases]

The file

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

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use [[wikilinks]] for all internal links (not markdown links)

    line 92
  2. Very specific:

    Use block references: [[Note#^block-id]]

    line 94
  3. Distinctive:

    Always add required frontmatter fields

    line 137
  4. Distinctive:

    Place in appropriate folder based on type

    line 138
  5. Distinctive:

    Use proper naming convention

    line 139
  6. Very specific:

    Update the updated timestamp

    line 145
  7. Very specific:

    Don't modify frontmatter created date

    line 148
  8. Distinctive:

    Update all wikilinks when moving files

    line 153
  9. Distinctive:

    Don't delete notes without confirmation

    line 154
  10. Distinctive:

    Consider wikilinks and backlinks

    line 159
  11. Distinctive:

    Look in appropriate folders first

    line 161
  12. Distinctive:

    Use tags to narrow scope

    line 162

≈ “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

Obsidian Vault Manifest

This file helps Claude Code understand your vault's structure and conventions. Customize the sections below to match your personal knowledge management system.

Vault Overview

<!-- Describe your vault's purpose and organization philosophy -->

This is a personal knowledge management vault following [PARA/Zettelkasten/Johnny Decimal/Custom] methodology.

Primary purposes:

  • Personal note-taking and journaling
  • Project documentation
  • Learning and research
  • [Add your specific use cases]

Folder Structure

<!-- Document your folder hierarchy -->
FolderPurposeNote Types
Inbox/Quick capture, unsortedFleeting notes
Projects/Active workProject notes, tasks
Areas/Ongoing responsibilitiesArea overviews
Resources/Reference materialsEvergreen notes
Archive/Completed/inactiveArchived projects
Daily/Daily notesJournal entries
Templates/Note templates-

Frontmatter Schema

<!-- Define your standard frontmatter fields -->

Required Fields (All Notes)

---
created: YYYY-MM-DDTHH:mm
updated: YYYY-MM-DDTHH:mm
tags:
  - category/subcategory
---

Project Notes

---
created: YYYY-MM-DDTHH:mm
updated: YYYY-MM-DDTHH:mm
type: project
status: active | paused | complete
priority: high | medium | low
due: YYYY-MM-DD
tags:
  - project/name
---

Daily Notes

---
created: YYYY-MM-DDTHH:mm
type: daily
date: YYYY-MM-DD
mood:
energy:
tags:
  - daily
  - YYYY
  - YYYY-MM
---

Naming Conventions

<!-- Document how files should be named -->
  • Regular notes: kebab-case-descriptive-title.md
  • Daily notes: YYYY-MM-DD.md in Daily/YYYY/MM/ folder
  • Project notes: PROJECT-name.md prefix
  • People notes: @firstname-lastname.md
  • Book notes: BOOK-title-author.md

Link Conventions

<!-- How internal linking should work -->
  • Use [[wikilinks]] for all internal links (not markdown links)
  • Link to specific headings: [[Note#Heading]]
  • Use block references: [[Note#^block-id]]
  • Alias display text: [[Long Note Name|Short Name]]

Tag Hierarchy

<!-- Your tag structure -->
#type/
  ├── note
  ├── project
  ├── daily
  ├── meeting
  └── reference

#status/
  ├── active
  ├── review
  ├── paused
  └── complete

#topic/
  └── [your topics]

#source/
  ├── book
  ├── article
  ├── video
  └── conversation

Important Files

<!-- Key notes Claude Code should be aware of -->
  • _index.md - Main dashboard / Map of Content
  • project-context.md - Current project context (if applicable)
  • _templates/ - Template files location

Claude Code Instructions

When Creating Notes

  1. Always add required frontmatter fields
  2. Place in appropriate folder based on type
  3. Use proper naming convention
  4. Add relevant tags
  5. Include backlinks to related notes

When Editing Notes

  1. Update the updated timestamp
  2. Preserve existing wikilinks
  3. Maintain block references (^block-id)
  4. Don't modify frontmatter created date

When Organizing

  1. Respect existing folder structure
  2. Update all wikilinks when moving files
  3. Don't delete notes without confirmation
  4. Archive instead of delete when possible

When Searching

  1. Consider wikilinks and backlinks
  2. Check frontmatter metadata
  3. Look in appropriate folders first
  4. Use tags to narrow scope

Automation Preferences

<!-- What Claude Code should do automatically -->

Always Do

  • Fix broken wikilinks
  • Add missing frontmatter to inbox notes
  • Update updated timestamp on edits

Ask First

  • Move notes between folders
  • Create new notes
  • Modify tag structure
  • Archive old notes

Never Do

  • Delete any notes
  • Modify .obsidian/ folder
  • Change plugin settings

Custom Commands

<!-- Common requests and expected behavior -->
CommandExpected Behavior
"Process inbox"Add frontmatter, suggest folders, add links
"Daily review"Summarize today's note, suggest tasks
"Find orphans"List unlinked notes
"Weekly summary"Create summary of week's notes

Notes

<!-- Any additional context -->
  • This vault is [private/shared/synced with X]
  • Primary device: [macOS/Windows/Linux]
  • Obsidian plugins in use: [Dataview, Templater, etc.]

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.