Memory
Use this skill to make persistent memory feel like a first-class Codex workflow.
Explicit Invocation
- Typing
$memoryexplicitly invokes this skill. - In the Codex app, enabled skills also appear in the slash command list, so
/memoryshould activate this skill in a new thread after reload. - Treat plain text
@memoryor@记忆as a user-facing alias for this skill even though it is not a native app-backed@chip.
Default Workflow
- Before broad repo exploration, call
memory_recallif prior fixes, decisions, or preferences may matter. - Use scope
project:new-projectunless there is a better repo-specific slug in the current task. - After a durable fix, decision, or stable preference, prefer
memory_extract_and_storewith a short summary transcript. - Use
memory_storeonly for a single short atomic memory. - Use
memory_healthif recall or writes fail.
Fast Mappings
@memory recall <query>: callmemory_recall@memory store <text>: callmemory_store@memory extract <summary>: callmemory_extract_and_store@memory list: callmemory_list@memory stats: callmemory_stats@memory health: callmemory_health@memory forget <id>: callmemory_forget
Writing Rules
- Prefer concise, reusable memories.
- Split facts and rules into separate memories when both matter.
- Do not store secrets, API keys, tokens, or private credentials.