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 akillness/jeo-skills --skill agent-memory-architecturegit clone --depth 1 https://github.com/akillness/jeo-skillsWrote 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/akillness/jeo-skills/agent-memory-architecture)<a href="https://agentmods.dev/skills/akillness/jeo-skills/agent-memory-architecture"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/agent-memory-architecture/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/akillness/jeo-skills/agent-memory-architecture"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/agent-memory-architecture.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.00808 |
| Opus 5.5 | $0.00024 | $0.00323 |
| Sonnet 5.5 | $0.00012 | $0.00162 |
| Haiku 4.5 | $0.00006 | $0.00081 |
Grade A, and why
agent-memory-architecture 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 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.
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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Memory Architecture
Overview
Conversation history ≠ memory. Production agents need tiered stores: hot in-context, warm vector recall, cold archival, plus temporal knowledge graphs for facts that change over time. This skill picks the backend and tier layout.
When to use
- Agent needs to remember user preferences across sessions
- Multi-session task continuity (Ralph, long-running research)
- Personalization that survives restarts
- Multi-tenant agents with strict isolation
- Facts change over time (price, status, relationships) → temporal KG needed
Backend selection
| Backend | Strength | Pick when |
|---|---|---|
| mem0 | Self-improving, fact extraction, OSS | Personalization, conversational memory |
| Letta (MemGPT) | OS-style tiered memory, persistence | Agent-as-process, long-lived agents |
| Zep / Graphiti | Temporal knowledge graph, bi-temporal | Facts change over time, need history |
| LangMem | LangGraph-native, simple | Already on LangGraph, no extra service |
| Postgres + pgvector | Roll your own, full control | Compliance / on-prem requirements |
Tier design
┌─────────────────────────────────────────────┐
│ Core (in context) — identity, rules │ <2k tokens
├─────────────────────────────────────────────┤
│ Recall (vector search) — last N sessions │ 100k+ items
├─────────────────────────────────────────────┤
│ Archival (cold store) — full history │ unbounded
└─────────────────────────────────────────────┘
Promotion rule: archival → recall on retrieval; recall → core on repeated use. Eviction rule: core → recall on token pressure; recall → archival on staleness.
Temporal vs snapshot
- Snapshot: latest value wins (mem0 default). Simple, loses history.
- Temporal (bi-temporal): every fact has
valid_from,valid_to,recorded_at. Required when "what did the agent believe yesterday?" matters.
Graphiti / Zep give you bi-temporal out of the box. Hand-rolled needs (entity, relation, value, t_valid_start, t_valid_end, t_recorded) tuples.
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 · 83 lines · 60 tokens per session scan A 768857916195
agent-memory-architecture is a skill published in the GitHub repository akillness/jeo-skills (63 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 808 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-09-19.
agent-memory-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-memory-architectureakillness/jeo-skills | Skill | 63 | yesterday | MIT | A | 60 | Claude Code, Codex |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 5d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 14d ago | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 6d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |