memory-view

memory-view is a skill for Claude Code from Mark-Life/agent-skills. It costs 80 tokens per session (1,250 once invoked), scanned A, original, MIT.

A local viewer that turns Claude Code’s per-project memory files into a secret-redacted HTML report opened in a browser.

In plain words
What is it for?
Use it to view a project’s memory index and topic files, including their links and metadata.
Why use it?
It lets people inspect stored project memory without manually browsing the files, while the viewer itself does not edit or curate that memory.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to view a project’s memory index and topic files, including their links and metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mark-life/agent-skills/memory-view
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Mark-Life/agent-skills --skill memory-view
Clone the repo
git clone --depth 1 https://github.com/Mark-Life/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-view

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark-life/agent-skills/memory-view/github.svg)](https://agentmods.dev/skills/mark-life/agent-skills/memory-view)
Your own site
<a href="https://agentmods.dev/skills/mark-life/agent-skills/memory-view"><img src="https://agentmods.dev/badge/skills/mark-life/agent-skills/memory-view/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-view

Your own site · 80×15
<a href="https://agentmods.dev/skills/mark-life/agent-skills/memory-view"><img src="https://agentmods.dev/badge/skills/mark-life/agent-skills/memory-view.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.01250
Opus 5.5 $0.00032 $0.00500
Sonnet 5.5 $0.00016 $0.00250
Haiku 4.5 $0.00008 $0.00125

Measured 1mo ago against content hash d42cc1424c98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-view scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/lib/assets.ts, scripts/lib/audit.ts, scripts/lib/candidates.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/inspect-and-debug/memory-view/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.md is 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-view case.
  • 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 like my-work is enough. It also accepts an encoded slug, a project path, or a memory-dir path.
  • User means "this project" / the current repo → use --view with 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.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 62 lines · 80 tokens per session scan A d42cc1424c98

Subscribe to this mod's changes

memory-view is a skill published in the GitHub repository Mark-Life/agent-skills (3 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 1,250 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

session-flow

Reorient in the current Claude Code session with an evidence-backed map of its goal, pivots, outcomes, current step, and open decisions.

Yeachan-Heo/oh-my-claudecode · 32 tokens

wiki

LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model).

Yeachan-Heo/oh-my-claudecode · 19 tokens

remember

Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs.

Yeachan-Heo/oh-my-claudecode · 20 tokens

moai-foundation-context

Manages context window optimization, session state persistence, and token budget allocation for multi-agent workflows. Use for token budget management, context limits, or session handoff across agents.

modu-ai/moai-adk · 41 tokens

mulmoterminal-decisions

Check what this project's humans have already been asked, and how they answered, before asking them something similar. Reads MulmoTerminal's decision digest — the real questions from past sessions, the options each offered, and the answers they got, including the ones where the user rejected every option and wrote…

receptron/mulmoterminal · 113 tokens

semantic-contracts-installer

Install Semantic Contracts (and, as a sub-mode, individual semantic anchors) into a coding agent's persistent context for Claude Code, Codex, Gemini CLI, Cursor, GitHub Copilot, and similar agents. Use when setting up project-level or user-level onboarding, generating or updating AGENTS.md / CLAUDE.md / GEMINI.md /…

LLM-Coding/Semantic-Anchors · 132 tokens