User Claude MD Plugin
No description provided
About This Project
User-Claude-MD is a Claude Code plugin for maintaining the user-level ~/.claude/CLAUDE.md file and its companion context directory, ~/.claude/context/. Because the user-level CLAUDE.md is loaded into every Claude Code session, the plugin supports a split structure in which the main file serves as a short index containing identity, working-style preferences, and a pointer table, while topic-specific reference material is stored in separate markdown files that are loaded only when needed. This approach keeps always-on context small and token-efficient without discarding detailed reference material.
The plugin exposes four slash commands under the /user-claude-md namespace: chunk-user-claude, which prunes the main file and moves supplementary sections into appropriate context files; user-claude-health, which audits file size, pointer-table drift, duplication, and MEMORY.md size; list-user-context, which inventories context files with line counts and summaries; and edit-user-context, which performs targeted edits or creates new context files while updating the pointer table. It also includes an auto-loaded skill that gives agents the reference rules for deciding where a piece of global user context belongs. The project is written for Claude Code, is distributed through a marketplace, and is released under the MIT license. It adapts chunking and health-check patterns from a repository-level counterpart, Claude-Meta-Tools-Plugin.
This tool is most useful for Claude Code users who have accumulated a large global CLAUDE.md and want to reduce per-session token overhead without losing reference content. It may also interest developers building context-management workflows for AI coding agents who want a concrete example of splitting persistent instructions into an index and on-demand documents.