AI Tools & Scripts
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.
What you get: 1 file · 8.53 KB · ZIP
See purchase optionsProduct description
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.
Example request
Audit my Claude Code memory folder for stale notes and fix what you find.
Example result
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.
Requirements
- Claude Code
- Python 3 (standard library only)
How to install
Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.
What you get
1 file · 8.53 KB
- notes-freshness-check.zipZIP · 8.53 KB
AI Tools & Scripts
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.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 8.53 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$6.00



