- Home
- Skills
- Productivity
- Claude Code Memory and Notes Stale-Fact Audit
Claude Code Memory and Notes Stale-Fact Audit
A stdlib lint plus a judgement routine that finds stale facts in Claude Code auto-memory or a markdown vault (old hosts, relative dates, expired notes, broken links) and fixes or archives them, never deletes.
$6
What it does
- Finds stale facts in Claude Code memory or a markdown vault: old dates, broken links, overdue checks
- A standard-library lint plus a routine to judge each finding
- Fixes or archives stale notes, never deletes them
Claude Code Memory and Notes Stale-Fact Audit
Example session with this skill installed
Audit my Claude Code memory folder for stale notes and fix what you find.
- Read your context and instructions
- Compiled the claude code memory
Example on a fictional setup.
Ran: python3 scripts/notes_check.py ~/.claude/projects/-home-user-app/memory --json /tmp/memory-lint.json
Findings (summary line before: notes=31 errors=5 info=9):
- superseded: deploy-notes.md line 12 mentions the old box 192.0.2.10, replaced on 2026-02-03 by 192.0.2.44 (config entry).
- relative-date: standup-habit.md "check again next week".
- expired: temp-token-note.md, expires 2026-03-01.
- broken-link: MEMORY.md links to billing-setup.md, which does not exist.
- recheck-due: vendor-limits.md, "recheck in 4 weeks" from 2026-02-10.
What I did
- deploy-notes.md: put the current host at the top, moved the old text under "## History before 2026-02-03 - NOT current". Current host taken from the ssh config, not re-verified on the box, so marked "not re-verified since 2026-03-18".
- standup-habit.md: replaced with 2026-03-25, derived from the note's date, flagged as a guess.
- temp-token-note.md: archived to ~/.claude/archive/2026-03-18/ with the same relative path; index line dropped.
- broken link removed from the index; recheck on vendor-limits.md left for you, listed below.
Lint after: notes=30 errors=0 info=8. Waiting on you: vendor limits recheck is due. Backups of edited notes are in the dated scratch folder.
Connects securely to your tools. The creator never sees your data.
About this skill
Memory notes are loaded as if they were true today. The harm comes from a note that reads like an instruction while describing something that ended: an old server address, an account that moved, a permission that was withdrawn. The agent then acts on it with full confidence. This skill finds those notes on a schedule and marks them.
What is inside:
- SKILL.md - a routine in order: run the lint, judge each finding, handle open work items, keep the config current, report. For each finding Claude decides between a stale instruction (put current state on top, old text under a "History - NOT current" heading), valid history with a misleading surface (add a context note), or fine as is (record it in a baseline file). Archiving moves a note to a dated archive folder and drops its index line; nothing is deleted, and safety rules are only ever proposed for archiving. It also shows how to age out open work items.
- scripts/notes_check.py - standard-library Python (about 13 KB). It checks superseded identifiers, relative dates, overdue rechecks, expired notes, index size limits, broken links, unindexed notes, frontmatter, era markers, undated notes, and, if enabled, per-bullet date-and-source provenance and secret-looking strings. Output is one line per finding plus a summary, with an optional JSON file. It works on auto-memory folders and on Obsidian-style vaults.
- A config pattern for recording migrations so the same old value is never trusted again.
It suits anyone whose Claude Code memory has grown past what they can re-read. This skill is also part of the Claude Code Session Discipline: Brief, Notes, Context pack at a lower per-skill price.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- Claude Code
Python 3 (standard library only)
Permissions
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.