/mstack:remember [what to remember]from mstack
Crystallize a breakthrough or discovery into a short, committed mstack core memory that every future session in the project starts with. Use when the user asks to remember something permanently, save a core memory, or says a finding should never be lost, and when a final checkpoint prompts for a core memory after a real discovery.
Ships in mstack. 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.
None: SKILL.md is the whole skill.
Core memories live in docs/mstack/core_memories/, are committed with the project, and are loaded into every future session. Each one costs context forever, so the bar is high and the form is short.
Treat every core memory as publishable source code. Never include credentials, API keys, tokens, passwords, private keys, personal data, or confidential customer or company information. Preserve the useful lesson with placeholders or a reference to an environment variable instead of sensitive values. Review the text for sensitive information before writing it; if the lesson cannot be recorded safely, explain that and omit it. Gitignored session memory is not a secret store either.
Yes, when all three hold:
No, when it is progress, status, a to-do, a preference for this task, or something a reader of the code would see anyway. Those belong in session memory (/mstack:checkpoint).
When the user explicitly asks to remember something, write it. They decide. If it looks like session state rather than a lasting fact, say so in one line and write it anyway, short.
When the prompt came from a hook and core_memories: false is set in .mstackrc, do not write one.
Read the existing files in docs/mstack/core_memories/. If one already covers this, update it instead of adding a second. If the new fact makes an old one wrong, fix or delete the old one.
Create docs/mstack/core_memories/<YYYY-MM-DD>-<short-slug>.md:
# Sequel models must load after DB.extension(:pg_json)
Loading a model first silently returns JSON columns as strings.
The require order in config/db.rb is load-bearing.
Run mstack doctor and check the core memories line. If the set is over budget, tell the user and offer to consolidate.
Tell the user what you wrote, in one line, with the path. Do not commit unless asked.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub makevoid/mstack --plugin mstack5 skills in this plugin
/checkpointWrite the current session's state to the mstack session memory file now, so it survives compaction or a restart. Use when the user asks to checkpoint, save progress, save the session, write session memory, or says they are about to compact, clear or step away, and before running /compact manually./mstackOperating guide for mstack single-agent mode, where one big agent does all the work in one context instead of orchestrating subagents, with session memory that survives compaction, crystallized core memories and a model policy tied to plan limits. Use when the user mentions mstack, when a hook message starting with "mstack" asks for a checkpoint, a pause or a reload after compaction, when unsure how to write session or core memory, or when tempted to hand work to a subagent in an mstack project./