Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

recall — Claude Code skill: search agent memory

Searches past observations, sessions, and learnings through agentmemory. Use it to recover context when you need to know what a project already covered.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rohitg00/agentmemory --skill recall -a claude-code
Open on GitHub

What recall does

The skill sends the query to memory_smart_search, which combines BM25, vector, and graph search. It requests up to 10 results by default. Searches can be scoped to a project or agent, or narrowed to saved knowledge or captured activity.

Compact results do not contain the full context. The skill expands selected records by ID with the same filters, groups observations by session, and leads with the most important findings. When there are no matches, it suggests other search terms instead of guessing. The memory_smart_search tool must be available for the search to run.

What it helps with

  • find past decisions about a topic
  • check whether a task came up before
  • recover context from earlier sessions
  • narrow history to a project or agent

Example prompts for the agent

  • Recall what we decided about refresh token rotation.
  • Find earlier observations about request limits in this project.
  • Did we discuss session expiry before? Search the past sessions.

How to install recall

1Skills CLI (Vercel)

npx skills add rohitg00/agentmemory --skill recall -a claude-code

2Manually: put the files in place

~/.claude/skills/recall/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/recall/

From the same set12

The whole set →
remember rohitg00 Saves insights, decisions, and learnings to agentmemory long-term storage with concept tags so agents can retrieve them later. Claude Code CX Codex Cursor +1 14,000installs forget rohitg00 Deletes selected durable memories from agentmemory after explicit confirmation. Useful when scrubbing secrets or obsolete notes. Claude Code CX Codex Cursor +1 13,800installs session-history rohitg00 Shows recent project sessions as a clean timeline. Use it to recover past decisions, observations, and session status. Claude Code CX Codex Cursor +1 13,800installs commit-history rohitg00 Lists git commits linked to agent sessions with optional filters for branch, repo, and limit. Claude Code CX Codex Cursor +1 13,700installs handoff rohitg00 Resumes the latest agent session for the current directory and surfaces any unanswered questions first. Claude Code CX Codex Cursor +1 13,400installs agentmemory-agents rohitg00 Guides coding agents on linking the memory server via agentmemory connect. It safely merges host configurations without wiping existing MCP servers. Claude Code CX Codex Cursor +1 11,000installs agentmemory-mcp-tools rohitg00 Index of every agentmemory MCP tool with its parameters and workflows. Helps agents pick the right memory tool and format valid arguments. Claude Code CX Codex Cursor +1 10,900installs agentmemory-config rohitg00 This skill helps configure local agentmemory and check its MCP connection. Use it to enable features, inspect authentication, or diagnose a connection failure. Claude Code CX Codex Cursor +1 10,900installs

Similar

prompt-optimizer YannJY02 Analyzes draft prompts, finds missing project context, and matches ECC commands. Prepares a ready-to-paste prompt before you start complex tasks. Claude Code CX Codex Cursor +1 5,200installs codebase-onboarding affaan-m This skill examines an unfamiliar repository and creates an onboarding guide plus a starter CLAUDE.md. Use it when joining a project or setting up Claude Code in an existing repo. Claude Code CX Codex Cursor +1 5,200installs hook-development official Anthropic Guides the development of Claude Code plugin hooks to intercept tool calls, validate output, and enforce task completion checks. Claude Code 7,028installs find-skills vercel-labs Discovers and installs agent skills from skills.sh directly inside your coding assistant. Handy when you need domain-specific workflows for a project. Claude Code CX Codex Cursor +1 4,000,000installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs grill-me Matt Pocock grill-me interviews you about a plan or design to expose gaps and sharpen decisions. Use it before implementation starts. Claude Code 1,424,476installs grill-with-docs Matt Pocock This skill interviews you about a plan or design and creates ADRs and a glossary along the way. Use it when decisions need sharper definition. Claude Code 1,219,756installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs

Questions about recall

How do I install recall in Claude Code?

Run npx skills add rohitg00/agentmemory --skill recall -a claude-code. The skill file is at ~/.claude/skills/recall/SKILL.md.

What does the recall skill do?

It searches past observations, sessions, and learnings with memory_smart_search, then expands selected records by ID to retrieve their full context.

What does recall need to work?

The memory_smart_search tool must be available. Without it, the skill cannot run its search.

Source text

SKILL.md · Apache-2.0
---
name: recall
description: Search agentmemory for past observations, sessions, and learnings about a topic using hybrid BM25 plus vector plus graph search. Use when the user says "recall", "what did we do about", "did we ever", "have we seen", or needs context from past sessions.
argument-hint: "[search query]"
user-invocable: true
---

The user wants to recall past context about: $ARGUMENTS

## Quick start

```json
memory_smart_search { "query": "jwt refresh token rotation", "limit": 10 }
```

Expected output:

```text
2 results across 2 sessions.
[importance 8] decision · "Rotate refresh tokens on every use" (session 7f3a9c21)
[importance 5] code · "limit.ts counts per-IP" (session b21d004e)
```

## Why

Only surface what the tool returned. Never fabricate an observation, a session
id, or an importance score. If nothing comes back, say so.

## Workflow

1. Call `memory_smart_search` with the user's text as `query` and `limit: 10`.
   Pass `project` when the user scopes to a specific repo and `agentId` when
   they request one agent's history.
   Use `targetLayer: "memory"` for explicitly saved knowledge, or
   `targetLayer: "observation"` for captured activity. Omit it for mixed search.
2. Search results are compact. Before quoting full content or describing
   provenance, call `memory_smart_search` with the selected IDs as a
   comma-separated `expandIds` string and the same project, agent, and layer
   filters. If expansion fails or the record is no longer available, report
   that limitation; a title alone is not the full fact.
3. Group expanded observations by session and show the returned type, title,
   and narrative. Include provenance only when the response supplies it.
4. Lead with the high-signal observations (importance >= 7).
5. With `memory_recall`, inspect `matched_count`, `excluded_by_budget`, and
   `content_truncated` before treating an empty or shortened response as absent
   knowledge. Recover full content with `memory_smart_search` using `expandIds`
   and the same project, agent, and layer filters. `minimum_budget` reports the
   estimated budget needed for a minimal preview when the budget is too small.
6. If there are no matches, suggest 2-3 alternative search terms and stop. Do not guess.

## Anti-patterns

WRONG: results are empty, so you write "We probably discussed token expiry last
week" from assumption.

RIGHT: "No memories matched that query. Try `refresh token`, `session expiry`,
or `auth rotation`."

## Checklist

- Every observation shown came from the tool response.
- Results grouped by session, high-importance first.
- Empty results trigger alternative-term suggestions, not invention.
- No session id or score was paraphrased or rounded.

## See also

- `remember`: the write side; recall retrieves what it stores.
- `recap`, `handoff`, `session-history`: session-scoped views of the same data.
- `memory-discipline`: when to run this search unprompted.

## Troubleshooting

See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) if `memory_smart_search` is not available.

© rohitg00 · Apache-2.0 · rohitg00/agentmemory

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor