Claude Code config
Claude Diary
A simple memory system for claude code
Install
git clone https://github.com/rlancemartin/claude-diary.gitFrom the README
Claude Diary A long-term memory plugin for Claude Code that learns from your activity over time and continuously improves Claude's understanding of your preferences, patterns, and workflows. - Diary: Generate a diary entry for any Claude Code session - Reflection: Performs reflection across multiple diary entries - Memory: Reflection updates your CLAUDE.md with observed patterns and preferences Read more: Blog post Quickstart 1. Clone this repository: 2. Install commands: 3. Install PreCompact hook (for auto-diary generation): 4. Configure the hook in settings: Add the following to ~/.claude/settings.json (global) or .claude/settings.local.json (project-specific): Alternatively, use the interactive command: Then select PreCompact event, auto matcher, and enter bash ~/.claude/hooks/pre-compact.sh as the command. 5. Use the system: - Run /diary after important sessions (or let the PreCompact hook auto-generate) - After any collection of diary entries, run /reflect to analyze patterns - CLAUDE.md automatically updated with learnings Overview CLAUDE.md files serve as long-term memory for Claude Code. But, they are typically updated manually (e.g., via the # shortcut or /memory command). This plugin aims to automates the process of updating CLAUDE.md with the learnings from your activity over time. It is inspired by an interview between Dan Shipper and Cat Wu / Boris Cherny from the Claude Code team, which mentions that some Anthropic employees have started generating diary entries for Claude sessions and performing reflection over them. The approach follows that general flow, and also borrows ideas from the Generative Agents paper, which introduces a memory architecture with three key components: 1. Observations: Raw experiences recorded in…
Details
- Repository
- rlancemartin/claude-diary
- Type
- Config & memory
- Language
- Shell
- License
- MIT
- Last updated
- 17 December 2025
FAQ
What is Claude Diary?
A simple memory system for claude code It is a config for Claude Code, from rlancemartin/claude-diary on GitHub.
How do I install Claude Diary?
Clone rlancemartin/claude-diary from GitHub and follow the setup steps in its README.
Is Claude Diary popular?
rlancemartin/claude-diary has 383 GitHub stars and 37 forks. It was last updated on 17 December 2025.
More config & memory
AI OS Maps Guide
355pavrus117/ai-os-maps-guide
Free MAPS guide: set up your own AI operating system on Claude Code (Memory, Agent, Pulse, Screen) — one prompt per layer
coding_agent_account_manager
213Dicklesworthstone/coding_agent_account_manager
Fast auth and account switching for Claude Code and other AI coding CLIs.
Evolving Agents
457EvolvingAgentsLabs/evolving-agents
A director agent that learns how your team works: it plans by walking your CLAUDE.md and memory as linked statements, delegates to Claude Code or local models, and keeps each lesson as a gated, versioned patch. Measured: 0.929 vs 0.589.
Agent Config
381brianlovin/agent-config
My coding agent config
MemoMind
60224kchengYe/MemoMind
Give your AI agent a brain that remembers. Local memory system for Claude Code — 100% private, GPU-accelerated, zero cloud dependency.
Agent Memory Vault
343mcncarl/agent-memory-vault
Markdown-first shared memory vault for Claude Code and Codex with SQLite, Zvec, Git, closeout, and audit
Browse the most popular Claude Code mods, all config & memory, or the skills and MCP server directories.