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.
npx agentmods add skills/gazmagik/claude-memory-plugin/memorynpx skills add GaZmagik/claude-memory-plugin --skill memorygit clone --depth 1 https://github.com/GaZmagik/claude-memory-pluginWhat 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 | $0.00111 | $0.02612 |
| Opus 5 | $0.00056 | $0.01306 |
| Sonnet 5 | $0.00022 | $0.00522 |
| Haiku 4.5 | $0.00011 | $0.00261 |
Grade C, and why
memory scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://bun.sh/install | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://bun.sh/install | bash How it starts
The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Persist project knowledge across sessions. Record decisions, capture learnings, store code patterns, and retrieve context when needed. Prevents knowledge loss and repeated mistakes.
When to Invoke
- Recording decisions, learnings, gotchas, or artifacts
- User says "remember", "store", "save", "record this"
- User asks "what did we decide about...", "why did we..."
- Before starting significant work (check gotchas first!)
- After fixing non-obvious bugs or making architectural decisions
- When deliberating on complex choices (use
thinkcommands) - User says "brainstorm", "weigh options", "think through", "pros and cons"
- When you need documented chain-of-thought before committing to a decision
- When working with specialised agents that need their own knowledge base (
--agentflag)
Usage
The memory skill is a TypeScript CLI that runs on Bun.
Prerequisites
Install Bun (if not already installed): Visit https://bun.sh/docs/installation or run:
curl -fsSL https://bun.sh/install | bash
Setup
From the plugin installation directory, run:
bun link
This creates a global memory command. The plugin directory is typically:
~/.claude/plugins/cache/local-memory-plugin/claude-memory-plugin/1.0.0/
Invocation
memory <command> [options]
memory help # Quick reference
memory help --full # Detailed documentation
memory <command> -h # Command-specific help
Command Reference
Run memory help for quick reference, or memory <command> -h for command-specific help.
| Category | Command | Description |
|---|---|---|
| CRUD | write [--auto-link] |
Create/update memory from JSON stdin |
read <id> |
Read a memory by ID | |
list [type] [tag] |
List memories with optional filters | |
search <query> |
Search titles and content | |
semantic <query> |
Search by meaning using embeddings | |
delete <id> |
Delete a memory | |
agents |
List all registered agents with memory counts | |
| Graph | link <from> <to> |
Create relationship edge |
unlink <from> <to> |
Remove relationship edge | |
bulk-link [file] |
Create multiple links from JSON | |
edges <id> |
Show inbound/outbound edges for node | |
graph [scope] |
Output graph as JSON | |
mermaid [options] |
Generate Mermaid diagram | |
remove-node <id> |
Remove node from graph (keeps file) | |
| Analysis | stats [scope] |
Graph statistics (ratio, hubs, sinks) |
query [options] |
Filter memories (type, tags, edges) | |
impact <id> |
Show what depends on a memory (--json, --depth) | |
| Tags | tag <id> <tags...> |
Add tags to memory |
untag <id> <tags...> |
Remove tags from memory | |
| Quality | quality <id> |
Assess quality score (--deep for LLM) |
audit [scope] |
Bulk quality scan (--threshold, --deep) | |
audit-quick [scope] |
Fast deterministic-only audit | |
| Maintenance | health [scope] |
Quick health check with score |
validate [scope] |
Detailed validation with issues | |
sync [scope] |
Reconcile graph, index, and disk | |
repair [scope] |
Run sync then validate | |
rebuild [scope] |
Rebuild from disk (use with caution) | |
reindex <id> |
Re-index an orphan file | |
bulk-delete [options] |
Delete memories by pattern/type/tags (--dry-run) | |
refresh [scope] |
Backfill missing frontmatter fields and edge similarity scores | |
setup [--force] |
Create local settings file from template | |
| Bulk | bulk-move [options] |
Move memories matching pattern |
bulk-promote [options] |
Promote memories to type | |
bulk-tag [options] |
Add/remove tags from memories | |
bulk-unlink [options] |
Remove links from memories | |
| Utility | rename <old> <new> |
Rename memory ID (updates refs) |
move <id> <scope> |
Move between local/global | |
promote <id> <type> |
Convert memory type (preserves edges) | |
demote <id> <type> |
Reverse conversion (alias for promote) | |
prune |
Remove expired temporaries | |
status |
Show system status | |
summarize [type] |
Generate summary rollups | |
archive <id> |
Archive a memory | |
suggest-links |
Suggest relationships (cached embeddings) | |
export [scope] |
Export graph snapshot to JSON | |
import <file> |
Import graph snapshot (--merge/replace) | |
sync-frontmatter [scope] |
Bulk sync frontmatter from graph.json | |
| Thinking | think create <topic> |
Create ephemeral thinking document |
think add <thought> |
Add thought to current document | |
think counter <thought> |
Add counter-argument | |
think branch <thought> |
Add alternative/branch | |
think list |
List all thinking documents | |
think show [id] |
View document contents | |
think use <id> |
Switch current document | |
think conclude <text> |
Conclude (--promote type to save) | |
think delete <id> |
Delete thinking document |
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .tddignore 6.7 KB
- graph.json 641 B
- README.md 29 KB
- src/agents/scan-agent-directories.spec.ts 104 B runs code
- src/agents/scan-agent-directories.ts 9.9 KB runs code
- src/agents/validate-agent-info.spec.ts 151 B runs code
- src/agents/validate-agent-info.ts 2.6 KB runs code
- src/bulk/bulk-delete.spec.ts 16 KB runs code
- src/bulk/bulk-delete.ts 4.8 KB runs code
- src/bulk/bulk-link.spec.ts 13 KB runs code
- src/bulk/bulk-link.ts 5.1 KB runs code
- src/bulk/bulk-move.spec.ts 18 KB runs code
- src/bulk/bulk-move.ts 4.5 KB runs code
- src/bulk/bulk-promote.spec.ts 8.1 KB runs code
- src/bulk/bulk-promote.ts 4.1 KB runs code
- src/bulk/bulk-tag.spec.ts 8.6 KB runs code
- src/bulk/bulk-tag.ts 4.7 KB runs code
- src/bulk/bulk-unlink.spec.ts 7.1 KB runs code
- src/bulk/bulk-unlink.ts 4.0 KB runs code
- src/bulk/index.ts 527 B runs code
- src/bulk/pattern-matcher.spec.ts 7.1 KB runs code
- src/bulk/pattern-matcher.ts 3.3 KB runs code
- src/cli.spec.ts 3.8 KB runs code
- src/cli.ts 317 B runs code
- src/cli/boundary.spec.ts 14 KB runs code
- src/cli/ci-detection.spec.ts 1.2 KB runs code
- src/cli/ci-detection.ts 628 B runs code
- src/cli/command-help/entries/agents.ts 3.5 KB runs code
- src/cli/command-help/entries/analysis.ts 4.5 KB runs code
- src/cli/command-help/entries/bulk.ts 2.0 KB runs code
- src/cli/command-help/entries/crud.ts 5.7 KB runs code
- src/cli/command-help/entries/graph.ts 5.0 KB runs code
- src/cli/command-help/entries/help.ts 504 B runs code
- src/cli/command-help/entries/maintenance.ts 4.1 KB runs code
- src/cli/command-help/entries/quality.ts 2.1 KB runs code
- src/cli/command-help/entries/think.ts 3.2 KB runs code
- src/cli/command-help/entries/utility.ts 2.0 KB runs code
- src/cli/command-help/formatter.spec.ts 1.6 KB runs code
- src/cli/command-help/formatter.ts 1.4 KB runs code
- src/cli/command-help/index.spec.ts 5.0 KB runs code
- src/cli/command-help/index.ts 2.1 KB runs code
- src/cli/command-help/types.ts 241 B runs code
- src/cli/commands/agents.spec.ts 8.2 KB runs code
- src/cli/commands/agents.ts 8.8 KB runs code
- src/cli/commands/archive-read-only-guards.spec.ts 4.1 KB runs code
- src/cli/commands/bulk.spec.ts 15 KB runs code
- src/cli/commands/bulk.ts 9.7 KB runs code
- src/cli/commands/crud.spec.ts 18 KB runs code
- src/cli/commands/crud.ts 17 KB runs code
- src/cli/commands/delete-read-only-guards.spec.ts 4.1 KB runs code
- src/cli/commands/external-node-command-compatibility.spec.ts 7.5 KB runs code
- src/cli/commands/graph.spec.ts 9.9 KB runs code
- src/cli/commands/graph.ts 15 KB runs code
- src/cli/commands/maintenance.spec.ts 20 KB runs code
- src/cli/commands/maintenance.ts 15 KB runs code
- src/cli/commands/move-promote-read-only-guards.spec.ts 6.9 KB runs code
- src/cli/commands/quality.spec.ts 5.4 KB runs code
- src/cli/commands/quality.ts 12 KB runs code
- src/cli/commands/query.spec.ts 6.8 KB runs code
- src/cli/commands/query.ts 15 KB runs code
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.
- 3d ago First seen · 254 lines · 111 tokens per session scan C a43aaee235e1
memory is a skill published in the GitHub repository GaZmagik/claude-memory-plugin (6 stars, last pushed 5mo ago), licensed MIT. It adds 111 tokens to every session and 2,612 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…