MemoryReview

MemoryReview is a skill for Claude Code from RohiRIK/OpenLtm. It costs 103 tokens per session (1,131 once invoked), scanned A, original, MIT.

A memory-curation workflow for OpenLTM, a long-term memory store for an agent. It reviews proposed, outdated, conflicting, duplicated, or superseded memories and changes them only with the user's approval where required.

In plain words
What is it for?
Use it to review pending memories, recheck stale entries, connect newer memories to older ones, accept useful proposals, and request approval before forgetting items.
Why use it?
It reduces stale or contradictory information without silently deleting important memories. It also keeps memory changes within the supported tools instead of editing the underlying database directly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the openltm plugin — 6 skills, 7 commands, 2 agents, 6 hooks shipped together

Good fit Use it to review pending memories, recheck stale entries, connect newer memories to older ones, accept useful proposals, and request approval before forgetting items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohirik/openltm/memoryreview
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 RohiRIK/OpenLtm --skill memoryreview
Clone the repo
git clone --depth 1 https://github.com/RohiRIK/OpenLtm

Made for: Claude Code.

Or install openltm, the plugin that ships this one along with the rest of its 6 skills, 7 commands, 2 agents, 6 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 MemoryReview

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohirik/openltm/memoryreview/github.svg)](https://agentmods.dev/skills/rohirik/openltm/memoryreview)
Your own site
<a href="https://agentmods.dev/skills/rohirik/openltm/memoryreview"><img src="https://agentmods.dev/badge/skills/rohirik/openltm/memoryreview/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 MemoryReview

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohirik/openltm/memoryreview"><img src="https://agentmods.dev/badge/skills/rohirik/openltm/memoryreview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,131 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.00103 $0.01131
Opus 5.5 $0.00041 $0.00452
Sonnet 5.5 $0.00021 $0.00226
Haiku 4.5 $0.00010 $0.00113

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

Security

Grade A, and why

MemoryReview 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 5d 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.

skills/MemoryReview/SKILL.md · 71 lines

How it starts

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

MemoryReview — curate long-term memory

A deliberate pass that keeps LTM accurate: decide what pending proposals become memories, re-check memories the code has moved past, and retire duplicates and contradictions. Tool names and categories come from the Ltm skill (../Ltm/SKILL.md); every tool below is mcp__plugin_openltm_memory__<name>.

Rules

  • Change memory only through the MCP tools — never run SQL or edit the database file.
  • Never forget without explicit approval. Show the exact IDs and content first and wait for a yes that covers those IDs. Extra care for importance-5 memories.
  • Prefer relate … supersedes over forget when the old memory explains why something changed.
  • Keep a pass to about 20 items; offer another pass if more remain.

Step 1 — Scope

Default to the current project. Ask only if the user hinted at something else ("all projects", "just proposals", "only stale ones").

Step 2 — Gather (read-only)

Run these and collect candidates:

  1. Pending proposals — proposals {action: "list"}. Each has a session_id and index.
  2. Stale memories — recall {project, verbose: true, limit: 50} (no query lists the project's top memories; add a query to focus an area). Keep rows where stale_flagged_at is set; stale_reason names the commit or files.
  3. Conflicts and supersedes — from those rows, note contradicts relations and supersedes targets that are still active. For a tangled area, graph {memory_ids, depth: 2} shows the chain.
  4. Duplicates and low value — memories in the same category that say the same thing; operational noise (one-off command output, transient state); facts derivable from the code or git log.

Step 3 — Present

One compact table per group, skipping empty groups:

### Pending proposals (3)
| # | session:index | category ★ | content | suggest |
|---|---------------|------------|---------|---------|
| 1 | a1b2c3d4:0 | gotcha ★4 | Bun prepare() caches statements… | accept |

### Stale (2)
| # | id | content | stale because | suggest |

Read the full file on GitHub · 71 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. 5d ago First seen · 71 lines · 103 tokens per session scan A f7655ca64ba3

Subscribe to this mod's changes

MemoryReview is a skill published in the GitHub repository RohiRIK/OpenLtm (28 stars, last pushed yesterday), licensed MIT. It adds 103 tokens to every session and 1,131 once invoked, about $0.0004 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-10-12.

Related

Other skills, from other repositories

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-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 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-forget

Deletes memories by search query or memory ID with confirmation before removal. Use when removing outdated decisions, incorrect memories, sensitive data, or cleaning up after experiments. Also handles undo of recent additions.

mem0ai/mem0 · 43 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

mem0-search

Searches memories and displays compact one-liner results, or looks up a specific memory by ID. Use for quick memory lookups, checking if a decision was recorded, resolving [mem0:id] citations, or browsing memories without full category detail.

mem0ai/mem0 · 54 tokens