claude-mem
AGENTS.md115k starsChanged 6 months agoApache-2.0View on GitHub
Read the observer lifecycle contract before changing capture, queueing, retries, provider dispatch, or recovery. - The local observer is a stateful reducer, not a durable job consumer. - Live observation, file-edit, and summary inputs must not be persisted for automatic replay. Use the common live handoff and SessionMessageBuffer. - Quota exhaustion and authentication failures discard pending inference inputs. A quota reset, login, restart, timer, or a later successful store never authorizes backfill, and paused work is never resumed on such…
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about thedotmack/claude-mem
- Better Stack“Give Claude Persistent Memory in 5 Minutes”YouTube · Feb 6, 2026 · 56k views
- The Next New Thing“AI Agents Finally Share One Memory (Claude Mem Explained)”YouTube · Oct 21, 2026 · 14k views
- Prism Labs“Claude-Mem: Give Claude Code a Permanent Memory”YouTube · Mar 16, 2026 · 12k views
- GENZ TECH “claude-mem Setup: Give Claude Code a Persistent Memory (Full Tutorial)”YouTube · Oct 4, 2026 · 2.1k views
- GitHub Daily Trend AI Podcast“GitHub - thedotmack/claude-mem: A Claude Code plugin that automatically captures everything Claud...”YouTube · Dec 10, 2025 · 1.7k views
The biggest 5 of 85 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 85
Talked about on Bluesky, YouTube, the web and Hacker News (85 times).
On Bluesky · 49
- Feb 10, 2026Claude-mem est un plugin Claude Code qui capture automatiquement tout ce que Claude fait pendant vos sessions, le compresse et réinjecte le… — @ponceto91.bsky.social8 likes and reposts · 1 reply
- Jun 9, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 81,411 (+220) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social7 likes and reposts · 4 replies
- Apr 17, 2026Open-source AI is moving from “chat demos” to real agent infrastructure. Today’s standout: `claude-mem` — persistent memory for coding… — @tech-pulse.bsky.social5 likes and reposts · 1 reply
- Aug 18, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 91,080 (+121) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social4 likes and reposts
- Jul 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 85,913 (+180) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
44 more on Bluesky
- May 26, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 78,307 (+319) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending.bsky.social4 likes and reposts
- Nov 4, 2026I came across this impressive open-source project on GitHub: persistent AI agent memory. See link below. #opensource #AI #GitHub… — @alexiskirke.bsky.social3 likes and reposts · 1 reply
- Mar 17, 2026在 Claude Code 里安装 claude-mem claude-mem 是一个专门为 Claude Code 打造的持久化记忆系统,它能做的事有这么多: 1、自动记录每次会话中的代码操作、工具调用和对话内容 2、智能压缩生成语义摘要,为下次会话做准备… — @coolchou.bsky.social3 likes and reposts
- Mar 16, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 thedotmack / claude-mem ⭐ 36,075 (+1,017) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Feb 22, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 30,071 (+406) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- Oct 22, 2026Memory that never forgets A TypeScript plugin that automatically captures, compresses, and re-injects agent observations so context… — @cherrypickedhq.bsky.social2 likes and reposts
- Aug 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 89,220 (+115) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social2 likes and reposts
- Mar 29, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 42,128 (+389) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social2 likes and reposts · 2 replies
- Mar 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 41,770 (+391) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social2 likes and reposts · 3 replies
- Mar 16, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 thedotmack / claude-mem ⭐ 36,075 (+1,017) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Feb 13, 2026claude code skill: claude-mem A Claude Code plugin that automatically captures everything Claude does during your coding sessions,… — @jackculpan.com2 likes and reposts · 2 replies
- Feb 2, 2026thedotmack/claude-mem A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it… — @finland.activitypub.awakari.com.ap.brid.gy2 likes and reposts
- Jan 8, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 11,476 (+567) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 1, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 thedotmack / claude-mem ⭐ 108,770 (+1,527) 🗒 TypeScript Persistent Context Across Sessions for… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 26, 20266 free developer resources worth bookmarking: usagerank.com - Share your Claude and Codex usage github.com/addyosmani/... - AI coding… — @csaba.bsky.social1 likes and repost · 1 reply
- Oct 25, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 102,690 (+274) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 9, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 98,878 (+838) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Oct 5, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 96,368 (+534) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Sep 23, 2026📦 thedotmack / claude-mem ⭐ 94,526 (+96) 🗒 TypeScript Persistent Context Across Sessions for Every Agent – Captures everything your agent… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Aug 27, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 91,906 (+131) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Aug 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 90,499 (+129) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Aug 8, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 89,949 (+149) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Jul 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 87,456 (+131) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost
- Jun 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 82,676 (+281) 🗒 JavaScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- May 13, 2026🚀 GitHub Intelligence Drop lobehub (TypeScript • 🟢) ⭐ 77K → https://github.com/lobehub/lobehub claude-mem (TypeScript • 🟢) ⭐ 75.5K →… — @githubfeed.bsky.social1 likes and repost
- Apr 14, 2026今日のGitHubトレンド thedotmack/claude-mem Claude Code向けの永続的メモリ圧縮システムです。… — @dailygithubtrends.bsky.social1 likes and repost
- Apr 13, 2026thedotmack/claude-mem A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it… — @finland.activitypub.awakari.com.ap.brid.gy1 likes and repost · 1 reply
- Apr 12, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 48,521 (+671) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 12, 2026今日のGitHubトレンド thedotmack/claude-mem Claude Code向けの永続的メモリ圧縮システムです。… — @dailygithubtrends.bsky.social1 likes and repost
- Mar 29, 2026今日のGitHubトレンド thedotmack/claude-mem Claude Code向けの永続的メモリ圧縮システムです。… — @dailygithubtrends.bsky.social1 likes and repost
- Mar 11, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 34,079 (+205) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Mar 6, 2026If you use Claude Code across multiple sessions on the same project, this is worth trying. github.com/thedotmack/... — @tommytang.bsky.social1 likes and repost · 1 reply
- Feb 5, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 thedotmack / claude-mem ⭐ 23,315 (+1,899) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social1 likes and repost
- Jan 30, 2026https://github.com/thedotmack/claude-mem — @sigmanor.net1 likes and repost
- Jan 6, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 10,893 (+512) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jan 1, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 thedotmack / claude-mem ⭐ 9,814 (+107) 🗒 TypeScript A Claude Code plugin that automatically captures… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Dec 16, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 7,144 (+633) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Dec 13, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 thedotmack / claude-mem ⭐ 5,094 (+949) 🗒 TypeScript A Claude Code plugin that automatically… — @github-trending.bsky.social1 likes and repost · 2 replies
- Nov 2, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 thedotmack / claude-mem ⭐ 110,319 (+1,799) 🗒 TypeScript Persistent Context Across Sessions for… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Oct 29, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 104,222 (+324) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Oct 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 103,896 (+338) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- May 26, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 thedotmack / claude-mem ⭐ 78,307 (+319) 🗒 TypeScript Persistent Context Across Sessions for Every… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Apr 29, 2026AI doesn’t have a memory problem. We do. Every new session → you start from zero. Re-explain context. Re-explain decisions. Repeat… — @hrswati.bsky.social0 likes and reposts · 1 reply
- Apr 19, 20268/ For persistence across sessions, look past `CLAUDE.md`: → github.com/thedotmack/c... : auto-captures sessions, compresses with… — @vorillaz.bsky.social0 likes and reposts · 1 reply
On YouTube · 23
- Feb 6, 2026Give Claude Persistent Memory in 5 Minutes — Better Stack56k views · 77 comments
- Oct 21, 2026AI Agents Finally Share One Memory (Claude Mem Explained) — The Next New Thing14k views · 37 comments
- Mar 16, 2026Claude-Mem: Give Claude Code a Permanent Memory — Prism Labs12k views · 7 comments
- Oct 4, 2026claude-mem Setup: Give Claude Code a Persistent Memory (Full Tutorial) — GENZ TECH 2.1k views
- Dec 10, 2025GitHub - thedotmack/claude-mem: A Claude Code plugin that automatically captures everything Claud... — GitHub Daily Trend AI Podcast1.7k views
18 more on YouTube
- Nov 2, 2026Your AI Coding Agent Can Finally Remember (Claude-Mem) — Cand Dev804 views · 1 comment
- Nov 3, 2026How Claude-Mem Remembers a Bug Across Coding Sessions — The Daily Repo275 views
- Nov 2, 2026Claude-Mem: Give Claude Permanent Memory Across Sessions #github #claude #ai — Skillversitas242 views
- Nov 6, 2026claude-mem: Stop Claude Code Forgetting Your Work — Ivo Nikolov225 views
- Nov 7, 2026Your Coding Agent Forgets Everything. Claude-Mem Remembers. — CodeCrafters199 views
- Sep 13, 2026Claude Code Memory That Works in Codex and Copilot Too (claude-mem) — CodeGlade199 views · 1 comment
- Oct 5, 2026claude-mem: Give Your Coding Agent a Memory — Install, Hooks & Search (Full Guide) — CLI Stack196 views · 1 comment
- Oct 12, 2026claude-mem: someone just gave Claude Code a permanent memory, and it's free — TheSkillDrop172 views · 2 comments
- Nov 1, 2026Claude Code Memory Plugin: 105K Stars, But Check the Default — Skill MD108 views
- Nov 3, 2026A free plugin gives Claude Code a memory — AI Side Chat105 views
- Oct 30, 2026claude-mem: free, open-source memory for Claude Code — AI Next Day102 views
- Oct 30, 2026Claude-Mem: persistent memory for Claude Code across sessions (Codex, OpenCode too) #Shorts — GitNova102 views · 1 comment
- Nov 7, 2026Claude Code Forgets Everything. This Fixes It (claude-mem Explained) — hinter62 views · 1 comment
- Nov 6, 2026How claude-mem gives Claude Code a memory — Step Into24 views
- Oct 31, 2026Claude Code Forgets Everything. This Free Plugin Gives It a Memory (Claude-Mem) — dazz | Make with AI24 views
- Oct 12, 2026claude-mem: Persistent Memory for Your Coding Agent (16:9) — Hidden Repos - GitHub gems nobody talks about18 views
- Nov 2, 2026claude-mem: Claude Code Never Forgets | 107,963 Stars — Day 4 — Telenewswire (AI News without fuss)4 views
- Nov 2, 2026The 109K-Star Open Source Stack Big Tech Doesn't Want You to Know: thedotmack/claude-mem — Runvata1 view
On the web · 10
- May 7, 2026Claude-Mem Quietly Changed How I Code in Just 5 Days | by Desai Hardik | May, 2026 — dhardik1430.medium.com
- Apr 20, 2026claude-mem Deep Dive: The Best Claude Code Memory Plugin — Install and Forget | gfish.online — gfish.online
- Apr 14, 2026Give Claude a Memory: A 3-Step Tutorial for claude-mem | by Mark Chen — medium.com
- Mar 19, 2026Open Source Project of the Day (Part 21): Claude-Mem - Persistent Memory Compression System for Claude Code — dev.to
- Feb 27, 2026Embedding Memory into Claude Code: From Session Loss to Persistent Context — dev.to
5 more on the web
- Feb 14, 2026[claude-mem] How I fixed a search error on Windows myself, only to find it was already resolved in an official update|夜凪澪 開発日記 — note.com
- Feb 5, 2026Claude-Mem Plugin Review 2026: The AI Memory System ... — trigidigital.com
- Feb 5, 2026Claude-Mem: Persistent Memory for Claude Code Across Sessions | YUV.AI Blog — yuv.ai
- Feb 4, 2026How to Use Claude-mem for Memory Persistence in Claude Code — apidog.com
- Jan 28, 2026claude-memプラグインの導入と使い方 — zenn.dev
On Hacker News · 3
- Oct 29, 2026Installing claude-mem uploads your last 30 days of prompts to cmem.ai, no opt-in3 points
- Mar 28, 2026Claude-Mem2 points · 1 comment
- Dec 11, 2025Claude-Mem1 point
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- community-sweepSkill
- openclawSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Read the observer lifecycle contract before changing capture, queueing, retries, provider dispatch, or recovery.
- Distinctive: line 12
Keep active buffering bounded.
- Distinctive: line 26
Run relevant behavioral tests, the root TypeScript check, and the bundle build.
- Distinctive: line 27
Never call a source-only change shipped: installed clients execute the bundles.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude-Mem architecture rules
Read the observer lifecycle contract before changing capture, queueing, retries, provider dispatch, or recovery.
- The local observer is a stateful reducer, not a durable job consumer.
- Live observation, file-edit, and summary inputs must not be persisted for
automatic replay. Use the common live handoff and
SessionMessageBuffer. - Quota exhaustion and authentication failures discard pending inference inputs. A quota reset, login, restart, timer, or a later successful store never authorizes backfill, and paused work is never resumed on such proof.
- Keep active buffering bounded. Do not add another batching queue, retry store, startup sweep, or platform-specific recovery loop.
- Preserve the paid-send budget and completed-observation deduplication. An ambiguous request must not acquire a fresh budget by changing its path.
- Original transcripts, raw source evidence, saved memories, receipt IDs, and synchronization of already-saved records are distinct from inference work. Do not delete them to clear a queue or make them trigger paid replay.
- Recovery must be a separately specified, explicit workflow with a matching source position and observer state. A last observation ID, delivery receipt, byte offset, or collection of pending fragments alone is not a checkpoint.
- Integration and community fixes must obey the same rules. Tests proving that a queue drains are insufficient; test that an outage cannot create later, unrequested inference spend.
Run relevant behavioral tests, the root TypeScript check, and the bundle build. Never call a source-only change shipped: installed clients execute the bundles.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

