# auto-memory — Keep CLAUDE.md Always in Sync > Claude Code plugin that keeps CLAUDE.md in sync with file changes; verified 143★ with marketplace install and `/auto-memory:*` commands. ## Install Copy the content below into your project: ## Quick Use ```bash claude plugin marketplace add severity1/severity1-marketplace claude plugin install auto-memory@severity1-marketplace /auto-memory:init /auto-memory:status ``` ## Intro Claude Code plugin that keeps CLAUDE.md in sync with file changes; verified 143★ with marketplace install and `/auto-memory:*` commands. **Best for:** Claude Code users who rely on CLAUDE.md and want it to stay fresh without manual edits **Works with:** Claude Code plugin system (marketplace), PostToolUse/Stop hooks, monorepos with multiple CLAUDE.md files **Setup time:** 6-12 minutes ### Key facts (verified) - GitHub: 143 stars · 12 forks · pushed 2026-04-18. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-backed entrypoint: `claude plugin install auto-memory@severity1-marketplace`. ## Main - Use it as “always-on repo memory”: it tracks Edit/Write/Bash operations and updates CLAUDE.md in an isolated agent so your main session stays lean. - The plugin uses marker-based updates (AUTO-MANAGED sections) so you can keep manual parts stable while letting the tool refresh build/architecture/conventions. - Use `/auto-memory:sync` after manual IDE edits and `/auto-memory:calibrate` when your repo structure changed significantly. ### Source-backed notes - README shows marketplace install: `claude plugin marketplace add ...` then `claude plugin install auto-memory@...`. - README documents commands: `/auto-memory:init`, `/auto-memory:calibrate`, `/auto-memory:sync`, `/auto-memory:status`. - README describes marker-based sections (``) to preserve manual content. ### FAQ - **Does it consume my main context window?**: README says updates run in an isolated agent so it doesn’t consume the main conversation context. - **What does it track?**: README lists Edit/Write/Bash operations and file move/delete commands to detect dirty files. - **How do I start from scratch?**: Run `/auto-memory:init` to initialize the CLAUDE.md structure with an interactive wizard. ## Source & Thanks > Source: https://github.com/severity1/claude-code-auto-memory > License: MIT > GitHub stars: 143 · forks: 12 --- ## Quick Use ```bash claude plugin marketplace add severity1/severity1-marketplace claude plugin install auto-memory@severity1-marketplace /auto-memory:init /auto-memory:status ``` ## Intro claude-code-auto-memory 是 Claude Code 插件:跟踪文件编辑/移动并自动更新 CLAUDE.md;已验证 143★,支持 marketplace 安装与 `/auto-memory:*` 指令。 **Best for:** 高度依赖 CLAUDE.md、但不想手动维护内容更新的 Claude Code 用户 **Works with:** Claude Code 插件系统(marketplace)、PostToolUse/Stop hooks,以及多 CLAUDE.md 的 monorepo **Setup time:** 6-12 minutes ### Key facts (verified) - GitHub:143 stars · 12 forks;最近更新 2026-04-18。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中可对照的入口命令:`claude plugin install auto-memory@severity1-marketplace`。 ## Main - 把它当成“常驻仓库记忆”:它跟踪 Edit/Write/Bash 操作,并用隔离 agent 更新 CLAUDE.md,避免占用主对话窗口。 - 插件用标记区块(AUTO-MANAGED)做定向更新,手写内容保持不动,自动区域可刷新构建/架构/规范等信息。 - 手动在 IDE 改完后用 `/auto-memory:sync`,仓库结构大变时用 `/auto-memory:calibrate` 重建记忆。 ### Source-backed notes - README 给出 marketplace 安装:`claude plugin marketplace add ...` + `claude plugin install auto-memory@...`。 - README 列出指令:`/auto-memory:init`、`/auto-memory:calibrate`、`/auto-memory:sync`、`/auto-memory:status`。 - README 说明用标记区块(``)做增量更新以保留手写内容。 ### FAQ - **会占用主对话的上下文吗?**:README 表示更新在隔离 agent 中运行,不消耗主对话上下文窗口。 - **它跟踪哪些操作?**:README 列出 Edit/Write/Bash 操作与 mv/rm 等命令,用于检测 dirty files。 - **如何从零开始初始化?**:运行 `/auto-memory:init`,通过交互式向导生成 CLAUDE.md 结构。 ## Source & Thanks > Source: https://github.com/severity1/claude-code-auto-memory > License: MIT > GitHub stars: 143 · forks: 12 --- Source: https://tokrepo.com/en/workflows/auto-memory-keep-claude-md-always-in-sync Author: Prompt Lab