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 Prasanth595v0.1.4PolyForm-Noncommercial-1.0.0In 1 marketplace
Claude-Mem for Cowork: captures tool use via hooks, streams fragments to cmem.ai (Pro runs the observer), and injects observations back into new sessions and spawned agents.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude-Mem for Cowork (native Claude app — mobile, web, desktop cloud sessions).
Cowork 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 |
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.
~/.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 Cowork 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 Cowork; 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 Cowork
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).
The ingest/context endpoints this plugin calls are specified in
PRO-ENDPOINT-SPEC.md (drop-in spec for claude-mem-pro). Until they ship,
retrieval works via the existing /api/mcp; capture is inert.
mcp__memory__*, mcp__cmem*) are never
captured (feedback-loop guard). Add more exclusions in capture.skipTools.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 prasanth595/claude-mem --plugin claude-mem-coworkPlugins from other owners that cover similar ground