Hindsight Recall
Researchhindsight-recallHindsight Recall is an Agent Skill for research published in the vectorize-io/hindsight repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Search long-term memory for relevant context from past coding sessions using Hindsight MCP tools
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/vectorize-io/hindsight/blob/HEAD/hindsight-integrations/cursor/skills/hindsight-recall/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/hindsight-recall, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Hindsight Recall
Trigger
Use when the user explicitly asks about past decisions, project context, preferences, or anything that may have been discussed in prior sessions.
Workflow
- Identify the key topic or question from the user's request.
- Check if
<hindsight_memories>in the current context already contains relevant results from the automatic session-start recall. - If session memory already covered it, use those memories directly.
- If the user needs more specific or deeper recall, use the Hindsight MCP
recalltool to search for additional memories. - If you want to reason over accumulated memories for architectural decisions, use the
reflecttool.
Guardrails
- Only use MCP tools for deeper recall when the session-start memory was insufficient.
- When memories conflict with current context, prefer current context and note the discrepancy.
- Do not expose raw memory metadata to the user unless asked.
Output
- Relevant memories integrated into the response
- If MCP tools are not available, advise the user to check their
.cursor/mcp.jsonconfiguration