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/Aiyo28/memento-osWrote 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/commands/aiyo28/memento-os/stats)<a href="https://agentmods.dev/commands/aiyo28/memento-os/stats"><img src="https://agentmods.dev/badge/commands/aiyo28/memento-os/stats/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/commands/aiyo28/memento-os/stats"><img src="https://agentmods.dev/badge/commands/aiyo28/memento-os/stats.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.00023 | $0.00756 |
| Opus 5.5 | $0.00009 | $0.00302 |
| Sonnet 5.5 | $0.00005 | $0.00151 |
| Haiku 4.5 | $0.00002 | $0.00076 |
Grade A, and why
memento:stats 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 20d 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/memento stats
Show how your memory system is doing — not a report, a pulse check.
Flow
1. Gather Data
Read _context.md Active Reasoning Artifacts table. Count:
- Total artifacts
- By type:
[D],[I],[E],[S] - By priority: critical, volatile, settled, noise
- Stale count (settled > 90 days, volatile > 30 days)
- Seeds with met activation conditions
Read Sessions/SESSION_LOG.md if it exists:
- Total sessions logged
- Last session date
- Session streak (consecutive days with sessions)
Read NEXT.md:
- Pending items count
- Last updated date
2. Calculate Memory Score
Score out of 10, weighted:
| Dimension | Weight | How to score |
|---|---|---|
| Has artifacts | 2 | 0 artifacts = 0, 1-5 = 1, 6-15 = 1.5, 16-24 = 2 |
| Has critical decisions | 2 | 0 critical = 0, 1-3 = 1, 4+ = 2 |
| Recency | 2 | NEXT.md updated today = 2, this week = 1.5, this month = 1, older = 0.5 |
| No stale artifacts | 1.5 | 0 stale = 1.5, 1-3 stale = 1, 4+ stale = 0 |
| Seeds planted | 1 | 0 seeds = 0, 1-3 = 0.5, 4+ = 1 |
| Session streak | 1.5 | 0 sessions = 0, 1-2 = 0.5, 3-5 = 1, 6+ = 1.5 |
3. Display
## Memento — {Project Name}
Score: {X.X} / 10 {bar: ████░░░░░░}
Artifacts: {total} ([D]: {n} [I]: {n} [E]: {n} [S]: {n})
Priority: {critical} critical {volatile} volatile {settled} settled
Sessions: {total} logged | streak: {n} days
Stale: {n} artifacts need review
Seeds: {n} planted | {n} ready to activate
Last session: {date}
NEXT.md: {date}
If score increased since last check, show: Score: 7.2 / 10 (↑ 0.8 from last check)
4. Suggestions (if score < 7)
Based on lowest-scoring dimension, suggest ONE action:
- No artifacts → "Run /decide on your next choice to start building memory"
- No critical decisions → "Your foundational decisions should be marked critical"
- Stale artifacts → "Run /memento:audit to review stale items"
- No seeds → "When you defer an idea, capture it as [S] with an activation condition"
- No recent sessions → "Run /memento:recall to reconnect with your project"
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.
- 20d ago First seen · 74 lines · 23 tokens per session scan A 129cd565461c
memento:stats is a command published in the GitHub repository Aiyo28/memento-os (4 stars, last pushed 20d ago), licensed MIT. It adds 23 tokens to every session and 756 once invoked, about $0.0001 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-11-10.
memento:stats compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memento:statsAiyo28/memento-os | Command | 4 | 20d ago | MIT | A | 23 | Claude Code |
| tree-ring-captureTerminallyLazy/tree-ring-memory-claude-plugin | Command | 0 | 2mo ago | MIT | A | 13 | Claude Code |
| tree-ring-auditTerminallyLazy/tree-ring-memory-claude-plugin | Command | 0 | 2mo ago | MIT | A | 13 | Claude Code |
| tree-ring-dox-syncTerminallyLazy/tree-ring-memory-claude-plugin | Command | 0 | 2mo ago | MIT | A | 16 | Claude Code |
| tree-ring-recallTerminallyLazy/tree-ring-memory-claude-plugin | Command | 0 | 2mo ago | MIT | A | 12 | Claude Code |
| tree-ring-statusTerminallyLazy/tree-ring-memory-claude-plugin | Command | 0 | 2mo ago | MIT | A | 12 | Claude Code |
| recallplastic-labs/honcho | Command | 8.3k | 5d ago | AGPL-3.0 | A | 15 | Claude Code, Cursor |