Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add sdsrss/claude-mem-lite/plugin install claude-mem-liteWrote 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.
[](https://agentmods.dev/commands/sdsrss/claude-mem-lite/adopt)<a href="https://agentmods.dev/commands/sdsrss/claude-mem-lite/adopt"><img src="https://agentmods.dev/badge/commands/sdsrss/claude-mem-lite/adopt/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.
<a href="https://agentmods.dev/commands/sdsrss/claude-mem-lite/adopt"><img src="https://agentmods.dev/badge/commands/sdsrss/claude-mem-lite/adopt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00146 | $0.01472 |
| Opus 5.5 | $0.00058 | $0.00589 |
| Sonnet 5.5 | $0.00029 | $0.00294 |
| Haiku 4.5 | $0.00015 | $0.00147 |
Grade A, and why
adopt 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/adopt
Install the claude-mem-lite steering block into the current project's
CLAUDE.md (the canonical home for project instructions — Claude Code loads it
into every session, in a message after the system prompt). It does not go
in the project's memory-dir MEMORY.md: that index belongs to the user's own
memories.
Auto-adopt does not add the block to CLAUDE.md: in a git repository it keeps the same block
in CLAUDE.local.md at the repository root, excluded from git through .git/info/exclude.
Next to an AGENTS.md that file would switch off, and where it cannot be written (outside git,
for example), it adds the text to each session's context instead; with
CLAUDE_MEM_RULES_STEERING=1 it keeps the block in .claude/rules/claude-mem-lite.md next to
an AGENTS.md, excluded the same way. Run /adopt when you want the block in CLAUDE.md — a file that is normally committed,
so your team gets it too. It removes the local copy so the text does not load twice. A project that carries the block is kept in sync on every SessionStart, and a
CLAUDE.md holding nothing but the block gets the AGENTS.md import described below.
What it writes
<cwd>/CLAUDE.md— a concise<!-- claude-mem-lite:begin v1 -->…<!-- :end -->managed block (trigger table →mem_recall/mem_save/mem_defer). Slug-scoped: only this block, and the import below in a file adopt created, are managed; the rest of yourCLAUDE.mdis preserved verbatim. Auto-refreshes when the shipped content drifts. Claude Code stops readingAGENTS.mdonce aCLAUDE.mdexists, so aCLAUDE.mdadopt creates next to anAGENTS.md(or.claude/AGENTS.md) starts with a marker comment and@AGENTS.md, which keeps it loading. AnAGENTS.mdabove the directory or tracked below it cannot be imported; the output names it with the setting that keeps it.<cwd>/.claude/plugin_claude_mem_lite.md— the full contract (tool tables, CLI cheatsheet, citation/decay + save discipline). First line is a<!-- managed-by: claude-mem-lite -->marker. Not auto-loaded; the CLAUDE.md block points to it and Claude reads it on demand.<cwd>/.claude/.plugin_claude_mem_lite_state.json— drift-tracking sidecar.
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.
- 2d ago Changed 3b45ee75c6f1
- 3d ago Changed fac1a615dc2f
- 16d ago Changed · +10 lines · +15 tokens per session 0f27312a3738
- 23d ago Changed · +10 lines · +30 tokens per session 217cf70e518c
- 27d ago Changed 9679ec476237
- 1mo ago First seen · 68 lines · 101 tokens per session scan A 1d5e8b30d7fb
adopt is a command published in the GitHub repository sdsrss/claude-mem-lite (67 stars, last pushed today), licensed MIT. It adds 146 tokens to every session and 1,472 once invoked, about $0.0006 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.
Other commands, from other repositories
session-save
Save the current session state — decisions, modified files, current status, and next steps — to a handoff file for later resume.
drift-detect
Configuration drift detection command. Finds inconsistencies, orphaned components, and stale content in the Badi system.
wrap-up
End-of-day ritual command. Prepares the day for closure and sets the stage for tomorrow.
clear
Context-clearing command. Provides a seamless transition across session boundaries. Target: under 30 seconds.
sync
Mid-session context refresh command. Keeps context fresh and consistent during work.
memory-diff
Memory and knowledge-base limit check + global project comparison.