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 AIPMAndy/dna-memory --skill dna-memory-loopgit clone --depth 1 https://github.com/AIPMAndy/dna-memoryWrote 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/aipmandy/dna-memory/dna-memory-loop)<a href="https://agentmods.dev/skills/aipmandy/dna-memory/dna-memory-loop"><img src="https://agentmods.dev/badge/skills/aipmandy/dna-memory/dna-memory-loop/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/aipmandy/dna-memory/dna-memory-loop"><img src="https://agentmods.dev/badge/skills/aipmandy/dna-memory/dna-memory-loop.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.00051 | $0.00670 |
| Opus 5.5 | $0.00020 | $0.00268 |
| Sonnet 5.5 | $0.00010 | $0.00134 |
| Haiku 4.5 | $0.00005 | $0.00067 |
Grade A, and why
dna-memory-loop 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 1mo 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DNA Memory Loop
Use DNA Memory as the cross-client long-term truth. Treat each client's native history as a transcript source, not as a competing durable memory store.
Before substantive work
You MUST recall before relying on history. Treat a task as history-dependent when it refers to prior work, asks to continue, mentions last time or the same plan, names an existing project or path, or depends on a durable preference, known error, workflow, project state, or open loop.
- Extract one to four distinctive terms from the request, project, error, or expected result.
- Call
memory_recallseparately for each term. Always pass the real client: useclient=codex,client=claude-code, orclient=hermesfor those runtimes. Never invent client or session metadata. Pass the current stable session ID only when the runtime exposes it; otherwise omit session_id instead of using a placeholder. - Deduplicate by memory ID. Inject at most five memories and about 2,000 tokens total.
- Use only relevant results. Current files, processes, remote state, and tests override stale memory.
Skip recall for simple, self-contained work such as translation, current time, one-step formatting, or a command that does not depend on history.
Feedback
- Call
memory_feedback(..., outcome="useful")only when a recalled memory changed or confirmed the work. - Use
outcome="misleading"when a memory sent the task in the wrong direction. - Do not submit feedback for a result that was displayed but not used.
After verification
Call memory_remember only for a durable preference, decision with rationale,
fact, insight, reusable workflow, proven error lesson, project state, or open
loop. Write a compact conclusion with bounded source pointers. Never store a
full transcript, credentials, raw prompts, or large tool output.
When current evidence invalidates an older conclusion, read the older memory
IDs and pass only those exact IDs through supersedes. Never infer replacement
from project or type alone.
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.
- 1mo ago First seen · 64 lines · 51 tokens per session scan A fbfd9422a5c7
dna-memory-loop is a skill published in the GitHub repository AIPMAndy/dna-memory (96 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 670 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-08-30.
Other skills, from other repositories
kayba-ace
This skill ships learnfromtraces.py, a script that reads OpenClaw session transcripts, feeds them through the ACE learning pipeline, and writes an updated skillbook to disk.
mem0-vercel-ai-sdk
Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…
mem0-tour
Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.
mem0-cli
Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions "mem0 cli", "mem0 command line", "@mem0/cli", "mem0-cli", "pip install mem0-cli", "npm install -g @mem0/cli", or is running mem0 commands in a terminal/shell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0…
mempalace
MemPalace — Local AI memory with 96.6% recall. Semantic search, temporal knowledge graph, palace architecture (wings/rooms/drawers). Free, no cloud, no API keys.
mempalace-task
Create, hand off, claim, execute, and close agent tasks through the MemPalace logstream. Use when the user wants to delegate work, prepare a ready-to-paste task for another agent, receive a MemPalace task id, or explicitly launch a supported headless agent in controlled mode.