Skip to content
Back to skills

Mem Search

ASecurity

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.

  • 121,755 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 20, 2026
ai-agents

Works with

  • cursor
  • mcp

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add thedotmack/claude-mem --skill mem-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mem Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mem Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedotmack-mem-search-1a165347/badge)](https://www.skillsdirectory.com/skills/thedotmack-mem-search-1a165347)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mem-search
description: >-
  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.
---
# 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>`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.