memory-management

memory-management is a skill for Claude Code from aaron-he-zhu/aaron-marketing-skills. It costs 77 tokens per session (2,497 once invoked), scanned A, original, Apache-2.0.

A tool for managing project working memory in separate hot, warm, and cold levels. It stores notes and references while keeping official facts in their original records.

In plain words
What is it for?
Use it to initialise project memory, review saved findings and priorities, consolidate notes, archive old work, or erase a specified subject from memory.
Why use it?
It helps agents find current context, remove duplicate notes, archive stale material, and handle authorised erasure requests. It also separates temporary working notes from canonical project data.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; built for openclaw.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aaron-marketing plugin — 120 skills shipped together , and of aaron-marketing

Good fit Use it to initialise project memory, review saved findings and priorities, consolidate notes, archive old work, or erase a specified subject from memory.

Compare 6 skills from other repositories ↓
About the project

aaron-marketing-skills is a collection of 120 AI-agent skills covering marketing work such as brand narrative, search optimization, social media, email, advertising, influencer campaigns, and launches. Marketers and agent users can install it as a plugin, use its portable skills, or run its described bot team. The catalogue entries are components of this marketing workflow.

aaron-he-zhu/aaron-marketing-skills · 2,767 stars · on GitHub · aaronmarketing.ai

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aaron-he-zhu/aaron-marketing-skills
Claude Code
/plugin install aaron-marketing

Made for: Claude Code.

Or install aaron-marketing, the plugin that ships this one along with the rest of its 120 skills.

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/aaron-he-zhu/aaron-marketing-skills/memory-management/github.svg)](https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/memory-management)
Your own site
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/memory-management"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/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/aaron-he-zhu/aaron-marketing-skills/memory-management"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/memory-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,497 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
  • Socket pass 2 Sept 2026
  • Snyk pass 2 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.00077 $0.02497
Opus 5 $0.00039 $0.01248
Sonnet 5 $0.00015 $0.00499
Haiku 4.5 $0.00008 $0.00250

Measured 9d ago against content hash 1a3fdc9a02d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

protocol/memory-management/SKILL.md · 154 lines

How it starts

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

Memory Management

Manages the project's authorized working memory. HOT/WARM/COLD notes improve retrieval; they are not a second truth system. The seven registry event streams remain canonical, their JSON projections are rebuildable views, and only registry owners may accept or mutate canonical facts.

Quick Start

Initialize private runtime memory from the repository templates.
Show current priorities and their source records.
Consolidate duplicate notes without changing registry truth.
Archive WARM files not updated in 90 days.
Purge subject-7f42 from project memory under this confirmed erasure request.

Skill Contract

Reads: authorized runtime memory, registry projections/events, approved decisions, and state-model.md. Writes: HOT/WARM/COLD notes, archives, indexes, and authorized tombstone/erase events; it never accepts registry proposals or writes canonical facts on behalf of an owner. Done when: the requested operation is complete, writes have explicit authorization, affected paths/events are reported, HOT is within 80 lines and 25 KB, and registry verification still passes.

Operational memory/** is Git-ignored by default. Initialize from memory/templates/; never commit runtime data, event streams, projections, audits, exports, or subject records unless the user deliberately creates a separate protected data-governance process.

Authority Order

When sources conflict, use this order:

  1. live consent suppression replay for send eligibility;
  2. accepted registry projection at a named event offset;
  3. user-approved decision with provenance;
  4. dated WARM evidence artifact;
  5. HOT pointer or summary;
  6. COLD historical note.

Lower layers cannot override higher ones. A conflict with registry truth becomes a proposal to the owner, never a direct edit.

Handoff Summary

Use skill-contract.md. Include authorization status, changed paths/event IDs, registry offsets read, conflicts preserved, privacy actions, and one next skill.

Read the full file on GitHub · 154 lines

Files

What ships with it

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

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. 9d ago First seen · 154 lines · 77 tokens per session scan A 1a3fdc9a02d7

Subscribe to this mod's changes

memory-management is a skill published in the GitHub repository aaron-he-zhu/aaron-marketing-skills (2,767 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 2,497 once invoked, about $0.0004 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-09-03.