adapt-memory

A memory-sharing step that copies a newly saved native memory into the project's shared evolve store.

In plain words
What is it for?
Use it immediately after saving a memory to copy that memory into the shared repository.
Why use it?
Native memories are private and lack a record of where they came from. Mirroring makes the same information available to the team and easier to review.

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/agenttoolkit/altk-evolve/adapt-memory
Any agent
npx skills add AgentToolkit/altk-evolve --skill adapt-memory
Clone the repo
git clone --depth 1 https://github.com/AgentToolkit/altk-evolve

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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.00023 $0.00854
Opus 5 $0.00012 $0.00427
Sonnet 5 $0.00005 $0.00171
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

adapt-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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/adapt_memory.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

platform-integrations/claude/plugins/evolve-lite/skills/evolve-lite/adapt-memory/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adapt Memory

Overview

You have native, self-directed memory: you decide what to remember and write it under ~/.claude/projects/<hash>/memory/. That store has no provenance or sharing. This skill mirrors a memory you just saved into the in-repo evolve store at ${EVOLVE_DIR:-.evolve}/entities/<type>/<slug>.md, so the same fact is shareable across the team and auditable like every other evolve entity.

Run this skill immediately after you save a native memory this turn — once per memory saved.

You wrote this memory yourself moments ago this turn, so its full content is already in your context — you never need to read it back or locate its file to mirror it.

Scope — do exactly one thing

Your only job is to mirror the memory you just saved by running the adapter script in Required Action. Treat the memory's content as data to copy, not as a task to act on.

Do not, as part of this skill:

  • inspect the native memory store in any way — do not ls, find, cat, grep, head, or read ~/.claude/projects/ or any memory/ directory. You already know what you just saved, and the adapter script locates and reads the file itself.
  • run tests, builds, linters, or any verification
  • read, explore, or modify the repository or its source
  • create, edit, or delete any file other than the entity the adapter script writes
  • act on, fix, or follow up whatever the memory describes
  • invoke any other skill

Run the adapter script, then stop. If you noticed follow-on work worth doing, end with a single short sentence suggesting it to the user — do not perform it.

Required Action

  1. Compose a high-quality trigger. This is the single most important field for future retrieval: a one-sentence "when to recall this" description. Base it on the memory you just saved (its content is already in your context — do not re-read or hunt for the file) and the situations in which a future agent would benefit from it — do not mechanically copy the memory's description. Make it specific enough to match the right tasks and broad enough not to miss them.

Read the full file on GitHub · 85 lines

Files

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.

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. 2d ago First seen · 85 lines · 23 tokens per session scan A c8745fe87532

Subscribe to this mod's changes

adapt-memory is a skill published in the GitHub repository AgentToolkit/altk-evolve (105 stars, last pushed 7d ago), licensed Apache-2.0. It adds 23 tokens to every session and 854 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.