claude-context-manager

Maintain claude.md cognitive maps by monitoring and updating codebase context.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/AnthemFlynn/ccmp --skill claude-context-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-context-manager
Source: https://github.com/AnthemFlynn/ccmp/tree/main/plugins/claude-context-manager/skills/claude-context-manager
Command: npx skills add https://github.com/AnthemFlynn/ccmp --skill claude-context-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

AI agents often struggle with outdated or incomplete context, leading to inefficient work, errors, and repetitive explanations. This Skill automates the maintenance of AI-ready context, ensuring Claude always has the most accurate and actionable information about your codebase.

Core Features & Use Cases

  • Autonomous Context Management: Proactively monitors and updates claude.md files, acting as a dedicated context manager for your codebase.
  • Context Health Monitoring: Detects staleness and identifies areas needing attention, providing a health score and actionable recommendations.
  • Intelligent Updates: Surgically updates context based on code changes, preserving accurate content and adding newly discovered patterns.
  • Use Case: Imagine you've refactored a core module. Instead of manually updating documentation or re-explaining to Claude, this Skill automatically detects the changes, updates the relevant claude.md file, and ensures Claude's understanding is immediately current, saving you time and effort.

Quick Start

To assess the current context health of your repository, ask: "Run the context monitor for the current repository." To generate initial context for a new directory, ask: "Generate a claude.md file for the 'src/api' directory."

Frequently Asked Questions about claude-context-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep AI context in sync when my codebase changes?

Autonomous context management automatically detects code changes and updates your claude.md files with surgical precision, preserving accurate content while adding newly discovered patterns. This eliminates manual re-explanation and keeps AI understanding current without extra effort.

How do I monitor whether my codebase documentation is stale?

Context health monitoring scans your repository, detects staleness, and provides a health score with actionable recommendations. Run the context monitor to identify which areas need attention and get specific guidance on updates required.

Can I automate claude.md file generation for new directories?

Yes. Generate a claude.md file by specifying the directory path, and the system creates AI-ready context documentation that captures structure, patterns, and dependencies. This applies to new repositories, active codebases, and post-refactoring scenarios.

What happens when I refactor code—do I need to manually update documentation?

No. The Skill detects refactoring automatically, surgically updates relevant claude.md sections, and ensures Claude's understanding reflects changes immediately. This eliminates the manual documentation burden after structural changes.

How does this work with existing codebases that already have documentation?

Intelligent context synchronization preserves your existing accurate content while integrating newly discovered patterns and changes. Health monitoring identifies which parts are current and which need updates, enabling targeted maintenance.