Add memory
Give a product memory people can trust: what it keeps, when it uses it, and how it asks. Four steps.
Skills, in order: Human agency, Memory integrity, Agent behaviour, Product verification
When to use it
The product will store preferences, history or personal context, or retrieve documents to ground its answers.
The steps
Run them in order, in the same conversation, so each skill reads the call the last one made. The prompts are examples; swap in your own.
Step 1: Decide what it may remember
/rstack:human-agency The app will remember family members people mention. What should it keep automatically, ask about, or never keep?- Ends with
- Automate, Assist or Keep human for each kind of memory, plus the person’s controls (view, correct, delete).
Step 2: Write the memory contract
/rstack:memory-integrity Write the memory contract for remembered family members: source, freshness, permission, and when to use, confirm or withhold.- Ends with
- Use, Confirm or Withhold per item, the keep/correct/delete rules and the checks.
- Gate
- A cross-user leak or a delete that leaves copies → Block. Fix before step 3.
Step 3: Decide how it asks
/rstack:agent-behaviour When a remembered item needs confirming, what does the assistant say, and when does it stay quiet?- Ends with
- The next move and wording per situation.
Step 4: Verify the memory checks
Product verification, run by the verifier subagent
/rstack:product-verification Verify the memory build: correction, deletion, stale items and another user’s data.- Ends with
- Pass, Fail or Not verified.
What you end up with
- A memory the person can see, correct and delete
- A rule for every item: use it, confirm it or leave it out
- Confirmation prompts that don’t nag
- Deletion and isolation checked, not assumed
Run it in one go
The rstack plugin includes a router that runs this playbook for you. It writes the steps onto a todo list, runs each skill in turn and stops when a gate says stop.
Install the plugin
/plugin marketplace add richardsimms/skills/plugin install rstack@richardsimmsThen run
/rstack:rstack-mode add memory: Add what you’re working on after the colon. Installed with the skills CLI instead, run each step yourself and drop rstack: from the commands.