/Catalogue/Prompt/thedotmack/thedotmack-claude-mem-mem-search-2

Origin: github

mem-search

Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.

by thedotmack · updated 11h ago · imported from GitHub

Installs0+0/7d
Security score92/100
Retention 14d0%
GitHub stars94.7K

Skill logic

Execution graph
User message
Prompt rewrites behaviour
Response

SKILL.md

View on GitHub ↗

mem-search

Layered workflow. Do not dump full observations until IDs are filtered, and do not reach for raw tool bodies until the summaries came up short.

  1. search(query) — index with IDs
  2. timeline(anchor=ID) — nearby context
  3. get_observations(ids=[...]) — full details for those IDs only
  4. get_tool_uses(ids=[...]) — the ORIGINAL tool_input / tool_response for specific tool calls. Last resort: these are unsummarized and can run to thousands of tokens each.

The worker also live-writes a growing ID INDEX to agents/<this-seat-uuid>/memory/log/zz-claude-mem-inject.md (host Memory mid-attach). Use those IDs with get_observations. Thin seat diaries are filled from newest house observations. Disable with CLAUDE_MEM_GROK_BOT_INJECT_ENABLED=false.

Stamp platformSource as cursor or grok-bot on writes for this host. When reading, do not drop the other host unless asked.

If MCP is missing, run the install skill first (npx claude-mem install --ide <host>).

Discussion

No comments yet — start the thread.

Sign in to join the discussion.

/More from thedotmack/claude-mem

thedotmack· 11h agoCommunity
claude-mem-install

Prompts · TypeScript · v0.1.0

Use this when setting up claude-mem on Cursor: local or remote worker, local host-login observer or remote cmem.ai inference.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoSandbox
openclaw

Prompts · TypeScript · v0.1.0

This guide walks through setting up the claude-mem plugin on an OpenClaw gateway. By the end, your agents will have persistent memory across sessions via system prompt context injection, and optionally a real-time observation feed streaming to a messaging channel.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoCommunity
mem-search

Prompts · TypeScript · v0.1.0

Use this when the user asks to search memory, "did we already solve this?", "how did we do X last time?", or wants work from previous sessions.

#ai#ai-agents#ai-memory

0 94.7K
thedotmack· 11h agoCommunity
host-observer

Prompts · TypeScript · v0.1.0

Use this when fulfilling claude-mem observer jobs on Grok Bot: reply only skip_summary or one full observation XML, never prose.

#ai#ai-agents#ai-memory

0 94.7K