memory-store

memory-store is a command for Claude Code from verygoodplugins/mcp-automem. It costs 10 tokens per session (465 once invoked), scanned A, original, MIT.

A command for saving an important decision, lesson, reusable approach, preference, or project note in persistent memory.

In plain words
What is it for?
Use it to record architecture choices, bug causes, coding patterns, user preferences, and related project context.
Why use it?
It keeps useful information available for later work instead of leaving it buried in the current conversation.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the automem plugin — 1 skill, 3 commands, 2 hooks, 1 MCP server shipped together

Good fit Use it to record architecture choices, bug causes, coding patterns, user preferences, and related project context.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/verygoodplugins/mcp-automem/memory-store
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/verygoodplugins/mcp-automem

Made for: Claude Code.

Or install automem, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-store

README.md
[![agentmods](https://agentmods.dev/badge/commands/verygoodplugins/mcp-automem/memory-store/github.svg)](https://agentmods.dev/commands/verygoodplugins/mcp-automem/memory-store)
Your own site
<a href="https://agentmods.dev/commands/verygoodplugins/mcp-automem/memory-store"><img src="https://agentmods.dev/badge/commands/verygoodplugins/mcp-automem/memory-store/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-store

Your own site · 80×15
<a href="https://agentmods.dev/commands/verygoodplugins/mcp-automem/memory-store"><img src="https://agentmods.dev/badge/commands/verygoodplugins/mcp-automem/memory-store.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 465 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00465
Opus 5.5 $0.00004 $0.00186
Sonnet 5.5 $0.00002 $0.00093
Haiku 4.5 $0.00001 $0.00047

Measured 29d ago against content hash bfef6cb2ad99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-store scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/automem/commands/memory-store.md · 53 lines

What it actually says

Memory Store

Store important information for future recall:

Bug fixes: Insight, importance 0.75, confidence 0.85. Articulated patterns: Pattern, importance 0.8. User corrections: Preference, importance 0.9, confidence 0.95.

  1. Identify Memory Type:

    • Decision (0.9): Architecture, library, pattern choices
    • Insight (0.75): Bug fixes, root causes, learnings
    • Pattern (0.8): Reusable approaches, best practices
    • Preference (0.9 for corrections): User preferences, style choices
    • Context (0.5-0.7): Feature summaries, notes
  2. Format Content:

    Brief title. Context and details. Impact/outcome.
    
  3. Store with Tags:

    store_memory({
      content: "[formatted content]",
      type: "[Decision|Insight|Pattern|Preference|Context]",
      importance: [0.5-1.0],
      confidence: [0.6-0.95],
      tags: ["category", "project-slug", "language"],
      metadata: {
        files_modified: ["relevant/files.ts"],
        // Additional context as needed
      }
    })
    

    Use bare tags only. No namespace prefixes (project/*, lang/*), no platform tags, and no date-stamped tags. Keep source attribution in metadata and dates in timestamp / t_valid / t_invalid.

  4. Create Associations (if related memories exist):

    associate_memories({
      memory1_id: "[related-memory-id]",
      memory2_id: "[new-memory-id]",
      type: "[INVALIDATED_BY|PREFERS_OVER|EXEMPLIFIES|LEADS_TO]",
      strength: 0.8
    })
    

Recall first when the new memory updates or supersedes existing knowledge. Prefer update_memory over near-duplicate stores for facts that changed in place.

Ask the user what they want to store if not clear from context.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +2 lines bfef6cb2ad99
  2. 3mo ago First seen · 51 lines · 10 tokens per session scan A 6290cc020704

Subscribe to this mod's changes

memory-store is a command published in the GitHub repository verygoodplugins/mcp-automem (67 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 465 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

memory-store compared with commands from other repositories

memory-store next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-storeverygoodplugins/mcp-automemCommand67todayMITA10Claude Code
contextsusomejias/rembricCommand155d agoMITA8Claude Code
summarysusomejias/rembricCommand155d agoMITA17Claude Code
remembersusomejias/rembricCommand155d agoMITA11Claude Code
recallsusomejias/rembricCommand155d agoMITA11Claude Code
make-plannhevers/MoltBrainCommand2538mo agononeA7Claude Code
donhevers/MoltBrainCommand2538mo agononeA8Claude Code