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 Sherlockwz/AMA --skill ama-memorygit clone --depth 1 https://github.com/Sherlockwz/AMAWrote 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/sherlockwz/ama/ama-memory)<a href="https://agentmods.dev/skills/sherlockwz/ama/ama-memory"><img src="https://agentmods.dev/badge/skills/sherlockwz/ama/ama-memory/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/sherlockwz/ama/ama-memory"><img src="https://agentmods.dev/badge/skills/sherlockwz/ama/ama-memory.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.00033 | $0.00630 |
| Opus 5.5 | $0.00013 | $0.00252 |
| Sonnet 5.5 | $0.00007 | $0.00126 |
| Haiku 4.5 | $0.00003 | $0.00063 |
Grade A, and why
ama-memory 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 3mo 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.
This is a copy
100% identical to ama-memory — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AMA Memory
AMA maintains three complementary forms of memory:
- raw text for exact details and wording;
- fact knowledge for stable, atomic information;
- episodes for high-level events and multi-turn summaries.
The plugin normally recalls and captures memory automatically. Use the explicit tools when a task needs deterministic memory handling or when diagnosing an integration.
Operating rules
- Prefer automatic recall for ordinary conversation. Do not call retrieval repeatedly when the injected
<ama-memories>context already answers the request. - Use
ama_retrievebefore answering a question that clearly depends on earlier sessions and lacks sufficient recalled context. - Use
ama_process_turnonly for a user turn that should become long-term memory. Useama_process_assistantfor the corresponding assistant response. - Use
ama_session_endwhen a conversation, topic, or work session has clearly ended so AMA can synthesize an episode. - Treat
ama_memory_forgetas destructive. Only invoke it after the user explicitly asks to delete or reset stored memory, and pass the intendeduserId. - Never expose API keys, database paths, internal record IDs, or unrelated stored memories in an answer.
Tools
ama_retrieve
Search without changing memory. Pass a concise, self-contained query. Enable strong retrieval only when the first retrieval is insufficient and multi-round verification is warranted.
ama_process_turn
Process and store a user turn through retrieval, judging, refreshing, and construction. Use the actual user message rather than a paraphrase when wording or temporal details matter.
ama_process_assistant
Store an assistant response after it has been delivered. This does not perform a second retrieval.
ama_memory_list
Inspect memory counts and current window size. Use it for diagnostics, not as a substitute for semantic retrieval.
ama_session_end
Trigger end-of-session episode generation after the final turn has been captured.
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.
- 3mo ago First seen · 76 lines · 33 tokens per session scan A f8b39373f1a9
ama-memory is a skill published in the GitHub repository Sherlockwz/AMA (115 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 630 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ama-memory, differing in 0 lines, and is treated as a copy.
ama-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ama-memorySherlockwz/AMA | Skill | 115 | 2mo ago | Apache-2.0 | A | 33 | Claude Code, Codex |
| memorykitfunso/hippo-memory | Skill | 801 | yesterday | MIT | A | 36 | Claude Code |
| sibyl-memorySibyl-Labs/Sibyl-Memory | Skill | 199 | 4d ago | MIT | C | 90 | Cursor |
| memxNeoLi00/memX | Skill | 400 | 6mo ago | MIT | A | 26 | Claude Code |
| keymemdonggyun112/keymem | Skill | 3 | 1mo ago | MIT | A | 56 | Claude Code |
| mem0-climem0ai/mem0 | Skill | 70k | 7d ago | Apache-2.0 | A | 177 | Claude Code, Codex |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 70k | 7d ago | Apache-2.0 | A | 146 | Claude Code, Codex |