codebase-analyzer
This skill should be used when the user asks to "initialize auto-memory", "create CLAUDE.md", "set up project memory", or runs…
Process file changes and update CLAUDE.md memory sections. Use when the memory-updater agent needs to analyze dirty files, update AUTO-MANAGED sections, verify content removal, or detect stale commands. Invoked after file edits to keep project memory in sync.
$ npx -y skills add severity1/claude-code-auto-memory --skill memory-processor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memory-processorContext preview
The summary Claude sees to decide when to auto-load this skill.
Process file changes and update CLAUDE.md memory sections. Use when the memory-updater agent needs to analyze dirty files, update AUTO-MANAGED sections, verify content removal, or detect stale commands. Invoked after file edits to keep project memory in sync.
name: memory-processor description: Process file changes and update CLAUDE.md memory sections. Use when the memory-updater agent needs to analyze dirty files, update AUTO-MANAGED sections, verify content removal, or detect stale commands. Invoked after file edits to keep project memory in sync.
Process changed files and update relevant memory file sections (CLAUDE.md or AGENTS.md, whichever is the active file per project config) following official guidelines.
**MANDATORY**: All rules below must be followed exactly. Violations produce incorrect CLAUDE.md content.
@../shared/references/guidelines.md
1. **Parse context**: Read context provided by memory-updater agent:
2. **Categorize changes**: Map files to CLAUDE.md sections using the tables in "Section Names" below. Match changed files to their update triggers.
3. **Analyze impact**: Determine what needs updating:
4. **Verify and update content**: Before modifying documented content, verify accuracy:
**Key distinction - conventions vs patterns:**
**Removal verification:**
**Stale command detection:**
**Examples:**
5. **Update memory file**: Modify relevant sections in the active memory file:
6. **Validate**: Ensure updates follow guidelines:
CLAUDE.md uses HTML comment markers for selective updates:
<!-- AUTO-MANAGED: section-name --> Content that will be automatically updated <!-- END AUTO-MANAGED --> <!-- MANUAL --> Content that will never be touched <!-- END MANUAL -->
| Section | Purpose | Update Triggers | |---------|---------|-----------------| | `project-description` | Project overview | README changes, major refactors | | `build-commands` | Build, test, lint commands | package.json, Makefile, pyproject.toml | | `architecture` | Directory structure, components | New dirs, renamed files, structural changes | | `conventions` | Naming, imports, code standards | Pattern changes in source files | | `patterns` | AI-detected coding patterns | Repeated patterns across files | | `git-insights` | Decisions from git history | Significant commits | | `best-practices` | From official Claude Code docs | Manual updates only |
| Section | Purpose | Update Triggers | |---------|---------|-----------------| | `module-description` | Module purpose | Module README, major changes | | `architecture` | Module structure | File changes within module | | `conventions` | Module-specific conventions | Pattern changes in module | | `dependencies` | Key module dependencies | Import changes, package updates |
Return a brief summary:
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.
This skill should be used when the user asks to "initialize auto-memory", "create CLAUDE.md", "set up project memory", or runs…