memory-view

memory-view is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/mark-life/agent-skills/memory-view
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00080 $0.01250
Opus 5 $0.00040 $0.00625
Sonnet 5 $0.00016 $0.00250
Haiku 4.5 $0.00008 $0.00125

Measured 5d ago against content hash d42cc1424c98, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (2 stars, last pushed 20d ago), licensed MIT. It adds 80 tokens to every session and 1,250 once invoked, about $0.0004 per session on Opus 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

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

context-fundamentals

This skill should be used when the user asks to "understand context", "explain context windows", "design agent architecture", "debug context issues", "optimize context usage", or discusses context components, attention mechanics, progressive disclosure, or context budgeting. Provides foundational understanding of…

foryourhealth111-pixel/Vibe-Skills · 69 tokens

knowledge-steward

AI工作经验知识库管理。适用于用户明确要求'保存到Obsidian'、'记录这个'、'save this insight'、'memo this'、'capture this'等知识沉淀场景。将对话中的提示词、模式、问题修复、想法和效率优化保存到Obsidian知识库,并自动同步到GitHub。.

foryourhealth111-pixel/Vibe-Skills · 85 tokens

digital-brain

This skill should be used when the user asks to "write a post", "check my voice", "look up contact", "prepare for meeting", "weekly review", "track goals", or mentions personal brand, content creation, network management, or voice consistency.

foryourhealth111-pixel/Vibe-Skills · 57 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