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.
npx agentmods add skills/mark-life/agent-skills/memory-viewnpx skills add Mark-Life/agent-skills --skill memory-viewgit clone --depth 1 https://github.com/Mark-Life/agent-skillsWrote 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.
[](https://agentmods.dev/skills/mark-life/agent-skills/memory-view)<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>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.
| Model | Per session | Once 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 |
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.
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.
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.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 ships with it
19 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/lib/assets.ts 26 KB runs code
- scripts/lib/audit.ts 16 KB runs code
- scripts/lib/candidates.ts 11 KB runs code
- scripts/lib/findings.ts 3.4 KB runs code
- scripts/lib/frontmatter.ts 5.5 KB runs code
- scripts/lib/graph.ts 4.1 KB runs code
- scripts/lib/parse.ts 6.8 KB runs code
- scripts/lib/redact.ts 8.7 KB runs code
- scripts/lib/reindex.ts 5.8 KB runs code
- scripts/lib/render-all.ts 11 KB runs code
- scripts/lib/render-shared.ts 9.2 KB runs code
- scripts/lib/render.ts 17 KB runs code
- scripts/lib/resolve.ts 7.9 KB runs code
- scripts/lib/svg.ts 11 KB runs code
- scripts/lib/tokens.ts 2.3 KB runs code
- scripts/lib/types.ts 8.2 KB runs code
- scripts/package.json 229 B
- scripts/scan-memory.ts 13 KB runs code
- scripts/tsconfig.json 311 B
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.
- 5d ago First seen · 62 lines · 80 tokens per session scan A d42cc1424c98
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.
Other skills, from other repositories
wiki
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model).
remember
Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs.
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…
knowledge-steward
AI工作经验知识库管理。适用于用户明确要求'保存到Obsidian'、'记录这个'、'save this insight'、'memo this'、'capture this'等知识沉淀场景。将对话中的提示词、模式、问题修复、想法和效率优化保存到Obsidian知识库,并自动同步到GitHub。.
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.
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.