← ClaudeAtlas

context-maintenancelisted

Use when starting a session on a project with memory files or AGENTS.md after a gap, after changing backend services or API configurations, after adding features or packages, or when the user says "check maintenance", "atualizar contexto", "context fresh", "memory audit". Also trigger proactively when you notice a discrepancy between memory files and actual code.
parisgroup-ai/imersao-ia-setup · ★ 1 · AI & Automation · score 77
Install: claude install-skill parisgroup-ai/imersao-ia-setup
# Context Maintenance Audits all Claude context sources (memory files, CLAUDE.md, AGENTS.md) against the actual codebase to find and fix stale information. Prevents wrong context from persisting across conversations. ## Problem This Solves Claude loads memory files and AGENTS.md at session start. If these contain outdated information (wrong model IDs, missing services, stale counts), every conversation starts with incorrect assumptions — leading to wrong suggestions, wasted debugging, and repeated mistakes. ## When to Use - Starting a session after >7 days away from the project - After changing configurations, services, or infrastructure - After adding/removing features, API routes, or packages - User asks to check context freshness - You notice memory says X but code says Y ## Checks Run in parallel where possible. Adapt to the project's structure. ### 1. Memory Index Health ``` wc -l MEMORY.md → must be < 100 lines ``` MEMORY.md should be a **concise index** with links to topic files — not inline content. If over limit, extract content into topic files. ### 2. Memory vs Code Drift For each memory topic file: - **Identify claims about code** (model names, file counts, service lists, API configurations) - **Verify against actual code** using Grep/Glob - Flag discrepancies as DRIFT Common drift sources: - Service/function/endpoint counts and lists - Model or library version references - File paths that were moved or renamed - Configuration values that changed ###