Borrowing it
Nothing to install: this file belongs to a2z2k26/semantic-memory-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/a2z2k26/semantic-memory-mcp/main/.claude/commands/memory.mdgit clone --depth 1 https://github.com/a2z2k26/semantic-memory-mcpWrote 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.
[](https://agentmods.dev/commands/a2z2k26/semantic-memory-mcp/memory)<a href="https://agentmods.dev/commands/a2z2k26/semantic-memory-mcp/memory"><img src="https://agentmods.dev/badge/commands/a2z2k26/semantic-memory-mcp/memory/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.
<a href="https://agentmods.dev/commands/a2z2k26/semantic-memory-mcp/memory"><img src="https://agentmods.dev/badge/commands/a2z2k26/semantic-memory-mcp/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.00900 |
| Opus 5.5 | $0.00004 | $0.00360 |
| Sonnet 5.5 | $0.00002 | $0.00180 |
| Haiku 4.5 | $0.00001 | $0.00090 |
Grade A, and why
memory 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Semantic Memory Command
Execute memory operations against the shared Semantic Memory MCP server.
Available Actions
Core Memory Operations
store- Store a memory entry:/memory store mykey '{"data": "value"}'retrieve- Get a memory by key:/memory retrieve mykeysearch- Search memories:/memory search "search query"list- List recent memories:/memory liststats- Get storage statistics:/memory statshealth- Check system health:/memory health
Team Coordination
team- Show team status and context:/memory teamhandoff- Create work handoff for another agent:/memory handoff task-namedecide- Record a decision with rationale:/memory decide "Use SQLite" "Better concurrency"
Sandbox Integration
sync- Check Memory Bridge status for E2B sandboxes:/memory syncsandboxes- List sandbox memories:/memory sandboxes
Usage Examples
/memory store user:preferences '{"theme": "dark", "lang": "en"}'
/memory retrieve user:preferences
/memory search "API configuration"
/memory list
/memory stats
/memory health
/memory team
/memory handoff feature-implementation
/memory decide "Use FTS5 for search" "Best balance of simplicity and performance"
/memory sync
/memory sandboxes
When to Use Memory
- Store important findings - When you discover something that future agents or sessions should know
- Record decisions - Document architectural decisions, design choices, rationale
- Share context - Pass information between different Claude sessions/worktrees
- Track artifacts - Store code snippets, configurations, outputs for reference
- Create handoffs - When passing incomplete work to another agent
- Check sandbox results - Access work from E2B sandbox agents
Action: $ARGUMENTS.action
Key: $ARGUMENTS.key Value: $ARGUMENTS.value Query: $ARGUMENTS.query Decision: $ARGUMENTS.decision Rationale: $ARGUMENTS.rationale
Based on the action requested, use the appropriate MCP tool:
- For
store: Usememory_storewith the key and parsed JSON value - For
retrieve: Usememory_retrievewith the key - For
search: Usememory_searchwith the query - For
list: Usememory_list - For
stats: Usememory_stats - For
health: Usesystem_health - For
team: Useteam_get_status - For
handoff: Useteam_store_contextwith keyhandoff:{key}containing:- status: 'in_progress'
- handoffAt: current timestamp
- description: Ask user what to include
- completed: List of completed items
- remaining: List of remaining items
- notes: Any relevant context
- For
decide: Useteam_record_decisionwith:- decision: The decision text
- rationale: The rationale provided
- agentId: Current agent identifier
- For
sync: Check Memory Bridge server at http://127.0.0.1:3847/status Report whether bridge is running and show active sandboxes - For
sandboxes: Usememory_searchwith query "sandbox:*" List all memories from E2B sandboxes
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.
- 2mo ago First seen · 99 lines · 9 tokens per session scan A c17a048b08f9
memory is a command published in the GitHub repository a2z2k26/semantic-memory-mcp (2 stars, last pushed 29d ago), licensed MIT. It adds 9 tokens to every session and 900 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-31.
memory compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memorya2z2k26/semantic-memory-mcp | Command | 2 | 29d ago | MIT | A | 9 | Claude Code |
| memory-recallverygoodplugins/mcp-automem | Command | 66 | yesterday | MIT | A | 9 | Claude Code |
| memory-storeverygoodplugins/mcp-automem | Command | 66 | yesterday | MIT | A | 10 | Claude Code |
| compresssliamh11/Deus | Command | 51 | 2d ago | MIT | A | 0 | Claude Code |
| checkpointsliamh11/Deus | Command | 51 | 2d ago | MIT | A | 0 | Claude Code |
| lavra-checkpointroberto-mello/lavra | Command | 53 | 15d ago | MIT | A | 18 | Claude Code |
| perf-difficult-conversationfrankxai/Starlight-Intelligence-System | Command | 10 | yesterday | MIT | A | 93 | Claude Code |