mem-search
Lets your agent search past memories. Useful for recalling previous solutions or work from old sessions.
What it does
This tool helps the AI remember past conversations and work. It can search its memories to find information about what has already been done or how something was solved previously.
When to use it
- ✓When you want to know if an issue has already been solved.
- ✓When you need to recall how you did something in a previous session.
- ✓When you want to continue work that was stopped in another conversation.
Example of what to ask your AI
“Search my memories for how we solved the route optimization problem last week.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The AI first looks for relevant information in its memories. If needed, it can retrieve deeper details or even the exact interactions that occurred before.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add thedotmack/claude-mem --skill mem-searchOr download just the file:
curl -L https://raw.githubusercontent.com/thedotmack/claude-mem/main/claude-mem-cursor/skills/mem-search/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from 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.
search(query)— index with IDstimeline(anchor=ID)— nearby contextget_observations(ids=[...])— full details for those IDs onlyget_tool_uses(ids=[...])— the ORIGINALtool_input/tool_responsefor specific tool calls. Last resort: these are unsummarized and can run to thousands of tokens each.
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>).
FAQ
What are 'IDs'?
IDs are like unique labels that the AI uses to identify and organize different pieces of information in its memory.
Why doesn't the AI show everything at once?
The AI shows information gradually to be more efficient and not overwhelm you with unnecessary details. It only shows more details if you ask or if the initial information isn't enough.
What are 'tool_input' and 'tool_response'?
These are the exact commands the AI used and the responses it received when interacting with other tools or systems. They are very technical details that are usually not needed.
Details
Original description by the author
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.
repo: thedotmack/claude-mem
Popularity
- GitHub stars
- 101k
- Ranking position
- #802
- License
- Apache-2.0
- Updated
- 10/16/2026
Comments
- …
More skills from this repository
Agent Cost Report
Has your agent generate detailed cost reports for its activities. Shows how much was spent on tokens and services.
thedotmack/claude-mem
claude-mem-install
Helps your agent set up Claude-Mem in different environments. Allows choosing between local or remote workers and configuring observation.
thedotmack/claude-mem
host-observer
Helps your agent respond to Claude-Mem observer tasks. It should only reply with 'skip_summary' or a full XML observation.
thedotmack/claude-mem
mem-setup
Lets your agent set up Claude-Mem with the user. It connects the user's account and configures cloud sync.
thedotmack/claude-mem
Similar skills
agent-architecture-audit
Makes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
affaan-m/ECC
agent-eval
Helps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
affaan-m/ECC
agent-harness-construction
Makes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
affaan-m/ECC