Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thedotmackv0.2.1PolyForm-Noncommercial-1.0.0In 3 marketplaces
Carries memory across Claude app sessions by streaming tool-use fragments to cmem.ai and injecting compiled observations into new sessions and spawned agents. Needs a cmem.ai Pro account and API key; hooks fire on every tool call and prompt.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
3 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
cmem, observations, session-memory, cross-session-context, cost-report, claude-app, cloud-sessions, claude-mem ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude-Mem memory for the Claude app (mobile, web, desktop cloud sessions),
powered by CMEM Pro on cmem.ai. Install it with
/plugin install cmem-pro@thedotmack. It was called claude-mem-cowork;
existing installs move to cmem-pro automatically on Claude Code 2.1.193+.
Claude app sessions run in ephemeral cloud containers, so the local claude-mem worker/SQLite model can't persist there. This plugin replaces the worker with thin HTTPS shims: hooks capture tool use and stream raw fragments to cmem.ai, where Pro runs the worker and observer server-side; compiled observations are injected back into every new session and every spawned agent.
| Hook | Event sent / behavior |
|---|---|
SessionStart | Registers the session, pulls a compiled context block from cmem.ai and injects it |
UserPromptSubmit | session-init — registers the turn + prompt with the observer pipeline. Runs in the background, so a slow cmem.ai never holds up the prompt. prompt-context — once per session, injects memory picked with the first prompt as the query (Claude Duet, below) |
PostToolUse (all tools) | observation — streams the raw tool-use fragment (truncated) for server-side synthesis |
PreToolUse on Task/Agent | Fetches observations relevant to the agent's prompt and prepends them to it |
SubagentStop | Marks the agent's work complete |
Stop | summarize signal (turn boundary for the observer) |
SessionEnd | Closes the session |
On a machine with a local claude-mem install (an enabled plugin registered in
installed_plugins.json with its hook and worker files) every hook above is a
no-op. The local plugin captures and injects there, and its cloud sync carries
that work to cmem.ai, so capturing here too would record every session twice.
A disabled plugin or an orphaned cache copy doesn't count as an install.
Plus a mem-search skill: progressive Index → Timeline search against
/api/mcp memory_search, available in any session.
.mcp.json points at the cmem.ai memory server, https://cmem.ai/api/mcp. In
the Claude app it appears on the plugin's Connectors tab: connect it and
sign in with the cmem.ai account that holds your memory. Claude Code connects
to it directly. Its tools (memory_search, timeline, get_observations,
get_summaries, list_projects) only read; nothing is stored in this file.
~/.claude-mem/cowork-spool.jsonl
(0600) and flush on later hook fires (batched to /api/hooks/ingest)./api/hooks/* endpoints not deployed yet → context injection falls back to
the live /api/mcp memory_search; ingest 404s are dropped, not spooled.0 unconditionally.Say "set up claude-mem" in any Claude app session (the mem-setup skill) and paste your values from cmem.ai → Connect. Credential sources, in order:
CMEM_API_KEY, CMEM_USER_ID, CMEM_SYNC_HUB_URL, CMEM_API_BASEconfig.json in this plugin (apiKey, userId, syncHubUrl) — the
durable option in the Claude app; repackage after editing so it survives sessions~/.claude-mem/settings.json (CLAUDE_MEM_CLOUD_SYNC_TOKEN /
CLAUDE_MEM_CLOUD_SYNC_USER_ID / CLAUDE_MEM_CLOUD_SYNC_HUB_URL) — compat
with a local claude-mem install's cloud-sync pairingProject naming is automatic and deliberately NOT a setting: root Claude app
sessions land on cmem_work_root, sessions inside a project folder get
cmem_work_<folder>. Optional inject toggles
(sessionStart, agents, maxChars). Verify with
node scripts/cmem-hook.mjs status (token stays masked).
Duet (the Claude app's main chat, task threads, channels and routines) runs
every session in the same cloud folder, so folder naming would file them all
under cmem_work_root. Each Duet prompt names its channel, so a Duet session
files under cmem_duet_<channel name>_<channel id> instead (the id keeps
channels whose names look alike apart), and every task thread in that
channel shares it. Envelopes carry payload.duet (channel_id,
channel_name, thread_id). A session is pinned to the first channel it sees.
The channel is read only from what the host sends: the unescaped <project>
tag of a wake envelope, or the Project: line inside a real
<session-context> block. Text people type, tool output, assistant turns and
compaction summaries never name a channel.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub thedotmack/claude-mem --plugin cmem-proPlugins from other owners that cover similar ground