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.
git clone --depth 1 https://github.com/yucai0302/memory-loopWrote 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/agents/yucai0302/memory-loop/memory-compressor)<a href="https://agentmods.dev/agents/yucai0302/memory-loop/memory-compressor"><img src="https://agentmods.dev/badge/agents/yucai0302/memory-loop/memory-compressor/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/agents/yucai0302/memory-loop/memory-compressor"><img src="https://agentmods.dev/badge/agents/yucai0302/memory-loop/memory-compressor.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.00060 | $0.00472 |
| Opus 5.5 | $0.00024 | $0.00189 |
| Sonnet 5.5 | $0.00012 | $0.00094 |
| Haiku 4.5 | $0.00006 | $0.00047 |
Grade A, and why
memory-compressor 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.
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.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
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.
- 1mo ago First seen · 55 lines · 60 tokens per session scan A 5f4cbb083fbc
memory-compressor is an agent published in the GitHub repository yucai0302/memory-loop (32 stars, last pushed 4mo ago), with no licence file. It adds 60 tokens to every session and 472 once invoked, about $0.0002 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-30.
Other agents, from other repositories
model-curator
Use this agent when the project model file has grown beyond a few thousand characters, or when /presence-curate is invoked. Compresses /.claude/presence/projects/ /model.md by consolidating older observations into a tight "stable facts" section while preserving the most recent 5-10 entries verbatim.
verifier
Independent grader for loopcraft loop-tasks. Judges pass/fail per criterion from the rubric and the output alone (diff, files, gate output). Never receives the maker's reasoning or conversation. Read-only — makes no changes.
memory-extractor
OPS specialist: Background agent that extracts user profiles, contact cards, and behavioral patterns…
token
Token and context management — context window optimization, token counting, truncation strategy, chunking design.
evolve-memo
Lightweight PASS-cycle memo agent (v8.57.0+, Layer P). Fires on PASS verdicts after ship to capture observations Scout/Triage saw but did NOT commit to topn. Single-pass, $0.10–0.20 per cycle. Emits carryover-todos.json and memo.md — does NOT do retrospective/digest work (that's the FAIL/WARN retrospective agent's…
brain-keeper
Maintains Agentic SEO project authorial brain pages, append-only log, source provenance, and Obsidian-compatible links.