claude-memory

Organize CLAUDE.md memories and modular rules for Claude Code projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cedricfressin/claude-config --skill claude-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-memory
Source: https://github.com/cedricfressin/claude-config/tree/main/skills/meta-claude-memory
Command: npx skills add https://github.com/cedricfressin/claude-config --skill claude-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill organizes CLAUDE.md memories and modular rules to improve context retention and retrieval in Claude Code projects.

Core Features & Use Cases

  • Centralized memory management: supports both CLAUDE.md single-file memories and modular .claude/rules/ rules.
  • Structured guidance: includes WHAT-WHY-HOW guidance for memory setup, hierarchy, and anti-patterns.
  • Collaboration and maintenance: supports symlinks and versioned memory rules for team projects.

Quick Start

Run /init to auto-generate a CLAUDE.md memory and project structure, or create manually at the project root using the templates described in the skill.

Frequently Asked Questions about claude-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize CLAUDE.md memory files for better context retention in Claude Code?

Organize CLAUDE.md memory by using structured frontmatter, defining a memory loading order, and choosing between a single-file approach or a modular `.claude/rules/` directory to improve context retrieval across projects.

What's the best way to structure modular rules when a single CLAUDE.md file isn't enough for my project?

For complex projects, transition from a single CLAUDE.md file to a modular `.claude/rules/` directory. This approach enforces structured frontmatter and memory loading order to maintain context retention at scale.

Can I share Claude Code memory rules across multiple team projects?

Yes, you can share Claude Code memory rules across team projects by using symlinks and versioned memory rules, enabling consistent context management and collaborative maintenance workflows.

How do I auto-generate a CLAUDE.md file and project structure from scratch?

Auto-generate a CLAUDE.md file and project structure by running the `/init` command, or manually create the memory file at the project root using the provided templates and WHAT-WHY-HOW guidance.

What anti-patterns should I avoid when setting up Claude Code context management?

Avoid context management anti-patterns by following the skill's WHAT-WHY-HOW guidance for memory setup and hierarchy, ensuring structured frontmatter and proper memory loading order to prevent retrieval issues.

Does Claude Code context management work for small projects or is it only for large codebases?

Claude Code context management works across projects of any size, supporting either a single CLAUDE.md memory for simpler workflows or a modular `.claude/rules` directory to suit complex project requirements.