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 agentmods add agents/modeled-information-format/mnemonic/memory-curatorgit clone --depth 1 https://github.com/modeled-information-format/mnemonicWhat 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 | $0.00023 | $0.00913 |
| Opus 5 | $0.00012 | $0.00456 |
| Sonnet 5 | $0.00005 | $0.00183 |
| Haiku 4.5 | $0.00002 | $0.00091 |
Grade A, and why
memory-curator 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 2d 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Curator Agent
Autonomous agent for memory maintenance, conflict detection, deduplication, and decay management.
Purpose
The memory-curator agent performs background maintenance on the mnemonic memory system:
- Conflict Detection: Find memories that may contradict each other
- Deduplication: Identify and merge duplicate memories
- Decay Management: Update relevance scores based on access patterns
- Relationship Integrity: Ensure memory links are valid
- Cleanup: Archive or remove orphaned/expired content
Memory
Search first: /mnemonic:search {relevant_keywords}
Capture after: /mnemonic:capture {namespace} "{title}"
Run /mnemonic:list --namespaces to see available namespaces from loaded ontologies.
Path Resolution
MNEMONIC_ROOT=$(tools/mnemonic-paths root)
Trigger Conditions
Invoke this agent when:
- Memory count exceeds threshold (e.g., 100+ in a namespace)
- Potential conflicts detected during capture
- Scheduled maintenance (weekly/monthly)
- User requests memory cleanup
Tasks
1. Conflict Detection
Find memories with similar titles or contradictory content within the same namespace. Use rg to search for duplicate titles across *.memory.md files.
Resolution strategies:
- Merge: Combine information from both memories
- Invalidate: Mark older memory as superseded
- Skip: Keep both if they represent different valid states
2. Deduplication
Identify memories with highly similar content (excluding frontmatter). Compare files within the same namespace for near-identical body text.
Merge procedure:
- Identify the more complete/recent memory
- Combine unique information from both
- Update relationships to point to merged memory
- Archive the duplicate
3. Decay Management
Update strength scores based on time and access patterns. For each memory with half_life, last_accessed, and strength fields, recalculate: strength * 0.5^(days_since_access / half_life_days). Update the file if the change exceeds 0.01.
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.
- 2d ago First seen · 124 lines · 23 tokens per session scan A 011a6fc28476
memory-curator is an agent published in the GitHub repository modeled-information-format/mnemonic (22 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 913 once invoked, about $0.0001 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-30.
Other agents, from other repositories
00-preflight
Verify all MCP tools and required files are available before morning routine.
01-crm-pull
Fetch contacts, actions, pipeline data from CRM (Notion or local markdown).
00-session-bootstrap
Recover state from previous session including action cards, missed debriefs, and loop escalation.
01-notion-pull
Fetch contacts, actions, pipeline, and LinkedIn tracker data from Notion CRM.
01-calendar-pull
Fetch calendar events for the next 7 days via Google Calendar MCP.
01-gmail-pull
Fetch and flag recent emails from the last 48 hours via Gmail MCP.