claude-mem

claude-mem is a skill for Claude Code from alebgl77/claude-inc. It costs 97 tokens per session (914 once invoked), scanned A, original, MIT.

A project memory system that stores decisions, background, definitions, and session notes as files in a `memory/` folder.

In plain words
What is it for?
Use it to resume long-running work, record decisions, explain project terms, track open threads, and save a session summary.
Why use it?
It gives later coding sessions a record of what happened and why, instead of relying on conversation history that may no longer be available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-inc plugin — 64 skills, 3 commands, 11 agents shipped together

Good fit Use it to resume long-running work, record decisions, explain project terms, track open threads, and save a session summary.

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

Made for: Claude Code.

Or install claude-inc, the plugin that ships this one along with the rest of its 64 skills, 3 commands, 11 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alebgl77/claude-inc/claude-mem"><img src="https://agentmods.dev/badge/skills/alebgl77/claude-inc/claude-mem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 914 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.00097 $0.00914
Opus 5.5 $0.00039 $0.00366
Sonnet 5.5 $0.00019 $0.00183
Haiku 4.5 $0.00010 $0.00091

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

Security

Grade A, and why

claude-mem 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 1mo 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/claude-mem/SKILL.md · 73 lines

How it starts

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

Claude-Mem — Memory Keeper

"Persistent memory"

Chat context evaporates; files don't. Give every project a paper trail the next session can boot from.

When to use

  • "Pick up where we left off" — session start on any long-running project
  • "Remember this" / "log that decision" the moment a choice lands
  • "What did we decide about , and why?"
  • "What does <codename/acronym> mean again?" — glossary lookups
  • "Wrap up" / "save state before we stop" — session end

Workflow

  1. Locate or initialize memory/ at the project root: decisions.md, context.md, glossary.md, sessions/. Create missing files with headers; never overwrite existing ones.
  2. Session start: read context.md, decisions.md, and the last two session files; deliver a ≤10-bullet summary — active decisions, open threads, next actions — and confirm it matches the user's picture.
  3. During work, log decisions the moment they land: append to decisions.md with date, decision, rationale, and alternatives rejected. Same-session or it didn't happen.
  4. New shorthand — nickname, acronym, codename — gets a one-line glossary.md entry on first use.
  5. Session end: write sessions/YYYY-MM-DD.md — what got done, decisions made (pointer, not copy), open threads, next actions.
  6. Monthly compaction: fold session files older than 30 days into context.md (keep decisions, threads, and state; drop the play-by-play), delete the folded files, and dedupe decisions.md keeping the latest ruling per topic.
  7. Refuse to store: secrets, tokens, passwords, keys; personal data beyond names and roles; transient noise (build logs, one-off stack traces, dead ends already resolved). Say what was excluded and why.

Output format

memory/
├── decisions.md       # append-only choices + rationale
├── context.md         # compacted long-term project state
├── glossary.md        # shorthand → meaning
└── sessions/
    └── 2026-07-11.md  # one file per working session

decisions.md entry:
## 2026-07-11 — Postgres over SQLite for prod
Why: concurrent writers. Rejected: SQLite (single-writer lock), DynamoDB (no team experience).

glossary.md entry:
ATLAS — internal codename for the billing rewrite (started 2026-05)

sessions/YYYY-MM-DD.md:
# Session 2026-07-11
Done: <shipped work, one line each>
Decisions: → decisions.md (2026-07-11)
Open threads: <unresolved, with current state>
Next: <first action for the next session>

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 97 tokens per session scan A 47a36286c18e

Subscribe to this mod's changes

claude-mem is a skill published in the GitHub repository alebgl77/claude-inc (19 stars, last pushed 6d ago), licensed MIT. It adds 97 tokens to every session and 914 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-08-30.

Related

Other skills, from other repositories

computer-history

Answer questions about what the user recently did on their computer — who contacted them, what they were working on, where they left off — by reading the local Computer History summaries and raw event streams.

MemTensor/memmy-agent · 42 tokens

context-bankruptcy

Declare bankruptcy on a long-lived AI agent's accumulated memory — audit what it currently believes, separate ground truth from stale and wrong, purge deliberately, restate the truths that survive, and log what was lost. Use when an agent keeps acting on outdated facts, contradicts itself across sessions, 'remembers'…

mohitagw15856/pm-claude-skills · 108 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf. Team-scope sibling to second-brain — personal notes go there, not here. Modes — capture, compile (wiki pages + INDEX.md), query (trust-weighted, saved to outputs/)…

coreyhaines31/makerskills · 230 tokens

second-brain

When you want to capture into, compile, query, lint, or connect your personal Second Brain. Wraps the Karpathy LLM Wiki schema (Obsidian or any markdown vault) — raw/ (unprocessed sources), wiki/ (AI-compiled interlinked topic pages), outputs/ (generated artifacts). Vault defaults to…

coreyhaines31/makerskills · 240 tokens

computer-use

Choose Memmy browser, desktop Computer Use, or a structured connector for a live task on macOS or Windows 11; keep Computer History retrieval separate from UI actions.

MemTensor/memmy-agent · 37 tokens

claude-reflect

Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.

BayramAnnakov/claude-reflect · 46 tokens