**claude-code-auto-memory** banner
severity1 severity1

**claude-code-auto-memory**

Development community intermediate

Description

**Your CLAUDE.md, always in sync.** Minimal tokens. Zero config. Just works.

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-code-auto-memory

**Your CLAUDE.md, always in sync.** Minimal tokens. Zero config. Just works.

A Claude Code plugin that watches what Claude Code edits, deletes, and moves - then quietly updates your project memory in the background. No manual maintenance needed.

[](https://claude.ai/code) [](LICENSE) []() []()

The Problem

CLAUDE.md files become stale as codebases evolve:

  • Build commands change but memory stays outdated
  • Architecture shifts go unrecorded
  • Code conventions drift without memory updates
  • New team members get incorrect context

**Manual maintenance is tedious and often forgotten.**

The Solution

claude-code-auto-memory automatically updates CLAUDE.md when Claude Code makes changes. Processing happens in an isolated agent, so it doesn't consume your main conversation's context window.

Claude Code edits code -> Plugin tracks changes -> Isolated agent updates memory -> Context stays fresh

Features

  • Automatic sync: Tracks Edit/Write/Bash operations and updates CLAUDE.md at end of turn
  • Bash operation tracking: Detects rm, mv, git rm, git mv, unlink commands
  • Minimal-token tracking: PostToolUse hook has no output; stop hook triggers isolated agent
  • Isolated processing: Agent runs in separate context window, doesn't consume main session tokens
  • Marker-based updates: Only modifies AUTO-MANAGED sections, preserves manual content
  • Subtree support: Hierarchical CLAUDE.md for monorepos

Installation

From Marketplace

claude plugin marketplace add severity1/severity1-marketplace
claude plugin install auto-memory@severity1-marketplace

Local Development

# Add local marketplace
claude plugin marketplace add /path/to/claude-code-auto-memory/.dev-marketplace/.claude-plugin/marketplace.json

# Install from local
claude plugin install auto-memory@local-dev

Commands

`/auto-memory:init`

...