claude-md-revision
Record durable, project-specific learnings from the current session in CLAUDE.md, .claude.local.md, or AGENTS.md—not general documentation, session summaries…
Skill by mrclrchtr
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mrclrchtr-claude-md-revision
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/claude-md-revision
What's inside
- Skill name
claude-md-revision- Description
- Record durable, project-specific learnings from the current session in CLAUDE.md, .claude.local.md, or AGENTS.md—not general documentation, session summaries, or repo-wide audits.
- License
- MIT
- Instructions
- 137 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- evals.json · evals/
- quality-criteria.md · references/
- templates.md · references/
- update-guidelines.md · references/
SKILL.md (first lines)
# Revise CLAUDE.md with Session Learnings
Review the current session for actionable learnings and update the project's CLAUDE.md or .claude.local.md files. The goal is concise, durable context that helps future sessions work more effectively in this codebase.
## Workflow
### Step 1: Reflect
Identify what context would have helped this session go smoother. Scan the conversation for learnings worth preserving.
**What TO capture:**
- **Non-obvious commands/workflows** discovered or used repeatedly (not routine build/test/lint — those are in package.json)
- **Gotchas and non-obvious patterns** (deprecated APIs, common pitfalls, tricky behaviors)
- **Package relationships** or ordering dependencies not obvious from code
- **Testing approaches** that worked (or didn't)
- **Configuration quirks** (env vars, build tools, path oddities)
**What NOT to capture:**
- Obvious info already clear from code or naming
- Generic best practices ("write tests", "use meaningful names")
- One-off fixes unlikely to recur ("fixed typo on line 42")
- Routine/easy-to-find commands: `npm install`, `npm test`, `npm run build` — these are in package.json or README and don't earn their place in the context window
- Verbose explanations — one line per concept; link to docs for detail
- Static facts SuPi already provides on the first turn or through routine `code_orientation`: package/module tables, manifest dependency graphs, project trees, direct directory inventories, and package manifest declarations
Filter ruthlessly. Every token must earn its place in the instruction file — if content doesn't save future sessions more time than it costs to read, remove it.
**Before adding, consider removing.** Scan the file for content that MUST be removed or compressed. Never skip removals because of edit churn—a one-time edit that saves tokens on every relevant load pays for itself quickly:
- Routine command listings that are trivially discoverable from `package.json` — MUST remove (~50–200 tokens saved per session)
- Sections that duplicate the complete first-turn module overview or facts available through routine `code_orientation` (package tables/paths, manifest dependency graphs, static project trees, direct directory listings, manifest declarations) — MUST remove unless they add ownership, flow, boundary, exception, or rationale
- Verbose explanations where a one-liner suffices — compress (~20–100 tokens saved)
- Stale commands, paths, or architecture descriptions that no longer match the codebase — remove
Removing unnecessary content is as valuable as adding useful content. Do both.
> See also: [detailed update guidelines](references/update-guidelines.md) and [quality criteria](references/quality-criteria.md)
**Step 1.5: Build a focused Orientation baseline.** Assume future agents use `code_orientation` heavily. Start with a directory focus for the target instruction file. This shows applicable instruction files and local facts. Use file or child-directory focus when needed. Run workspace Orientation only when the edit checks repo-wide facts, such as package topology or dependency relationships. Remove static facts those non-instruction sections already provide. Do not treat the instruction file's appearance inside Orientation as proof that its own human guidance is redundant—Orientation is its delivery mechanism.
### Step 2: Find Context Files
Find existing CLAUDE.md and .claude.local.md files in the project:
```bash
find . \( -name "CLAUDE.md" -o -name ".claude.local.md" \) \
-not -path "*/.agents/skills/*" -not -path "*/.pi/skills/*" -not -path "*/.claude/skills/*" 2>/dev/null | head -20
```
Ignore instruction files inside hidden agent-tool skill directories (`.agents/skills`, `.pi/skills`, `.claude/skills`, and similar) — they are skill content (examples, templates, fixtures), not project instructions. Do not ignore project directories that happen to be named `skills`.
For each file found, decide if the new content belongs there:
| File | Purpose |
|------|---------|
| `CLAUDE.md` | Team-shared context. Check into git. Use for patterns, commands, and gotchas that any teammate would benefit from. |
| `.claude.local.md` | Personal/local only. Gitignored. Use for personal preferences, local environment quirks, or experimental notes. |
If no CLAUDE.md exists at the project root and the learnings are team-relevant, create one.
### Step 3: Draft Additions
**Keep it concise** — one line per concept. Use this format:
```
<command or pattern> — <brief description>
```
Examples:
```
`os.homedir()` cannot be mocked in ESM — pass `homeDir` parameter for testability
Pre-push hook runs `pnpm verify` — covers both lint and tests; don't run them separately
Root context files are never re-injected by extensions; use `/reload` to refresh
```
Avoid:
- Verbose explanations (link to docs if detail is needed)
- Obvious information ("JavaScript uses `const` for constants")
- One-off fixes unlikely to recur ("Fixed typo in variable name on line 42")
- Duplicating existing content (read the file first)
### Step 4: Propose Changes
For each addition, present it in this format:
```markdown
### Update: ./path/to/CLAUDE.md
**Why:** [one-line reason this belongs here]
```diff
+ [the addition — keep it brief]
```
```
Group related additions under a single heading. If multiple files need updates, show each separately.
**Diff structure:**
1. **Identify the file and section** — existing heading, or note if new
2. **Show the change** — concise diff or quoted block
3. **Explain why** — one sentence on how this helps future sessions
### Step 5: Apply with Approval
Ask the user if they want to apply the changes. Only edit files they approve.
If the user approves:
- Append new content in the appropriate section, or create the section if it doesn't exist
- Maintain alphabetical or logical ordering within sections
- Run `git diff` (or equivalent) after editing to confirm the change looks correct
If the user rejects or modifies a proposal, adjust and re-present.
**Validation checklist** — before finalizing, verify:
- [ ] Each addition is project-specific, not generic advice
- [ ] No duplication with existing content (read the file first)
- [ ] Commands (if any) are non-obvious and tested
- [ ] File paths are accurate
- [ ] Team-shared vs. personal-local scope is respectedFrom mrclrchtr/supi, MIT.
More from mrclrchtr/supi
- 0.782score
pi-upgrade
mrclrchtr
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in…
SkillAFreshness: A★ 103Claude Code +9 - 0.782score
pi-tui-design
mrclrchtr
Create distinctive, crafted TUI components for pi using @earendil-works/pi-tui and @earendil-works/pi-coding-agent.
SkillAFreshness: A★ 103Claude Code +9 - 0.778score
claude-md-improver
mrclrchtr
Audit and improve existing CLAUDE.md files across a repository.
SkillAFreshness: A★ 103Claude Code +9 - 0.772score
update-package-readme
mrclrchtr
Update one SuPi package README and its direct user-facing Markdown references from installed Pi docs and verified package evidence.
SkillAFreshness: A★ 103Claude Code +9 - 0.762score
commit
mrclrchtr
Guides how to commit
SkillAFreshness: A★ 103Claude Code +9 - 0.650score
domain-modeling
mrclrchtr
Build and sharpen a project's domain model.
SkillAFreshness: A★ 103Claude Code +9 - 0.650score
codebase-design
mrclrchtr
Shared vocabulary for designing deep modules.
SkillAFreshness: A★ 103Claude Code +9 - 0.650score
code-review
mrclrchtr
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding…
SkillAFreshness: A★ 103Claude Code +9 - 0.650score
grilling
mrclrchtr
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: A★ 103Claude Code +9 - 0.639score
implement
mrclrchtr
Implement a piece of work based on a spec or set of tickets.
SkillAFreshness: A★ 103Claude Code +9
Signals
- Stars
- 103
- Forks
- 7
- Open issues
- 14
- Last commit (this folder)
- Aug 24, 2026 (2 months ago)
- Last release
- Oct 22, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mrclrchtr/supi
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mrclrchtr
- 0.782score
pi-upgrade
mrclrchtr
Check for available upgrades to the pi coding agent framework by comparing the current `@earendil-works/pi-*` or legacy `@mariozechner/pi-*` version in…
SkillAFreshness: A★ 103Claude Code +9 - 0.782score
pi-tui-design
mrclrchtr
Create distinctive, crafted TUI components for pi using @earendil-works/pi-tui and @earendil-works/pi-coding-agent.
SkillAFreshness: A★ 103Claude Code +9 - 0.778score
claude-md-improver
mrclrchtr
Audit and improve existing CLAUDE.md files across a repository.
SkillAFreshness: A★ 103Claude Code +9 - 0.772score
update-package-readme
mrclrchtr
Update one SuPi package README and its direct user-facing Markdown references from installed Pi docs and verified package evidence.
SkillAFreshness: A★ 103Claude Code +9 - 0.762score
commit
mrclrchtr
Guides how to commit
SkillAFreshness: A★ 103Claude Code +9 - 0.650score
domain-modeling
mrclrchtr
Build and sharpen a project's domain model.
SkillAFreshness: A★ 103Claude Code +9
Cite this page
claude-md-revision skill. Agent Mart. https://agentmart.dev/skills/mrclrchtr-claude-md-revision (last updated 2026-10-24)