Claude Memory Skill — Development skill for Claude Code
Minimal, low-friction hierarchical memory system with background agents and filesystem-based persistence.
How to install Claude Memory Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hanfang/claude-memory-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Memory Skill does
Minimal, low-friction hierarchical memory system with background agents and filesystem-based persistence.
Alternatives in Development
- Friction Protocol — Friction protocol — convention 29.1k ★
- Ds Harness Remote — 基于 DeepSeek Harness 插件机制构建的远程访问方案,通过低延迟、端到端加密的 P2P 网络,支持使用 PC、移动端 和 Web 随时访问本地设备上的DSH 、CodeX、Cursor、Claude Cod 860 ★
- Engage.Install — Execute Phase 5 - Installation and Persistence Establishment 348 ★
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
Init Deep
Generate hierarchical CLAUDE.md project memory across the most complex directories.
Apex Contextfabric
Sovereign 32x KV-Cache Transform Coding (KVTC), Hierarchical Context Memory Storage (CMX) & Cross-Agent Attent
Swarm Brake
Stop Claude Code and Codex agent swarms from freezing your Mac. Heavy jobs like video renders, builds and head
ContextMesh
Intelligent context layer for Claude Code — infinite session memory, minimal active context
Armor Memory
ARMOR Minimal Stable is a deterministic shared memory architecture for Codex, Claude Code, and Hermes Agent.
Project Memory Template
Complexity-scaled project-memory scaffold (CLAUDE.md/PLAN.md/.claude/memory/CONTEXT.md/docs/adr), tiered minim
Related Agents
Hierarchical Knowledge Agent Skill Memory Curator
Dfir
Digital forensics and incident response specialist. Handles triage, memory acquisition with AVML/LiME, Volatil
Agent Safety Reviewer
Read-only review of model-facing behaviour: tool risk classification, approval gating and its UX, prompt-injec