memory-learn

memory-learn is a command for Claude Code from studiomeyer-io/studiomeyer-marketplace. It costs 17 tokens per session (314 once invoked), scanned A, original, MIT.

A command that saves a useful learning, mistake, decision, or other project fact to StudioMeyer Memory, a shared store for information an AI assistant can remember.

In plain words
What is it for?
Save research findings, recurring patterns, design decisions, security notes, workflow rules, and project-specific lessons for later use.
Why use it?
It keeps important context from being lost between conversations and helps avoid repeating mistakes or re-discovering the same information.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the studiomeyer-memory plugin — 2 skills, 11 commands, 1 agent shipped together

Good fit Save research findings, recurring patterns, design decisions, security notes, workflow rules, and project-specific lessons for later use.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/studiomeyer-io/studiomeyer-marketplace/memory-learn
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/studiomeyer-io/studiomeyer-marketplace

Made for: Claude Code.

Or install studiomeyer-memory, the plugin that ships this one along with the rest of its 2 skills, 11 commands, 1 agent.

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-learn

README.md
[![agentmods](https://agentmods.dev/badge/commands/studiomeyer-io/studiomeyer-marketplace/memory-learn.svg)](https://agentmods.dev/commands/studiomeyer-io/studiomeyer-marketplace/memory-learn)
Your own site
<a href="https://agentmods.dev/commands/studiomeyer-io/studiomeyer-marketplace/memory-learn"><img src="https://agentmods.dev/badge/commands/studiomeyer-io/studiomeyer-marketplace/memory-learn.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 314 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.00017 $0.00314
Opus 5 $0.00009 $0.00157
Sonnet 5 $0.00003 $0.00063
Haiku 4.5 $0.00002 $0.00031

Measured 3d ago against content hash 30484316cb4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

memory-learn 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 3d 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/studiomeyer-memory/commands/memory-learn.md · 25 lines

What it actually says

The user wants to save something to memory: $ARGUMENTS

  1. Decide the category based on the content:
    • mistake: something that went wrong and must not be repeated
    • pattern: a recurring technique or structure worth reusing
    • insight: a non-obvious realization
    • research: findings from investigation
    • architecture: system-level design fact
    • workflow: how a process should run
    • security: a security-relevant fact
  2. Call nex_learn from the studiomeyer-memory MCP server with:
    • content: the full content from the user
    • category: from step 1
    • confidence: 0.9 for factual user-provided info, 0.7 for inferred
    • project: pass it through when the user named one. Left out, the save inherits the session's project, which is usually what you want. For something that holds regardless of project, pass "global".
  3. If the server returns a duplicate_of field, tell the user that a similar learning already exists and link to it. Do not complain. This is the gatekeeper working correctly.
  4. Confirm the save with one line: category + first 60 chars of the content.

Match the user's language.

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. 3d ago Changed 30484316cb4b
  2. 8d ago First seen · 25 lines · 17 tokens per session scan A bf34f65fbf06

Subscribe to this mod's changes

memory-learn is a command published in the GitHub repository studiomeyer-io/studiomeyer-marketplace (2 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 314 once invoked, about $0.0001 per session on Opus 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-31.