durable-memory

durable-memory is a skill for Claude Code, Codex from lsaint/aikito. It costs 53 tokens per session (1,110 once invoked), scanned A, original, MIT.

A Git-versioned store for durable project knowledge, such as past decisions, user preferences, and verified technical constraints. It is separate from an agent's temporary conversation memory.

In plain words
What is it for?
Use it to save or retrieve cross-project knowledge, project-specific architecture decisions, debugging lessons, and preferences.
Why use it?
It helps avoid repeating investigations and rediscovering known pitfalls across projects. The stored notes can be searched and reviewed later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to save or retrieve cross-project knowledge, project-specific architecture decisions, debugging lessons, and preferences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lsaint/aikito/durable-memory
Install

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.

Any agent
npx skills add lsaint/aikito --skill durable-memory
Clone the repo
git clone --depth 1 https://github.com/lsaint/aikito

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for durable-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/lsaint/aikito/durable-memory/github.svg)](https://agentmods.dev/skills/lsaint/aikito/durable-memory)
Your own site
<a href="https://agentmods.dev/skills/lsaint/aikito/durable-memory"><img src="https://agentmods.dev/badge/skills/lsaint/aikito/durable-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.

agentmods 80×15 button for durable-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsaint/aikito/durable-memory"><img src="https://agentmods.dev/badge/skills/lsaint/aikito/durable-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,110 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01110
Opus 5.5 $0.00021 $0.00444
Sonnet 5.5 $0.00011 $0.00222
Haiku 4.5 $0.00005 $0.00111

Measured 1mo ago against content hash f1a81dce72f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

durable-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 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.

src/aikito/templates/skills/durable-memory/SKILL.md · 76 lines

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.

Durable Memory

This bundled skill is a system-managed snapshot of the installed Aikito package. Do not customize it in place; put additional memory policy in global or project instructions.

Objective

Reduce redundant investigation and repeated pitfalls using a minimal, trustworthy, and searchable memory store.

Memory is a decision-support layer, not a transcript or activity log. Optimize for future decision value rather than completeness, and prefer omission over low-confidence memory.

Decide autonomously when to retrieve, follow related knowledge, or persist. This skill is not a rigid step-by-step procedure: never read or write merely for compliance, and exercise restraint when value is uncertain.

Scope & Single Source of Truth

Resolve <workspace> with aikito path workspace. All memory lives there under Git:

  • Global Memory — <workspace>/memory/: cross-project experience, user preferences, general engineering patterns. Always available.
  • Project Memory — <workspace>/projects/<project-name>/memory/: project-specific constraints, historical architecture decisions, project-unique debugging lessons. Usually reached through the .agents/memory/ runtime entry in registered projects.

Each scope stores atomic notes under notes/. These files are the complete source of truth; no separate index is required. .agents/memory/ is only a runtime entry point and keeps no independent copy; all memory operations act directly on the canonical notes above.

Decision Principles

Retrieve proactively when historical knowledge could materially affect judgment (familiar modules, recurring issues, user preferences, architecture constraints, past decisions). Read only what is relevant to the current task; never load all memories by default.

Knowledge is usually worth persisting when it is likely to matter again, changes future judgment, and is not trivial to recover from the current environment. Prefer verified knowledge; explicit user decisions and preferences are authoritative for their own scope.

Read the full file on GitHub · 76 lines

Changes

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.

  1. 1mo ago Changed · +4 lines f1a81dce72f5
  2. 1mo ago Changed 915b251eb90f
  3. 1mo ago First seen · 72 lines · 53 tokens per session scan A a6fc621b3b8b

Subscribe to this mod's changes

durable-memory is a skill published in the GitHub repository lsaint/aikito (134 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 1,110 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.