claude-code-blueprint / memory
CLAUDE.md73 starsChanged 4 months agoMITView on GitHub
Markdown-based persistent memory system for AI assistants. Used by Claude Code to maintain context across sessions.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- changelogSkill
- db-checkSkill
- deploy-checkSkill
- e2e-checkSkill
- elicit-requirementsSkill
- load-sessionSkill
- pr-reviewSkill
- register-projectSkill
- review-diffSkill
- review-fullSkill
- save-diarySkill
- save-sessionSkill
- scaffold-projectSkill
- self-auditSkill
- session-endSkill
- sprint-planSkill
- statusSkill
- tech-radarSkill
- test-checkSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 16
Session Start: Read core/session.md to recall where we left off
- Distinctive: line 17
During Session: No need to constantly update files.
- Distinctive: line 18
Session End: When the user says "save" or the session is wrapping up, update:
- Very specific: line 26
Use templates/coding-template.md for new project entries
- Distinctive: line 36
Don't commit sensitive data (API keys, passwords, PII, tokens)
- Distinctive: line 37
Don't store code here, this is for context only
- Distinctive: line 38
Don't delete diary entries (they form the session history)
≈ “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.
Files
Memory System
Markdown-based persistent memory system for AI assistants. Used by Claude Code to maintain context across sessions.
Purpose
This is NOT a code project, it is a structured knowledge base. Files here are read/written by Claude Code to maintain development context, user preferences, and project state.
Key Files
core/identity.md: AI personality and communication style configcore/preferences.md: User preferences, work patterns, tech stack knowledgecore/session.md: Working memory. Update at session end.core/reminders.md: Persistent reminders that survive session changescore/decisions.md: Append-only architectural decision log
Session Protocol
- Session Start: Read
core/session.mdto recall where we left off - During Session: No need to constantly update files; focus on the work
- Session End: When the user says "save" or the session is wrapping up, update:
core/session.mdwith current topic, progress, next stepscore/preferences.mdif new preferences or patterns were discoveredcore/reminders.md: move completed items, add new onesdiary/if this was a significant session (new feature shipped, major bug fixed, etc.)
Project System
- Active projects tracked in
projects/active/ - Use
templates/coding-template.mdfor new project entries - Max 10 active projects; oldest auto-archived
Integration with Claude Code
This repo complements (does not replace) Claude Code's native memory:
- Claude Code's
MEMORY.mdstores technical facts (gotchas, patterns, configs) - This system stores relational context (preferences, session history, communication style)
- Both are read at session start for full context restoration
Don't
- Don't commit sensitive data (API keys, passwords, PII, tokens)
- Don't store code here, this is for context only
- Don't delete diary entries (they form the session history)
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
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.

