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 antflydb/antfly --skill antfly-memorygit clone --depth 1 https://github.com/antflydb/antflyWrote 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/antflydb/antfly/antfly-memory)<a href="https://agentmods.dev/skills/antflydb/antfly/antfly-memory"><img src="https://agentmods.dev/badge/skills/antflydb/antfly/antfly-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/antflydb/antfly/antfly-memory"><img src="https://agentmods.dev/badge/skills/antflydb/antfly/antfly-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.00000 | $0.00590 |
| Opus 5.5 | $0.00000 | $0.00236 |
| Sonnet 5.5 | $0.00000 | $0.00118 |
| Haiku 4.5 | $0.00000 | $0.00059 |
Grade A, and why
antfly-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 yesterday.
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 — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Antfly Memory
Use this skill when an agent keeps durable, evidence-backed memory in Antfly across sessions: what the user prefers, decisions and their rationale, procedures that worked, and facts that later turn out to be wrong.
Endpoints
/memory/v1/mcp/agentis the small agent toolset:memory_brief,memory_recall,memory_observe,memory_correct,memory_forget,memory_outcome,memory_getandmemory_explain. Prefer it inside a task. Mutating tools accept an omittedidempotency_key; an identical retry replays the first receipt./memory/v1/mcpis the full catalog (configuration, curation, consolidation, evaluation). Use it for administration, not for routine recall. Mutations there requireidempotency_key.
Every call names a space; database and namespace default to default and public. Arguments carry the
action's typed body, for example:
{"name": "memory_recall", "arguments": {"space": "team", "body": {"query": "deployment guidance", "token_budget": 2048}}}
Working loop
- Start with a brief.
memory_briefreturns at most 64 compact items that fittoken_budget(default 1024): pinned items first, then constraints, preferences and procedures. Inject it as context. - Recall on demand.
memory_recallwith a focusedquerywhen the task needs more than the brief. Keeptoken_budgetsmall; recall ranks and truncates to fit it. - Observe evidence, not conclusions.
memory_observerecords what actually happened or what the user said. Antfly derives claims from evidence and keeps provenance, so record the source text, not your paraphrase of it. - Correct and forget explicitly. When the user says a memory is wrong, call
memory_correctwith the replacement; when they ask you to forget, callmemory_forget. Do not silently ignore stale memories. - Report outcomes. After you used memories to complete a task,
memory_outcomewith the ids you used and whether it worked. Outcome utility reorders future recall. - Explain when asked.
memory_explainshows why a memory exists and which evidence supports it.
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.
- yesterday First seen · 41 lines · 0 tokens per session scan A d8e3e99ecb11
antfly-memory is a skill published in the GitHub repository antflydb/antfly (535 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 590 tokens. 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-12-03.
antfly-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| antfly-memoryantflydb/antfly | Skill | 535 | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| pixelbrowseStarTrail-org/PixelRAG | Skill | 11k | yesterday | Apache-2.0 | A | 90 | Claude Code |
| xerjxerj-org/xerj | Skill | 24k | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| decisionbibinprathap/VeritasGraph | Skill | 328 | 5d ago | MIT | A | 55 | Claude Code |
| memvid-ragfa-ina-tic/memvid-rag | Skill | 3 | 3mo ago | none | A | 45 | 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 |