memory-management

memory-management is a skill for Claude Code from verygoodplugins/claude-plugins. It costs 78 tokens per session (1,584 once invoked), scanned A, original, MIT.

A set of instructions for recalling and storing project context, decisions, bug fixes, and preferences across Claude Code sessions using AutoMem.

In plain words
What is it for?
Use it when starting work, making architecture or library decisions, fixing bugs, refactoring, or completing significant changes.
Why use it?
It prevents useful context from being lost between sessions and helps inform future work.

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, 3 hooks, 1 MCP server shipped together

Good fit Use it when starting work, making architecture or library decisions, fixing bugs, refactoring, or completing significant changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verygoodplugins/claude-plugins/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/claude-plugins --skill memory-management
Clone the repo
git clone --depth 1 https://github.com/verygoodplugins/claude-plugins

Made for: Claude Code.

Or install automem, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 3 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/claude-plugins/memory-management/github.svg)](https://agentmods.dev/skills/verygoodplugins/claude-plugins/memory-management)
Your own site
<a href="https://agentmods.dev/skills/verygoodplugins/claude-plugins/memory-management"><img src="https://agentmods.dev/badge/skills/verygoodplugins/claude-plugins/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/claude-plugins/memory-management"><img src="https://agentmods.dev/badge/skills/verygoodplugins/claude-plugins/memory-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,584 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.00078 $0.01584
Opus 5.5 $0.00031 $0.00634
Sonnet 5.5 $0.00016 $0.00317
Haiku 4.5 $0.00008 $0.00158

Measured 3mo ago against content hash 5d099ea2ccd2, 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 3mo 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 · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 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 Claude Code sessions. This skill teaches the 3-Phase Memory Pattern: Recall → Store → Summarize.

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

Adaptive Recall Based on Context

  • Files open → Recall memories tagged with those components
  • Error messages → Search for similar error patterns
  • Multiple files → Recall architectural decisions
  • PR/commit context → Recall related feature implementations

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

// Basic project recall
mcp__memory__recall_memory({
  query: "project architecture decisions",
  tags: ["project-name"],
  limit: 5
})

// Debug similar errors
mcp__memory__recall_memory({
  query: "TypeError authentication timeout",
  tags: ["bug-fix"],
  time_query: "last 30 days",
  limit: 5
})

// Multi-hop reasoning (find related context)
mcp__memory__recall_memory({
  query: "Who worked on the auth system?",
  expand_entities: true,
  limit: 10
})

// Context-aware coding recall
mcp__memory__recall_memory({
  query: "error handling patterns",
  language: "typescript",
  context: "coding-style",
  context_types: ["Style", "Pattern"]
})

Phase 2: DURING WORK (Store)

What to Store with Importance Levels

Type Importance When to Store
Decision 0.9 Architecture, library choices, pattern decisions
Insight 0.8 Root cause discoveries, key learnings, bug fixes
Pattern 0.7 Reusable approaches, best practices
Preference 0.6-0.8 User config choices, style preferences
Context 0.5-0.7 Feature summaries, refactoring notes

Read the full file on GitHub · 216 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. 3mo ago First seen · 216 lines · 78 tokens per session scan A 5d099ea2ccd2

Subscribe to this mod's changes

memory-management is a skill published in the GitHub repository verygoodplugins/claude-plugins (2 stars, last pushed 10mo ago), licensed MIT. It adds 78 tokens to every session and 1,584 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-31.

Related

memory-management compared with skills from other repositories

memory-management next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-managementverygoodplugins/claude-pluginsSkill210mo agoMITA78Claude Code
moai-mxmodu-ai/moai-coworkSkill3201mo agoApache-2.0A18Claude Code
weekly-digeststhedotmack/claude-memSkill121kyesterdayApache-2.0A93Claude Code
cloud-syncthedotmack/claude-memSkill121kyesterdayApache-2.0A64Claude Code
emerging-techniques-long-contextdavila7/claude-code-templatesSkill35kyesterdayMITA78Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A0Claude Code, Codex
hive.note-takingaden-hive/hiveSkill11k2d agoApache-2.0A30Claude Code, Codex