Converted from Claude plugin command "revise-claude-md" (claude-md-management).
Install
npx skillscat add monkey1sai/openai-cli/claude-command-claude-md-management-revise-claude-md Install via the SkillsCat registry.
This skill updates CLAUDE.md files with contextual learnings from the current session to improve future Claude Code effectiveness. It guides users through reflecting on missing context, locating relevant CLAUDE.md files, drafting concise additions, reviewing proposed changes, and applying them with approval. Use this skill when a session has revealed reusable patterns, commands, or gotchas that would benefit subsequent work in the codebase.
Claude Command (Imported): revise-claude-md
- Source:
C:\Users\monke\.claude\plugins\cache\claude-plugins-official\claude-md-management\1.0.0\commands\revise-claude-md.md - Plugin:
claude-md-management - Version:
1.0.0
Notes
- Claude command files may use
!prefixes for shell execution. In Codex, run those commands in the terminal manually.
Original Command Frontmatter (Reference)
description: Update CLAUDE.md with learnings from this session
allowed-tools: Read, Edit, GlobOriginal Command Body
Review this session for learnings about working with Claude Code in this codebase. Update CLAUDE.md with context that would help future Claude sessions be more effective.
Step 1: Reflect
What context was missing that would have helped Claude work more effectively?
- Bash commands that were used or discovered
- Code style patterns followed
- Testing approaches that worked
- Environment/configuration quirks
- Warnings or gotchas encountered
Step 2: Find CLAUDE.md Files
find . -name "CLAUDE.md" -o -name ".claude.local.md" 2>/dev/null | head -20Decide where each addition belongs:
CLAUDE.md- Team-shared (checked into git).claude.local.md- Personal/local only (gitignored)
Step 3: Draft Additions
Keep it concise - one line per concept. CLAUDE.md is part of the prompt, so brevity matters.
Format: <command or pattern> - <brief description>
Avoid:
- Verbose explanations
- Obvious information
- One-off fixes unlikely to recur
Step 4: Show Proposed Changes
For each addition:
### Update: ./CLAUDE.md
**Why:** [one-line reason]
\`\`\`diff
+ [the addition - keep it brief]
\`\`\`Step 5: Apply with Approval
Ask if the user wants to apply the changes. Only edit files they approve.