auto-memory

auto-memory is a skill for Claude Code, Codex from jmagly/aiwg. It costs 27 tokens per session (256 once invoked), scanned A, original, MIT.

A set of starter memory files for an AI coding assistant, covering a project's overview, tests, debugging notes, and architecture. It includes guidance for adapting these files to different assistant providers.

In plain words
What is it for?
Use it to seed project documentation about how the codebase works, how it is tested, how bugs are investigated, and why its architecture is arranged as it is.
Why use it?
It gives an assistant persistent project context instead of making it rediscover the same structure and decisions in every session. It also warns against storing secrets or sensitive personal data in memory files.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jmagly/aiwg/auto-memory
Any agent
npx skills add jmagly/aiwg --skill auto-memory
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

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 auto-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagly/aiwg/auto-memory.svg)](https://agentmods.dev/skills/jmagly/aiwg/auto-memory)
Your own site
<a href="https://agentmods.dev/skills/jmagly/aiwg/auto-memory"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/auto-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 256 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00256
Opus 5 $0.00014 $0.00128
Sonnet 5 $0.00005 $0.00051
Haiku 4.5 $0.00003 $0.00026

Measured today against content hash 7e06a91ba061, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

agentic/code/addons/auto-memory/skills/auto-memory/SKILL.md · 41 lines

What it actually says

Auto Memory

Use this driver when an operator wants the auto-memory seed bundle.

For new projects, prefer the canonical scaffolding path:

aiwg new

For an existing project, deploy the addon through AIWG:

aiwg use auto-memory --provider <provider>

Claude supports the native automatic-memory layout. Cursor and OpenCode require provider-specific adaptation; other providers should use workspace context or semantic-memory capabilities instead of pretending native automatic memory exists.

The seeds cover project overview, testing, debugging, and architecture. Never put secrets, credentials, tokens, or sensitive personal data in memory files.

References

  • @$AIWG_ROOT/agentic/code/addons/auto-memory/docs/overview.md
  • @$AIWG_ROOT/agentic/code/addons/semantic-memory/skills/memory-ingest/SKILL.md
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. today First seen · 41 lines · 27 tokens per session scan A 7e06a91ba061

Subscribe to this mod's changes

auto-memory is a skill published in the GitHub repository jmagly/aiwg (209 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 256 once invoked, about $0.0001 per session on Opus 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-09-05.