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 skills add ladyiceberg/memory-quality-mcp --skill memory-qualitygit clone --depth 1 https://github.com/ladyiceberg/memory-quality-mcpWrote 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/ladyiceberg/memory-quality-mcp/memory-quality)<a href="https://agentmods.dev/skills/ladyiceberg/memory-quality-mcp/memory-quality"><img src="https://agentmods.dev/badge/skills/ladyiceberg/memory-quality-mcp/memory-quality.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.1 | $0.00069 | $0.00575 |
| Opus 5 | $0.00034 | $0.00287 |
| Sonnet 5 | $0.00014 | $0.00115 |
| Haiku 4.5 | $0.00007 | $0.00057 |
Grade B, and why
memory-quality scanned grade B with 1 finding 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 6d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find ~/.claude/projects -name "*.md" -path "*/memory/*" 2>/dev/null \ What it actually says
Memory Quality
Helps users understand and clean up the memory files that Claude Code saves
automatically. Files live in ~/.claude/projects/*/memory/.
Memory files on this machine:
find ~/.claude/projects -name "*.md" -path "*/memory/*" 2>/dev/null \
| grep -v "MEMORY\.md" | wc -l | tr -d ' '
If the count above is 0, tell the user they don't have memory files yet and suggest they keep using Claude Code normally — files appear after a few sessions.
Choosing what to run
- Quick overview, no cost →
audit - See what should be deleted →
report(calls LLM, results cached) - Delete low-quality memories →
cleanupthencleanup --execute(two steps, see below) - Open visual report in browser →
dashboard(needs cachedreportfirst) - Evaluate a single memory →
score "<text>"
For detailed command options and example output, see references/commands.md.
Running a command
python ${CLAUDE_SKILL_DIR}/scripts/memory_quality.py <command> [options]
Cleanup is always two steps
- Run
cleanup— shows a preview of what would be deleted. - Show the user the list and ask for confirmation.
- Only after confirmation, run
cleanup --execute.
Never skip the preview step. Even though a .trash/ backup is created
automatically, users don't expect silent deletions.
When there's no cached report
cleanup and dashboard both require a prior report to be run. If the
script says "No cached report found", run report first, then retry.
API Key
audit and dashboard (with cache) need no API key. report and score
need one. If missing, ask the user to set OPENAI_API_KEY,
ANTHROPIC_API_KEY, MINIMAX_API_KEY, or KIMI_API_KEY in their
environment, or configure it via plugin settings.
What ships with it
2 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.
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.
- 6d ago First seen · 63 lines · 69 tokens per session scan B 62a6a79f48a7
memory-quality is a skill published in the GitHub repository ladyiceberg/memory-quality-mcp (1 stars, last pushed 5mo ago), licensed MIT. It adds 69 tokens to every session and 575 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
dataecho-memory
Persistent memory for agents — durable across sessions, machines, sandboxes, and agent platforms, stored in a private DataEcho cloud drive. Use at the start of a session to recall who the user is and what you were working on; whenever the user says "remember this", "don't forget", "like last time", or references past…
session-orchestrator
Session orchestrator on top of the recall index of all Claude Code sessions: finds a past session by task description, dives in (context, project, skill, artifacts) and acts in one of three modes — finish here, hand off the resume command, or open the session in a new terminal window. Use when user asks: "find the…
lobstr
R lobstr package for memory inspection. Use for understanding R object memory usage and structure.
archive
Persistent knowledge wiki and memory system that compounds across conversations using an Obsidian-compatible vault. Consult at the START of any non-trivial task to recall project context, preferences, and past discoveries. Ingest sources and build wiki pages when accumulating knowledge on a topic. Save at the END when…
ccthread
Read, search, and summarize Claude Code conversation history. Use when the user asks to find things discussed in past sessions, review old threads, summarize recent work for teammates, extract learnings into a skill or CLAUDE.md, or answer "what was that value/port/command we used?" — ccthread reads /.claude/projects/…
dataecho
Deploy anything an agent builds to a live URL via the DataEcho platform at https://dataecho.ai — a single file, a static site, OR a server-side app (any stack) by including a Dockerfile. Also private cloud Drives for agent memory/handoff. Use whenever the user asks to publish, host, share, deploy, or "put online" a…