Claude Memory Skill
Description
``` ╔══●══●══●══════════════════════════════════════════════╗ ║ ║ ║ > tree ~/.claude/memory ║ ║ ║
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-memory-skill
╔══●══●══●══════════════════════════════════════════════╗
║ ║
║ > tree ~/.claude/memory ║
║ ║
║ ├── core.md claude-memory-skill ║
║ ├── topics/ ─────────────────── ║
║ │ └── *.md a skill is all you need ║
║ └── me.md ║
║ ║
╚═══════════════════════════════════════════════════════╝
*An embarrassingly simple and minimal implementation for agentic memory.*
No databases. No embeddings. No semantic search. Just markdown files and a skill that teaches Claude when to read and write.
The Problem
Claude Code forgets everything between sessions. Built-in auto-memory exists but:
- It's opaque (Claude decides what's "meaningful")
- Limited to 200 lines loaded at startup
- Not tightly integrated into the agentic loop
- No hierarchical organization (scales poorly)
The Solution
A skill-based memory protocol with:
- Hierarchical storage:
core.mdsummaries →topics/.mddetails - Background agents: Memory ops don't block the main agent
- Categorized entries: No dumping ground, everything has a topic
- Filesystem-based: Robust, inspectable, git-trackable
Installation
curl -fsSL https://raw.githubusercontent.com/hanfang/claude-memory-skill/main/install.sh | bash
Or clone and run locally:
git clone https://github.com/hanfang/claude-memory-skill.git
cd claude-memory-skill
./install.sh
What Gets Installed
~/.claude/
├── CLAUDE.md # Hook added (or created)
├── commands/
│ └── mem.md # The memory skill
└── memory/
├── core.md # Summaries + pointers (always loaded)
├── me.md # About you (always loaded)
...
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development