memory-audit
Audit Claude Code memory for stale, duplicated, or unsourced facts.
Skill by autumngarage
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/autumngarage-memory-audit
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
Use cases: security, agent-building
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/memory-audit
What's inside
- Skill name
memory-audit- Description
- Audit Claude Code memory for stale, duplicated, or unsourced facts. Use when the user asks to inspect, clean, prune, verify, or repair Claude memory; when remembered commands, file paths, flags, versions, or project facts seem stale; or when dogfooding exposes a memory entry that conflicts with the current repo.
- License
- MIT
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Memory Audit Audit Claude Code memory as derived operational state, not as a source of truth. The goal is to find stale or risky memory entries, rank them, and get explicit user approval before editing anything. ## Scope Default scope: - Current repo guidance: `CLAUDE.md`, `AGENTS.md`, `README.md`, `principles/`, and obvious CLI/script help. - Current repo memory: `MEMORY.md` if present. - Claude Code user memory under `~/.claude/projects/**/memory/` only when readable. Do not inspect unrelated project memory unless the user asks for a user-wide audit. ## Audit Workflow 1. Identify candidate memory files with `find` or `rg --files`. Prefer narrow paths over reading all of `~/.claude`. 2. Build current truth from canonical files and commands in the repo before judging memory. 3. Check each memory entry for staleness signals: - Mentions a command, flag, file path, version, release name, workflow, or "primary/current" fact without a date or source. - References a path that no longer exists. - Names a command or flag that no longer appears in CLI help, docs, or scripts. - Duplicates another memory entry with different wording or a conflicting fact. - States derived state that should be read from the repo, release metadata, or tool output. 4. Produce a ranked report. Put confirmed stale facts first, then likely stale, then uncertain. 5. Ask for approval before editing memory files. ## Report Format Use this structure: ```markdown ## Memory Audit ### Confirmed stale - path:line — remembered fact - current truth: - source checked: - proposed action: ### Likely stale or risky - path:line — issue and why it is risky ### Duplicates - paths/lines — keep X, remove or rewrite Y ### Needs user decision - question: ``` If there are no findings, say which memory paths you checked and that no stale entries were found. ## Editing Rules Edit only after explicit approval. When approved: - Make targeted edits only; do not wholesale rewrite memory. - Back up each edited file next to the original as `<name>.bak.<YYYYMMDD-HHMMSS>`. - Prefer deleting stale derived facts over rewriting them. - If rewriting a fact about a command, flag, path, version, or workflow, include a date and source pointer. - Never replace canonical docs with memory. Memory should point to canonical docs when possible. ## Memory Write Hygiene For new memory entries: - Do not store facts that are cheap to derive from the repo. - Include `YYYY-MM-DD` for facts likely to rot. - Include the canonical source, such as `README.md`, `CLAUDE.md`, `gh --help`, or a file path. - Avoid unqualified words like "current", "primary", "always", or "never" unless paired with a date and source.
From autumngarage/touchstone, MIT.
More from autumngarage/touchstone
- 0.561score
touchstone-audit-weak-points
autumngarage
Use after finding a structural bug to systematically audit the codebase for the same anti-pattern, fix instances by tier, and add a guardrail that catches the…
SkillAFreshness: AClaude Code +9 - 0.559score
touchstone-git-workflow
autumngarage
Use when committing, branching, opening a PR, watching PR reviews/comments, merging, recovering from no-commit-to-branch, or coordinating worktrees — covers…
SkillAFreshness: AClaude Code +9 - 0.556score
touchstone-pre-impl
autumngarage
Use before writing code on any non-trivial change — applies the 7-question pre-implementation gate (shared infra, root cause, code paths, public boundaries…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 5
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/autumngarage/touchstone
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from autumngarage
- 0.561score
touchstone-audit-weak-points
autumngarage
Use after finding a structural bug to systematically audit the codebase for the same anti-pattern, fix instances by tier, and add a guardrail that catches the…
SkillAFreshness: AClaude Code +9 - 0.559score
touchstone-git-workflow
autumngarage
Use when committing, branching, opening a PR, watching PR reviews/comments, merging, recovering from no-commit-to-branch, or coordinating worktrees — covers…
SkillAFreshness: AClaude Code +9 - 0.556score
touchstone-pre-impl
autumngarage
Use before writing code on any non-trivial change — applies the 7-question pre-implementation gate (shared infra, root cause, code paths, public boundaries…
SkillAFreshness: AClaude Code +9
Cite this page
memory-audit skill. Agent Mart. https://agentmart.dev/skills/autumngarage-memory-audit (last updated 2026-10-24)