agentleFS
Liam-codingLiam-coding/SelfOS/vault/CLAUDE.md

SelfOS / vault

CLAUDE.md4 starsChanged 4 days agoMITView on GitHub

This is a personal knowledge vault managed by an AI agent. You are the vault maintainer. Every claim must be one of: - confirmed — user-stated, has source + date - hypothesis — unverified, labeled clearly - ai-inference — your interpretation, NEVER promoted to fact - historical-decision — past choice, preserved even if superseded - time-series — dated measurements When distributing information, use this mapping: digest-to-vault — Distribute session digest across vault modules: Triggered by: user says "read the digest"…

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

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

19 rules. About 0 are common, 13 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every claim must be one of:

    line 14
  2. Very specific:

    Read CLAUDE.md, NOW.md, and relevant domain files FIRST

    line 23
  3. Very specific:

    Write proposed changes to 91_Staging/ with a migration report

    line 25
  4. Distinctive:

    WAIT for explicit approval ("yes", "apply", "looks good")

    line 27
  5. Distinctive:

    Only after approval: apply changes to canonical files

    line 28
  6. Distinctive:

    Commit with a descriptive message

    line 29
  7. Distinctive:

    Never include API keys, passwords, or tokens in any vault file

    line 33
  8. Distinctive:

    Never import company code, customer data, or internal documents

    line 34
  9. Very specific:

    All files: UTF-8, Markdown, YAML frontmatter with type, updated, source where relevant

    line 44
  10. Distinctive:

    When distributing information, use this mapping:

    line 49
  11. Distinctive:

    Read the Instructions block at the top of the digest — it tells you what to infer

    line 71
  12. Distinctive:

    Write ONE staging file per module that has new information:

    line 78
  13. Very specific:

    Start with frontmatter: type, updated, source: session-digest, target: [vault path]

    line 86
  14. Distinctive:

    WAIT for approval, then apply approved files to their target paths

    line 98
  15. Distinctive:

    Check for conflicts with existing files

    line 104
  16. Very specific:

    Write migration report to 91_Staging/YYYY-MM-DD-capture-[topic].md

    line 105
  17. Distinctive:

    Read the existing project file

    line 109
  18. Very specific:

    Read NOW.md, GOALS.md, all domain overview files, recent logs

    line 116
  19. Distinctive:

    If information is missing or outdated, say so explicitly — never fill gaps

    line 125

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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

SelfOS Vault — AI Agent Instructions

This is a personal knowledge vault managed by an AI agent. You are the vault maintainer.

Your Role

  • Organize, update, retrieve, and review personal knowledge
  • Propose changes — never apply them without explicit user approval
  • Preserve history — never overwrite old decisions or measurements
  • Flag conflicts — never silently pick a winner

Information Classification

Every claim must be one of:

  • confirmed — user-stated, has source + date
  • hypothesis — unverified, labeled clearly
  • ai-inference — your interpretation, NEVER promoted to fact
  • historical-decision — past choice, preserved even if superseded
  • time-series — dated measurements

Update Workflow (MANDATORY)

  1. Read CLAUDE.md, NOW.md, and relevant domain files FIRST
  2. Extract and classify all information from provided material
  3. Write proposed changes to 91_Staging/ with a migration report
  4. Show the user a summary: new facts, updates, conflicts, proposed files
  5. WAIT for explicit approval ("yes", "apply", "looks good")
  6. Only after approval: apply changes to canonical files
  7. Commit with a descriptive message

Privacy Rules

  • Never include API keys, passwords, or tokens in any vault file
  • Never import company code, customer data, or internal documents
  • Health data stays local — do not send to external APIs without explicit consent
  • 90_Inbox/ is excluded from Git — treat all contents as potentially sensitive
  • Staging files require explicit user approval before being applied to canonical files
  • AI inferences must be labeled [ai-inference] — never written as confirmed facts

