ai-memory is a shared long-term memory system for coding agents that preserves project knowledge, unfinished work, failed approaches, and open questions across tools and machines. It is used by individual developers and teams to hand work between different coding agents and continue projects without repeating the context.
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.
git clone --depth 1 https://github.com/akitaonrails/ai-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/plugins/akitaonrails/ai-memory/claude-code)<a href="https://agentmods.dev/plugins/akitaonrails/ai-memory/claude-code"><img src="https://agentmods.dev/badge/plugins/akitaonrails/ai-memory/claude-code/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/plugins/akitaonrails/ai-memory/claude-code"><img src="https://agentmods.dev/badge/plugins/akitaonrails/ai-memory/claude-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
ai-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 today.
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.
What it actually says
{
"name": "ai-memory",
"displayName": "ai-memory",
"version": "3.6.7",
"description": "Long-term memory across sessions and harnesses. Hands each lifecycle event to the installed ai-memory binary, which applies your capture exclusions and sends a sanitized record only to your ai-memory server (default http://127.0.0.1:49374). Adds the ai-memory MCP tools. No telemetry. Requires the ai-memory binary, 3.0 or later. In Cowork, capture runs on your computer and needs ai-memory installed there; the memory tools still work.",
"author": {
"name": "AkitaOnRails",
"url": "https://github.com/akitaonrails"
},
"homepage": "https://aimemory.sh",
"repository": "https://github.com/akitaonrails/ai-memory",
"license": "MIT",
"keywords": [
"memory",
"mcp",
"hooks",
"handoff",
"context"
],
"userConfig": {
"server_url": {
"type": "string",
"title": "ai-memory server URL",
"description": "Base URL of the ai-memory server. Leave empty to use the server_url from your ai-memory config (http://127.0.0.1:49374 for a local install).",
"default": ""
},
"ai_memory_bin": {
"type": "string",
"title": "ai-memory executable",
"description": "Absolute path to the ai-memory binary, only needed when it is not on PATH. A relative path is ignored.",
"default": "ai-memory"
},
"data_dir": {
"type": "string",
"title": "ai-memory data directory",
"description": "Only for an install that uses a non-default data directory.",
"default": ""
}
}
}
What it installs
The manifest is a name and a version. 11 hooks, 1 MCP server travel with it, and installing the plugin installs all of them. Each is measured on its own page, and each can be installed alone.
- Hook SessionStart A not measured
- Hook UserPromptSubmit A not measured
- Hook PostToolUse A not measured
- Hook SubagentStart A not measured
- Hook SubagentStop A not measured
- Hook PreCompact A not measured
- Hook StopFailure A not measured
- Hook PostToolUseFailure A not measured
- Hook Stop A not measured
- Hook PreToolUse A not measured
- Hook SessionEnd A not measured
- MCP server ai-memory A not measured
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.
- today Changed 8c93ee27f69c
- 3d ago Changed c23a8f835624
- 4d ago Changed e9e315268764
- 5d ago Changed 3a2818579e6a
- 6d ago Changed 5358841e3a88
- 7d ago Changed 15e06e5c1776
- 8d ago Changed ba36a4016d4f
- 12d ago Changed cc0b2dcc2cd2
- 13d ago Changed f77dbee7825e
- 16d ago First seen · 41 lines scan A 3373bb338552
ai-memory is a plugin published in the GitHub repository akitaonrails/ai-memory (16,686 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-10-14.
ai-memory compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-memoryakitaonrails/ai-memory | Plugin | 17k | today | MIT | A | — | Claude Code |
| open-knowledge-vaultglebis/claude-skills | Plugin | 417 | today | MIT | A | — | Claude Code |
| knowledge-and-memoryoaustegard/claude-skills | Plugin | 425 | yesterday | MIT | A | — | Claude Code |
| mega-brainguhcostan/claude-mega-brain | Plugin | 128 | 4d ago | MIT | A | — | Claude Code |
| paimnott/PAI | Plugin | 74 | 3d ago | MIT | A | — | Claude Code |
| bestpracticeavanturer/claude-bestpractice | Plugin | 3 | today | MIT | A | — | Claude Code |
| todoxbeydemirfurkan/todox | Plugin | 2 | yesterday | MIT | A | — | Claude Code |