memory-manager

memory-manager is a skill for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 44 tokens per session (464 once invoked), scanned A, original, Apache-2.0.

A memory system that moves project information between short-term, longer-term, and permanent storage, with rules for retaining shared entities and deleting project data.

In plain words
What is it for?
Managing project context, archiving completed work, building a shared entity wiki from repeated mentions, and handling `/forget-project` requests.
Why use it?
It keeps useful context available across tasks while providing an organised way to forget a project and support GDPR Article 17 deletion requests.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Managing project context, archiving completed work, building a shared entity wiki from repeated mentions, and handling /forget-project requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuanranl/loamwright-seo-skill/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 XuanRanL/loamwright-SEO-Skill --skill memory-manager
Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

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/xuanranl/loamwright-seo-skill/memory-manager/github.svg)](https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/memory-manager)
Your own site
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/memory-manager"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/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/xuanranl/loamwright-seo-skill/memory-manager"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/memory-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 464 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.00044 $0.00464
Opus 5 $0.00022 $0.00232
Sonnet 5 $0.00009 $0.00093
Haiku 4.5 $0.00004 $0.00046

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

subskills/cross-cutting/memory-manager/SKILL.md · 53 lines

What it actually says

Memory Manager

Per seo-geo HOT/WARM/COLD pattern.

Memory layers

projects/{slug}/                ← Per-client (HOT/WARM)
  ├── business-context.json     ← 90d TTL
  ├── research-cache/            ← 72h TTL
  └── ...

memory/                          ← Global (HOT/WARM/COLD)
  ├── entities/{id}.md           ← Permanent (Wiki Phase 1/2/3)
  ├── wiki/                      ← Phase 1/2/3 sediment
  ├── workspace/{task_id}/       ← HOT (current task)
  └── learned-patterns.json      ← Permanent (self-improvement)

Wiki Phase sedimentation

  • Phase 1: Mention (1-2 articles cite entity)
  • Phase 2: Established (3-9 cites; add 47 signals)
  • Phase 3: Authority (10+ cites; full schema + ai_resolution probe weekly)

GDPR Art 17 (forget command)

/forget-project <slug>:
  1. Move projects/{slug}/ → projects/.deleted/{slug}-{timestamp}/
  2. Tombstone file with deleted_at timestamp
  3. Schedule physical deletion in 30 days (per stop_finalize.py hook)
  4. Memory/entities/: do NOT delete unless explicit (cross-project shared)

Workflows

HOT → WARM (task completion)

After Stage: final, workspace/{task} → memory/workspace/.archived/{YYYY-MM}/{task}/

WARM → COLD (90d expiry)

After 90d: projects/{slug}/business-context.json.freshness_state = "expired" → Suggest /init --refresh

Cleanup (stop_finalize hook)

  • Archive completed tasks
  • Purge .deleted projects >30d old
  • Compact wiki entries that haven't been cited in 12 months
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 · 53 lines · 44 tokens per session scan A 2db025ab29d3

Subscribe to this mod's changes

memory-manager is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 22d ago), licensed Apache-2.0. It adds 44 tokens to every session and 464 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

citedy-content-writer

From topic to published blog post in one conversation — generate SEO- and GEO-optimized articles with AI illustrations and voice-over in 55 languages, create social media adaptations for 9 platforms, set up automated content sessions, and manage product knowledge base. End-to-end blog autopilot. Powered by Citedy.

citedy/adclaw · 70 tokens

honcho

Configure and troubleshoot Honcho memory for Hermes.

NousResearch/hermes-agent · 12 tokens

mem0-tour

Browses all stored memories grouped by category with full content display. Use when reviewing all project memories, exploring stored knowledge, onboarding to a project, or getting an overview of captured decisions, conventions, and learnings.

mem0ai/mem0 · 47 tokens

mem0-cli

Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions "mem0 cli", "mem0 command line", "@mem0/cli", "mem0-cli", "pip install mem0-cli", "npm install -g @mem0/cli", or is running mem0 commands in a terminal/shell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0…

mem0ai/mem0 · 177 tokens

mem0-remember

Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.

mem0ai/mem0 · 52 tokens

list-projects

Lists all projects with stored memories for the current user, showing memory counts and last activity dates. Use when checking which projects have memories, comparing memory distribution across repos, or finding a specific project scope.

mem0ai/mem0 · 44 tokens