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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00028 | $0.00230 |
| Sonnet 5.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 2mo 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.
- 2mo 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 7mo ago), licensed MIT. It adds 69 tokens to every session and 575 once invoked, about $0.0003 per session on Opus 5.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.
memory-quality compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-qualityladyiceberg/memory-quality-mcp | Skill | 1 | 7mo ago | MIT | B | 69 | Claude Code |
| dataecho-memorymohocp/dataecho | Skill | 0 | 4mo ago | MIT | C | 103 | Claude Code |
| session-orchestratorrocketmandrey/claude-recall | Skill | 5 | 4mo ago | MIT | B | 196 | Claude Code |
| dataechomohocp/dataecho | Skill | 0 | 4mo ago | MIT | A | 102 | Claude Code |
| archivejcordon5/archive-skill | Skill | 2 | 7mo ago | none | A | 178 | Claude Code, Codex |
| ccthreadjakemarsh/ccthread | Skill | 1 | 6mo ago | MIT | D | 123 | Claude Code |
| obsidian-basesAgriciDaniel/claude-obsidian | Skill | 16k | 13d ago | MIT | A | 75 | Claude Code |