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 Aiyo28/memento-os --skill memento-decaygit 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/skills/aiyo28/memento-os/memento-decay)<a href="https://agentmods.dev/skills/aiyo28/memento-os/memento-decay"><img src="https://agentmods.dev/badge/skills/aiyo28/memento-os/memento-decay/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/aiyo28/memento-os/memento-decay"><img src="https://agentmods.dev/badge/skills/aiyo28/memento-os/memento-decay.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.00089 | $0.00564 |
| Opus 5 | $0.00044 | $0.00282 |
| Sonnet 5 | $0.00018 | $0.00113 |
| Haiku 4.5 | $0.00009 | $0.00056 |
Grade A, and why
decay 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 11d 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.
What it actually says
/decay
Walk every [D] artifact past its freshness window, look for evidence the invalidation trigger has fired, prompt the user to mark stale ones superseded.
Signals
| Signal | Weight | Source |
|---|---|---|
| Git commits matching N invalidator keywords | +1 (1kw) / +3 (2kw) / +5 (3+kw), cap +6 | git log --grep grouped per-commit |
| Newer vault artifact with ≥2 overlapping terms | +3 per match | scan all _context.md |
| Age past 90 days with no other signal | +1 | weak |
Tiers: score ≥3 = LIKELY STALE; 1–2 = REVIEW; 0 = skipped unless --all.
How to invoke
python3 .agents/skills/decay/decay.py [VAULT_ROOT] \
[--age 30] [--format text|json] [--no-git] [--all] [--stopwords <file>]
Vault root resolution: argument → $MEMENTO_VAULT_ROOT → CWD.
A per-vault stopword list at <vault_root>/.memento-stopwords is loaded automatically (one word per line, # comments). Use this to suppress project-specific noise words (e.g., the project's own name, dominant tech terms).
Agent flow
- Run with
--format json. - For each LIKELY STALE candidate, prompt: "Mark
[D]#Nas superseded? (y/n/skip)". - On
y: change priority cell tosuperseded. UpdateDecisions/file frontmatter if present. - On
n: optionally capture an[I]insight explaining why the trigger hasn't fired.
Don't
- Don't auto-supersede. Every supersession needs user confirmation.
- Don't pass
--no-gitsilently when a repo IS available. - Don't widen the vault-overlap threshold (≥2 keywords).
What ships with it
1 file 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.
- 11d ago First seen · 52 lines · 89 tokens per session scan A 39c19acac937
decay is a skill published in the GitHub repository Aiyo28/memento-os (4 stars, last pushed 5d ago), licensed MIT. It adds 89 tokens to every session and 564 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
tree-ring-memory
Guides AI agents in using Tree Ring Memory for durable recall, project decisions, user preferences, warnings, future seeds, privacy-safe memory capture, and lifecycle-aware forgetting.
memory-to-skill
Turn workflows from your MemSearch memory into reusable skills. Use when the user asks to make/create/extract/distill a skill from what they just did or from past work, review skill candidates, install a distilled skill, or 'turn this into a skill'. Manages MemSearch procedural-memory candidates under…
plur-create-engrams
Create or improve PLUR engrams from conversations, documents, decisions, observations, and explicit preferences. Use for memory extraction, engram authoring, or reviewing proposed memories, including global, scoped, pinned, retrieved, and provisional knowledge. Ordinary use of existing memories does not require this…
recall
Recall this repository's OwnMem local memory before changing code, and keep it healthy. Use when a repository contains .ownmem/, when past debugging lessons could apply ("have we hit this before", "why is it done this way"), or when the user mentions ownmem, project memory, or recalling across sessions.
init
Install or update OwnMem in the current repository. Use when the user asks to set up OwnMem, add local project memory for coding agents, or refresh an existing OwnMem installation after a version bump.
Effective Memory
The essential habits for an AI agent with memory — session bookends, learning triggers, verification, safety, and the operational discipline that turns raw recall into compounding intelligence. Pinned, always-injected.