claude-mem-plugin

claude-mem-plugin is a skill for Claude Code from leecyno1/boutique-skills. It costs 48 tokens per session (577 once invoked), scanned B, original, MIT.

A persistent memory plugin for coding agents such as Codex, OpenClaw, and Claude-style agents. It captures session activity, compresses it into reusable notes, stores them locally, and can inject relevant history later.

In plain words
What is it for?
Use it to install cross-session memory, search previous agent work, inject relevant context, and view project history through a local timeline or web viewer.
Why use it?
It helps long-running projects retain context across separate coding sessions. It also makes past work searchable instead of leaving decisions buried in old conversations.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Codex; built for openclaw.

Good fit Use it to install cross-session memory, search previous agent work, inject relevant context, and view project history through a local timeline or web viewer.

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

Made for: Claude Code.

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 claude-mem-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/leecyno1/boutique-skills/claude-mem-plugin/github.svg)](https://agentmods.dev/skills/leecyno1/boutique-skills/claude-mem-plugin)
Your own site
<a href="https://agentmods.dev/skills/leecyno1/boutique-skills/claude-mem-plugin"><img src="https://agentmods.dev/badge/skills/leecyno1/boutique-skills/claude-mem-plugin/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 claude-mem-plugin

Your own site · 80×15
<a href="https://agentmods.dev/skills/leecyno1/boutique-skills/claude-mem-plugin"><img src="https://agentmods.dev/badge/skills/leecyno1/boutique-skills/claude-mem-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 577 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00048 $0.00577
Opus 5 $0.00024 $0.00289
Sonnet 5 $0.00010 $0.00115
Haiku 4.5 $0.00005 $0.00058

Measured 9d ago against content hash c21494c95d4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

claude-mem-plugin scanned grade B with 2 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.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://install.cmem.ai/openclaw.sh | bash

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://install.cmem.ai/openclaw.sh | bash
skills/default/claude-mem-plugin/SKILL.md · 82 lines

How it starts

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

Claude-Mem Plugin

Claude-Mem is a persistent memory compression system for agent coding sessions. It captures session activity, compresses it into reusable observations, stores it locally, and injects relevant history into future sessions.

Native upstream: https://github.com/thedotmack/claude-mem

When to Use

Use this skill when the user needs:

  • Cross-session memory for long-running software projects.
  • Search over prior agent sessions and project decisions.
  • Codex/OpenClaw/Claude-compatible context injection.
  • A local web viewer or timeline report of agent work history.
  • Memory-backed knowledge agents built from past observations.

What It Provides

  • Codex plugin manifest: plugin/.codex-plugin/plugin.json.
  • Codex lifecycle hooks: plugin/hooks/codex-hooks.json.
  • MCP server config: plugin/.mcp.json.
  • Memory search skills such as mem-search, smart-explore, knowledge-agent, and timeline-report.
  • Local storage under ~/.claude-mem.

Treat this as an advanced infrastructure plugin, not a normal lightweight skill.

Before installing globally:

  1. Confirm the user accepts local session capture.
  2. Confirm which AI provider will be used for compression.
  3. Start with one project or isolated Codex profile.
  4. Verify worker startup, MCP tools, and memory search.
  5. Only then consider enabling it broadly.

Install Options

Official installer:

npx claude-mem install

OpenClaw gateway installer:

curl -fsSL https://install.cmem.ai/openclaw.sh | bash

Claude plugin marketplace:

/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem

Privacy Controls

  • Data is primarily stored locally in ~/.claude-mem.
  • Compression may call the configured AI provider.
  • Use <private>...</private> blocks for content that should not be stored.
  • Do not enable on sensitive client repositories without explicit approval.

Risk Notes

  • Runs hooks during session lifecycle events.
  • Starts a local worker and may open a local viewer port.
  • Can inject stale or low-quality memories if prior observations are noisy.
  • Requires Node.js and package installation; plugin package declares Node >=18 and Bun support.

Read the full file on GitHub · 82 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. 9d ago First seen · 82 lines · 48 tokens per session scan B c21494c95d4a

Subscribe to this mod's changes

claude-mem-plugin is a skill published in the GitHub repository leecyno1/boutique-skills (5 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 577 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens