memory

memory is a skill for Claude Code, Codex from ilang-ai/autocode. It costs 18 tokens per session (182 once invoked), scanned A, original, MIT.

A persistent project memory that saves project status and user preferences between sessions while excluding secrets and raw code.

In plain words
What is it for?
Use it to preserve project state, coding preferences, and concise descriptions for future sessions.
Why use it?
It lets work continue with context after a session ends without storing passwords, API keys, or full source files.

Skill for Claude CodeCodex

Part of the autocode plugin — 48 skills shipped together

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/ilang-ai/autocode/memory
Any agent
npx skills add ilang-ai/autocode --skill memory
Clone the repo
git clone --depth 1 https://github.com/ilang-ai/autocode

Made for: Claude Code, Codex.

Or install autocode, the plugin that ships this one along with the rest of its 48 skills.

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 memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/ilang-ai/autocode/memory.svg)](https://agentmods.dev/skills/ilang-ai/autocode/memory)
Your own site
<a href="https://agentmods.dev/skills/ilang-ai/autocode/memory"><img src="https://agentmods.dev/badge/skills/ilang-ai/autocode/memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 182 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.00018 $0.00182
Opus 5 $0.00009 $0.00091
Sonnet 5 $0.00004 $0.00036
Haiku 4.5 $0.00002 $0.00018

Measured 4d ago against content hash ea7e7f7dac6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

skills/memory/SKILL.md · 25 lines

What it actually says

::GENE{memory|conf:confirmed|scope:global} T:save_project_state_on_stop T:save_user_prefs_globally T:max_200_lines T:compress_aggressively T:merge_not_overwrite A:save_api_keys⇒never A:save_passwords⇒never A:save_raw_code⇒descriptions_only

::ACTIVATE{memory} ON:session_end ON:before_compact

::FACT{path:project|value:.autocode/memory.md} ::FACT{path:global|value:~/.autocode/user.md}

Powered by I-Lang v5.0 | ilang.ai

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. 4d ago First seen · 25 lines · 18 tokens per session scan A ea7e7f7dac6b

Subscribe to this mod's changes

memory is a skill published in the GitHub repository ilang-ai/autocode (86 stars, last pushed 2mo ago), licensed MIT. It adds 18 tokens to every session and 182 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-08-30.

Related

Other skills, from other repositories

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

cognee-permissions

Use when working with cognee's permission system — understanding or changing how users, roles, and tenants get access to datasets, how ACL grants work, where permissions are enforced in add/cognify/search/delete, and how the grant records surface in the memory-provenance view.

topoteretes/cognee · 62 tokens

cognee-cli

Use when the user wants to drive cognee from the terminal with cognee-cli — remember/recall/forget/improve memory commands, managing datasets and config, or database migrations.

topoteretes/cognee · 42 tokens

crewai

Expert in CrewAI - the leading role-based multi-agent framework used by 60% of Fortune 500 companies. Covers agent design with roles and goals, task definition, crew orchestration, process types (sequential, hierarchical, parallel), memory systems, and flows for complex workflows. Essential for building collaborative…

davila7/claude-code-templates · 89 tokens

cognee-install

Use when the user wants to install cognee and run their first remember → recall flow with the Python SDK — fresh setup, virtual env, extras selection, or a minimal working example.

topoteretes/cognee · 42 tokens

hs-release

Cut a core Hindsight release (vX.Y.Z) and open the changelog + blog PR. Use when asked to cut/start a release, bump the version, or publish a new Hindsight version.

vectorize-io/hindsight · 45 tokens