update-claudemd — Claude Code plugin: keeps CLAUDE.md in sync
update-claudemd rewrites CLAUDE.md based on recent code changes. Useful when you need docs that stay current.
Apache-2.0 ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install update-claudemd@awesome-claude-code-pluginsWhat update-claudemd does
update-claudemd watches your code and updates CLAUDE.md to match. Run it manually or hook it to commits so the agent context file reflects what's actually in the project.
CLAUDE.md holds the map for the agent: where things live, how the architecture works, what conventions apply. When the code changes but the file doesn't, the agent navigates by an outdated map. This plugin fixes that by analyzing diffs and rewriting the doc.
Fits projects with frequent refactors or team setups where CLAUDE.md serves as the single source of truth.
What it helps with
- refresh CLAUDE.md after refactoring
- keep docs synchronized with code
- maintain agent context automatically
Example prompts for the agent
- Update
CLAUDE.mdbased on the last five commits - Sync
CLAUDE.mdwith current project state - Rewrite
CLAUDE.mdafter moving modules
How to install update-claudemd
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install update-claudemd@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about update-claudemd
How to install update-claudemd in Claude Code?
Run /plugin marketplace add ccplugins/awesome-claude-code-plugins, then /plugin install update-claudemd@awesome-claude-code-plugins.
What does update-claudemd do?
It rewrites CLAUDE.md based on recent code changes so the agent context stays accurate.
When do I need update-claudemd?
When you refactor often and want CLAUDE.md to automatically reflect the new structure.
Source text
update-claudemd · Apache-2.0
Automatically update CLAUDE.md file based on recent code changes
© Anand Tyagi · Apache-2.0 · ccplugins/awesome-claude-code-plugins