memory-manager

memory-manager is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 114 tokens per session (2,918 once invoked), scanned A, original, Apache-2.0.

A memory-store maintenance tool for an AI agent. It compares new memory candidates with stored entries, then adds, updates, deletes, or leaves them unchanged and records those actions.

In plain words
What is it for?
Use it to merge new memories, clean an entire memory store, or carry out a clearly specified deletion request. It requires structured memory data and keeps an audit record of changes.
Why use it?
It prevents conflicting, duplicated, outdated, or untraceably changed memories from building up. It also supports forgetting rules based on age, recent use, and topic grouping.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to merge new memories, clean an entire memory store, or carry out a clearly specified deletion request. It requires structured memory data and keeps an audit record of changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/memory-manager
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 Morningstar202604/awesome-skillkit --skill memory-manager
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/memory-manager"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,918 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.00114 $0.02918
Opus 5.5 $0.00046 $0.01167
Sonnet 5.5 $0.00023 $0.00584
Haiku 4.5 $0.00011 $0.00292

Measured 2mo ago against content hash cd4c90856594, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

site/skills/memory/memory-manager/SKILL.md · 151 lines

How it starts

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

Memory Manager

Memory stores rot: new and old entries conflict, facts go stale, and same-topic duplicates bloat. This skill manages the memory's full lifecycle — every new candidate first passes a conflict-resolution decision table, the store uses only the four atomic operations ADD/UPDATE/DELETE/NOOP, and three brooms — TTL, decay, and compaction — sweep the store regularly. Every operation leaves an audit log: memories may be rewritten, but never silently.

Input Checklist

Collect everything up front before starting. If an input is missing, ask the user once with this prompt: "To manage the memory store, please provide all at once: the existing memory store export (JSON), the new candidates to store (memory-extractor's candidates.json), and this run's mode (incremental merge / full-store sweep / responding to a user deletion request)."

Input Required Notes
Existing store export Yes JSON entry array; must include id, content, confidence, updated_at, hit_count
New candidates Required in merge mode candidates.json from memory-extractor; not needed for a full sweep
Run mode Yes merge (incremental merge) / sweep (full-store sweep) / purge (responding to an explicit user deletion)
User deletion instruction Required in purge mode Explicitly identifies the deletion target (by id or by user_id for all)

Pre-flight Self-check

This is a pure-prompt skill; no environment probing needed. It only checks input completeness:

  • Is the existing store export valid JSON with entries carrying ids? A store without ids → first ask to add ids per memory-architect's schema; do not invent ids on the spot.
  • In merge mode, do candidates carry evidence_quote? Candidates without evidence → send back to memory-extractor for re-extraction; this skill does not accept entries without evidence.
  • In purge mode, is the deletion instruction specific to an id or user_id? "Delete the useless ones" is not a clear instruction → ask for clarification before acting (red line 2 does not allow guessing).

Read the full file on GitHub · 151 lines

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. 2mo ago Changed · -3 tokens per session cd4c90856594
  2. 2mo ago First seen · 151 lines · 117 tokens per session scan A d177c217237d

Subscribe to this mod's changes

memory-manager is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 114 tokens to every session and 2,918 once invoked, about $0.0005 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-09-19.

Related

memory-manager compared with skills from other repositories

memory-manager next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-managerMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A114Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61k3d agoMITA94Claude Code
pausemem0ai/mem0Skill70k3d agoApache-2.0A30Claude Code
mineMemPalace/mempalaceSkill61k3d agoMITA21Claude Code
agent-carnetyamadashy/repomixSkill30kyesterdayMITA67Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex