
Recall
Search agentmemory for past observations, sessions, and learnings about a topic using...
Install
npx skills add rohitg00/agentmemory --skill recall -g -a claude-code -y- Repository
- rohitg00/agentmemory30.1k
- Category
- Engineering
- Updated
- 6d ago
- License
- Apache-2.0
- Context cost
- Lightabout 677 tokens
- Runs scripts
- No, instructions only
What it does
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.
The user wants to recall past context about: $ARGUMENTS
Quick start
memory_smart_search { "query": "jwt refresh token rotation", "limit": 10 }
Expected output:
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
- Call
memory_smart_searchwith the user's text asqueryandlimit: 10. Passprojectwhen the user scopes to a specific repo andagentIdwhen they request one agent's history. UsetargetLayer: "memory"for explicitly saved knowledge, ortargetLayer: "observation"for captured activity. Omit it for mixed search. - Search results are compact. Before quoting full content or describing
provenance, call
memory_smart_searchwith the selected IDs as a comma-separatedexpandIdsstring 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. - Group expanded observations by session and show the returned type, title, and narrative. Include provenance only when the response supplies it.
- Lead with the high-signal observations (importance >= 7).
- With
memory_recall, inspectmatched_count,excluded_by_budget, andcontent_truncatedbefore treating an empty or shortened response as absent knowledge. Recover full content withmemory_smart_searchusingexpandIdsand the same project, agent, and layer filters.minimum_budgetreports the estimated budget needed for a minimal preview when the budget is too small. - If there are no matches, suggest 2-3 alternative search terms and stop. Do not guess.