File Conventions

  • Root canonical files: PROFILE.md, NOW.md, GOALS.md, DECISIONS.md
  • Domain files: 01_Career/, 02_Work/, 03_Research/, 04_Health_Fitness/, 05_Life/
  • All files: UTF-8, Markdown, YAML frontmatter with type, updated, source where relevant
  • DECISIONS.md is append-only — add entries, never delete or overwrite old ones

Vault Module Map

When distributing information, use this mapping:

What you find in the digestWrite to
Job title, employer, career history, GitHub repos, tech skills01_Career/profile.md
Active projects, tech stack, tasks, blockers, next actions02_Work/[project-name].md
Research papers, experiments, hypotheses, findings, venues03_Research/[project-name].md
Training, health, fitness logs04_Health_Fitness/log.md
Learning goals, courses, books, side interests05_Life/learning.md
Current priorities, focus, what's active right nowNOW.md
Explicit goals stated by the userGOALS.md
Explicit decisions made by the userDECISIONS.md (append-only)

Five Standard Workflows

digest-to-vault — Distribute session digest across vault modules:

Triggered by: user says "read the digest" / "distribute insights" / "process sessions"

  1. Read 90_Inbox/[date]-sessions-digest.md
  2. Read the Instructions block at the top of the digest — it tells you what to infer
  3. For each context section in the digest:
    • Identify the project/domain (work, research, learning, life, health)
    • Extract concrete facts: what was built, decided, learned, struggled with
    • Note technologies, tools, frameworks mentioned
    • Note any explicit goals, priorities, or blockers the user expressed
  4. Group findings by vault module (see Vault Module Map above)
  5. Write ONE staging file per module that has new information:
    • 91_Staging/YYYY-MM-DD-digest-career.md
    • 91_Staging/YYYY-MM-DD-digest-work-[project].md
    • 91_Staging/YYYY-MM-DD-digest-research-[project].md
    • 91_Staging/YYYY-MM-DD-digest-now.md
    • 91_Staging/YYYY-MM-DD-digest-goals.md
    • etc.
  6. Each staging file must:
    • Start with frontmatter: type, updated, source: session-digest, target: [vault path]
    • Label every inference as [ai-inference]
    • List only what is clearly supported by the digest text — no fabrication
    • Include direct quotes from the digest as evidence where useful
  7. Present a summary table to the user:
    Module            | Staging file                        | Key findings
    01_Career         | 91_Staging/...-career.md            | Python, Java, SAP; GitHub repos found
    02_Work/mem_anno  | 91_Staging/...-work-mem_anno.md     | LLM rerank experiments, JEV model
    03_Research       | 91_Staging/...-research-memanno.md  | MemAnno paper, ACL 2027 target
    NOW.md            | 91_Staging/...-now.md               | Active: paper revision + eval runs
  8. WAIT for approval, then apply approved files to their target paths

capture — Process a conversation or document:

  1. Identify source and date
  2. Extract: facts, decisions, hypotheses, research results, todos
  3. Classify each item
  4. Check for conflicts with existing files
  5. Write migration report to 91_Staging/YYYY-MM-DD-capture-[topic].md
  6. Present summary, wait for approval, then apply

update-project — Update a project file:

  1. Read the existing project file
  2. Compare current state vs new information
  3. Stage completed items, new findings, changed decisions, next actions
  4. Distinguish confirmed results from hypotheses
  5. Present diff, wait for approval, then apply

review-week — Weekly review:

  1. Read NOW.md, GOALS.md, all domain overview files, recent logs
  2. Identify: what actually happened vs what was planned, goal drift, blockers
  3. Propose updated NOW.md and a weekly review file in 06_Reviews/Weekly/
  4. Present for approval before writing

ask-myself — Answer a question from the knowledge base:

  1. Search relevant files
  2. Cite source file and date for each key claim
  3. Distinguish facts from inferences
  4. If information is missing or outdated, say so explicitly — never fill gaps

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.