memory-management

memory-management is a skill for Claude Code from verygoodplugins/mcp-automem. It costs 70 tokens per session (1,608 once invoked), scanned A, original, MIT.

A persistent memory guide for Claude Code using AutoMem, a system that stores and recalls information between coding sessions. It covers recalling project context and saving durable decisions, preferences, and bug fixes.

In plain words
What is it for?
Use it to recall architecture choices, coding preferences, project context, past debugging solutions, and integration details, then store information that should remain useful.
Why use it?
It reduces the need to repeat project background and helps recover earlier decisions or solutions when work continues in a later session.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

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

Good fit Use it to recall architecture choices, coding preferences, project context, past debugging solutions, and integration details, then store information that should remain useful.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verygoodplugins/mcp-automem/memory-management
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.

Any agent
npx skills add verygoodplugins/mcp-automem --skill memory-management
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-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/memory-management/github.svg)](https://agentmods.dev/skills/verygoodplugins/mcp-automem/memory-management)
Your own site
<a href="https://agentmods.dev/skills/verygoodplugins/mcp-automem/memory-management"><img src="https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/memory-management/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-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/verygoodplugins/mcp-automem/memory-management"><img src="https://agentmods.dev/badge/skills/verygoodplugins/mcp-automem/memory-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,608 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00070 $0.01608
Opus 5.5 $0.00028 $0.00643
Sonnet 5.5 $0.00014 $0.00322
Haiku 4.5 $0.00007 $0.00161

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

Security

Grade A, and why

memory-management 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 27d 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/skills/memory-management/SKILL.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Memory Management Skill

Use AutoMem to maintain persistent context across conversations and coding sessions.

Tool examples below use short names (recall_memory, store_memory); call them on whichever AutoMem MCP server is wired in (plugin installs namespace them as mcp__plugin_automem_memory__*, user-level servers as mcp__memory__*). Other hosts, including Grok Bot, assign their own connector/tool names; discover the available AutoMem tools and use the names exposed by that host.

This skill teaches the current AutoMem playbook: Recall early, store durable outcomes, avoid session-summary noise.

Phase 1: Session Start (Recall)

Always Recall For

  • Project context questions (architecture, tooling, deployment)
  • Architecture discussions or decisions
  • User preferences and code style
  • Debugging issues (search for similar past problems)
  • Refactoring (understand why current structure exists)
  • Integration or API work (check past implementations)
  • Performance optimization discussions

Standard Recall Pattern

  • Preferences first: recall with tags: ["preference"], limit: 20, sort: "updated_desc"
  • Task context second: one semantic query built from actual nouns in the request, optional project slug if unambiguous
  • Debugging on demand: recall with the error text as the semantic query and NO tags — bugfix/solution tagging is incomplete, and a tag gate hides cross-corpus fixes

Skip Recall For

  • Pure syntax questions ("How does Array.map work?")
  • Trivial edits (typos, formatting, simple renames)
  • Direct factual queries about current code
  • File content requests that can be answered by reading

Recall Examples

// Preferences first
recall_memory({
  tags: ["preference"],
  limit: 20,
  sort: "updated_desc"
})

// Task context recall
recall_memory({
  query: "authentication timeout PostgreSQL auth.ts retry logic",
  tags: ["myapp"],   // drop if ambiguous
  time_query: "last 90 days",
  limit: 30
})

// Debug similar errors (no tag gate — a hard gate hides cross-corpus fixes)
recall_memory({
  query: "TimeoutError authentication request timed out",
  limit: 20
})

Read the full file on GitHub · 198 lines

Files

What ships with it

1 file 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.

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. 27d ago Changed · +2 lines 1d7880178217
  2. 29d ago Changed · +4 lines d58acd24fbf8
  3. 3mo ago First seen · 192 lines · 70 tokens per session scan A 20771523be8f

Subscribe to this mod's changes

memory-management is a skill published in the GitHub repository verygoodplugins/mcp-automem (67 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 1,608 once invoked, about $0.0003 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-management compared with skills from other repositories

memory-management next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-managementverygoodplugins/mcp-automemSkill67todayMITA70Claude Code
codebase-memorynarumiruna/pi-extensionsSkill818todayMITA98Claude Code, Codex
ensemble-sessionlogFortiumPartners/ensembleSkill13todayMITA31Claude Code, Codex
Wikimate Querysodam-ai/SoDam-WikiMateSkill491mo agoApache-2.0A200Claude Code
Wikimate Summarizesodam-ai/SoDam-WikiMateSkill491mo agoApache-2.0A158Claude Code
context-reviewmarcoguillermaz/TierwardSkill4yesterdayMITA81Claude Code
context-canvas-memoryphenomenoner/hermes-agent-harness-plusSkill35d agoMITA17Claude Code, Codex