Help us improve
Share bugs, ideas, or general feedback.
From auto-memory
Processes file changes to update CLAUDE.md or AGENTS.md memory sections after edits. Analyzes dirty files, AUTO-MANAGED areas, verifies removals via grep, detects stale commands.
npx claudepluginhub severity1/severity1-marketplace --plugin auto-memoryHow this skill is triggered — by the user, by Claude, or both
Slash command
/auto-memory:memory-processorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
Updates CLAUDE.md files with non-obvious conventions and gotchas from staged git changes. Activates on user requests like 'update CLAUDE.md' or significant code modifications.
Audits, assesses quality, and improves project memory files like CLAUDE.md: discovers files, scores across 6 dimensions (0-100/A-F), reports issues, applies targeted updates with approval.
Audits Claude Code context files (CLAUDE.md, MEMORY.md, skills, agents, commands, plugins) for outdated claims, contradictions, and risky/ambiguous wording. Outputs prioritized improvement reports to .drift-reports/.
Share bugs, ideas, or general feedback.
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
Parse context: Read context provided by memory-updater agent:
Categorize changes: Map files to CLAUDE.md sections using the tables in "Section Names" below. Match changed files to their update triggers.
Analyze impact: Determine what needs updating:
Verify and update content: Before modifying documented content, verify accuracy:
Key distinction - conventions vs patterns:
conventions: Explicit rules humans decided (naming, imports, formatting)patterns: Implicit patterns AI detected from recurring code structuresRemoval verification:
Stale command detection:
python pytest | Actually worked: python -m pytest → Updatenpm test | Actually worked: npm run test → Updatepytest tests/ | Actually worked: uv run pytest → UpdateExamples:
@decorator removed → search grep -r "@decorator" src/async/await style removed → search for async function or awaitutils/ directory deleted → verify no utils/ references remainnpm run dev removed from package.json → verify script is goneUpdate memory file: Modify relevant sections in the active memory file:
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 |
@path/to/file) for detailed specsReturn a brief summary: