Skip to main content

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.

  • New
  • v1.0.0
  • No reviews yet

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.0

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>).

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

View source →
What does the mem-search skill do?

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. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the mem-search skill?

Run `npx @skills-hub-ai/cli install claude-mem-grok-bot-mem-search` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-mem-grok-bot-mem-search/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does mem-search work with?

mem-search runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the mem-search skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use mem-search after installing it?

In Claude Code, type `/claude-mem-grok-bot-mem-search` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the mem-search skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/claude-mem-grok-bot-mem-search)](https://skills-hub.ai/skills/claude-mem-grok-bot-mem-search)
HTML
<a href="https://skills-hub.ai/skills/claude-mem-grok-bot-mem-search"><img src="https://skills-hub.ai/api/badges/skill/claude-mem-grok-bot-mem-search" alt="Install on Skills Hub"></a>

More options in the badge docs.