/evolve-lite:adapt-memoryfrom evolve-lite
Mirrors a just-saved native Claude memory into the shared evolve store for team sharing and auditability. Run after saving a native memory.
Ships in evolve-lite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
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:
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 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.
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.
Run the adapter script with just the trigger. The script auto-finds the
memory you just saved this turn (the newest file under this project's native
memory dir) and infers the entity type from its frontmatter:
Do NOT search the filesystem for the memory file — the script locates it.
python3 ~/.claude/evolve-lite/adapt_memory.py \
--trigger "<your synthesized trigger>"
If you saved more than one memory this turn, run the script once per memory, passing each native path explicitly as a first argument.
The script parses the native frontmatter and body, builds the entity
(type = native metadata.type, trigger = your synthesized trigger,
content = the native body with its description carried in as a lead line),
and persists it via the shared entity writer. It is safe to run repeatedly.
Older adapters shortened native names to 60 characters. Re-mirroring now keeps complete normalized names that fit a 255-byte filename; oversized names use a readable prefix and a hash of the complete normalized name. Use the entity ID printed by the adapter for these names.
Old shortened mirrors are retained: their paths can also belong to unrelated
memories, so the adapter cannot safely delete them automatically. If duplicates
appear after upgrading, compare their native_path and contents with the current
native memory before manually removing a confirmed stale mirror.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agenttoolkit/altk-evolve --plugin evolve-lite12 skills in this plugin
/doctorDiagnose evolve health on Claude — verify the CLAUDE.md @import is actually loading the thin EVOLVE.md into sessions/provenanceAnalyze saved trajectories and recall audit events offline to record whether recalled guidelines influenced completed sessions./publishPublish a private entity (guideline, feedback, project or reference) to a configured write-scope repo./retentionApply data-retention rules to the local evolve store — flag or delete stale and unused memories and expired sessions (dry-run by default)/saveCaptures the current session's successful workflow and saves it as a reusable skill with SKILL.md and helper scripts/save-trajectorySave the current conversation as a trajectory JSON file in OpenAI chat completion format for analysis and fine-tuningOther plugins' skills for the same job