Skip to content
Back to skills

Save Memory

ASecurity

Save a decision, preference or factual note to Mash memory. Use when the person runs /mash:save-memory, says "remember this", "save this to Mash", "note that" or "make a note", or asks to keep something for later sessions.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agents

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add mashhq/mash --skill save-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Save Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Save Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mashhq-save-memory/badge)](https://www.skillsdirectory.com/skills/mashhq-save-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: save-memory
description: Save a decision, preference or factual note to Mash memory. Use when the person runs /mash:save-memory, says "remember this", "save this to Mash", "note that" or "make a note", or asks to keep something for later sessions.
---

# Save to Mash memory

The person wants one thing kept for later sessions. Save it now with Mash's
`record` tool; hosts may prefix the tool names.

## What to save

Whatever follows the command. With nothing after it, save the most recent
thing the person decided, stated as a preference, corrected or asked you to
note in this conversation, and say which one you chose. If nothing in the
conversation qualifies, ask what to remember instead of inventing something.

Write it as one statement that will make sense alone in a later session:
name the project, file or tool it concerns, and say what was chosen, not that
a discussion happened.

## How to save it

1. Call `help` with `tool: "record"` for the current arguments. The loaded
   skill may describe another release; live help is authoritative.
2. Call `find_record_matches` with the same scope and body you are about to
   save. If a record already says
   it, tell the person and stop. If one says something that this replaces,
   supersede that record instead of adding a second one.
3. Call `record` with:
   - the scope and `session_id` from the Mash note at the start of this
     session (repository scope inside a repository, personal scope for
     something about the person across projects);
   - a kind that fits:
     - `decision` for a choice the person made or confirmed;
     - `preference` for how they like things done, including a correction
       to how you work;
     - `note` for anything else they want kept, such as where something
       runs, a date, a name or a fact about the project. A note has only a
       state (`active`) and no other kind fields. Save a factual note only
       when requested; notes are always established, never candidates.
   - `evidence`: the person's exact words from this conversation as the
     quote, with purpose `endorsement`. The quote is checked against this
     session's transcript, so copy it exactly, typos included.
   - review `established`, because the person asked for it directly.
4. If the save fails, say so with the error. Retry once on `index-busy`.
   Never report something as saved that was not.

## Afterwards

Confirm in one line: the statement as saved and its scope. Do not paste IDs
unless asked. Do not save anything else the person did not ask for.

Never save credentials, tokens or other secrets, even on request: say why and
offer to save a note about where the secret is kept instead.

Use `/mash:show-memory` to inspect saved records and `/mash:history` to find
past conversations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.