memory-view
Skill4 starsChanged 6 days agoMITView on GitHub
A viewer for Claude Code's per-project auto-memory. A zero-dep TypeScript script scans ~/.claude/projects/<project>/memory/, renders a self-contained, secret-redacted HTML explorer, and opens it in the browser. No model curation, no edits, no findings — the model only runs the script and opens the report. Local, human-facing, never auto-fired.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- dmzoneill/skillstheir own version, first seen Oct 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- dmzoneill/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- full-cycleSkill
- media-cdnSkill
- new-projectSkill
- observabilitySkill
- pr-issueSkill
- productSkill
- agent-to-humanSkill
- human-to-agentSkill
- writing-for-readersSkill
- context-doctorSkill
- harness-doctorSkill
- session-reportSkill
- clean-cutSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
If the resolved project has no memory (absent / empty / index-only), the script prints a short notice and lists the projects that *do* have …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memory View
A viewer for Claude Code's per-project auto-memory. This skill is a thin wrapper around a deterministic, zero-dependency TypeScript script: the script reads the memory vault, renders a single self-contained HTML explorer, and opens it in the browser. That is the whole job.
The model's only role is to run the script and open the report. It does not read, audit, edit, merge, split, delete, or otherwise curate memory. The HTML is a local, secret-redacted, human-facing artifact — same lineage and posture as session-report.
This is a user-invoked command (/memory-view); it is never auto-invoked. The optional project is passed as $project.
What it operates on
- Memory lives at
~/.claude/projects/<slug>/memory/, where<slug>is the project's git-root path with/and.both replaced by-. There is no global store — most projects have no memory dir, which is normal, not an error. MEMORY.mdis the always-loaded index (budget: first 200 lines or 25 KB, whichever comes first). Topic files are markdown + YAML frontmatter (name,description,type∈ user/feedback/project/reference), with bodies cross-linked via[[wikilinks]].
How to run
Zero-dependency TypeScript, no build step. Run from the skill's scripts/ dir. Detect the runtime (command -v node bun) — the user needs only one. Always pass --open so the report opens in the browser.
# DEFAULT — no project given: cross-project explorer, every memory grouped by project:
node scan-memory.ts --open
bun run scan-memory.ts --open
npx tsx scan-memory.ts --open # older Node without native type-stripping
# A specific project — single-project report:
node scan-memory.ts my-work --open # bare name ⇒ single-project view
node scan-memory.ts --view --open # current project (resolved from cwd git root)The single stdout line is the HTML path; stats and warnings go to stderr.
Picking the project
- No project mentioned → run the default (
--open, no positional): the all-projects explorer. This is the/memory-viewcase. - User names a project (e.g. "show me memories for my-work") → pass it as a bare positional:
node scan-memory.ts my-work --open. The script resolves it by matching the name against known project slugs (suffix match first, then substring), so a short name likemy-workis enough. It also accepts an encoded slug, a project path, or a memory-dir path. - User means "this project" / the current repo → use
--viewwith no positional; the script resolves from the cwd's git root. - If the resolved project has no memory (absent / empty / index-only), the script prints a short notice and lists the projects that do have memory — relay that so the user can pivot.
What the explorer shows
- MEMORY.md budget gauge — fill vs the 200-line / 25 KB cliff, with below-the-fold entries greyed and marked "INVISIBLE TO CLAUDE".
- Type donut (user/feedback/project/reference) and quick stats.
- Browse table — one row per memory: title · type · description · size · modified · in-index? · links. Sortable/filterable/searchable; click a row to expand it inline into full detail (frontmatter, body + raw toggle, clickable links).
- Index-vs-files diff — orphan files (on disk, not indexed) vs dangling entries (indexed, no file).
- Link graph (arc view) of resolved body links between memories.
- In the default scope, a sortable project overview sits on top, then every memory on the machine in a per-project accordion; search and type-filter span all projects.
Notes
- Privacy boundary: the HTML embeds memory bodies, so best-effort secret redaction is ON by default (
--no-redactturns it off) to protect the shareable artifact. The report opens with a dismissible "review before sharing" banner and astderrWARNING prints either way. The script is the only thing that reads the vault — the model does not read memory bodies. - The HTML is self-contained — no network, no CDN, no fonts, no
<img src>; all interpolations are HTML-escaped (safe to open). - Memory bodies pack single paragraphs up to ~1,600 chars per line — use this script, not
grep/wc/sed, which truncate or miscount.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

