Skip to content

Retrieval Reflex

Makes the agent look up a named person, company, or project in your brain before answering from memory.

Repository
garrytan/gbrain
Stars
31,447
Licence
MIT
Files
1 file

What it does

This skill teaches an AI agent to behave like a person who checks their notes before speaking about someone. When a named entity such as a person, company, project, or deal becomes the subject of a conversation, the agent opens the stored page for it in the user's brain (a personal knowledge store) instead of relying on memory. It escalates only as far as needed: a short pointer first, the full page when details matter, and linked neighbours only when relationship context is required.

Great for

  • People who keep a GBrain knowledge base and want the agent to consult it automatically
  • Developers building personal or team memory systems who want a retrieval pattern for agents
  • Users who often ask about contacts or deals and want fewer confident-but-wrong answers

Skip it if

  • Users who only want explicit searches, since direct lookup questions are routed to a separate query skill
  • Setups without a populated brain, where the lookups will return little or nothing
  • Sensitive contexts where automatic reads of personal records are unwanted, since it reads stored pages without asking each time

Try asking

  • “Before I reply about my meeting with Sarah Chen, check what I have on her”
  • “I'm about to decide on the Acme deal, make sure you have the latest on that company”
  • “Let me know if you're going to state anything about Priya's history with us, verify it first”
Step-by-step guide: how to use Retrieval ReflexInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    retrieval-reflex.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip retrieval-reflex.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip retrieval-reflex.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Make sure your brain is populated first; the skill only helps if pages exist to open.
  • Expect the agent to say it is checking before asserting details, and let it finish the lookup.
  • Use the separate query skill for explicit searches such as 'who is' questions.

What's inside

  • SKILL.md

Redistributed unmodified from garrytan/gbrain under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.