Skip to content
Agent Memory
Skill

/memory-setup

Set up and check Hindsight long-term memory for this Bot. Use the first time a Bot uses Hindsight, when the user asks to connect or check memory, or whenever a Hindsight tool call fails.

From plugin
hindsight
62k18 skills

Claude Code

$ npx -y skills add vectorize-io/hindsight --skill memory-setup --agent claude-code

SKILL.md

memory-setup.SKILL.md
name: memory-setup
description: Set up and check Hindsight long-term memory for this Bot. Use the first time a Bot uses Hindsight, when the user asks to connect or check memory, or whenever a Hindsight tool call fails.

Set up Hindsight memory

Hindsight stores memory in **banks**. This plugin uses three kinds:

  • **This Bot's bank**, `grok-bot::<bot-name>`: what this Bot learns in its own work. Build `<bot-name>` from the Bot's name, lowercase, with spaces turned into hyphens (a Bot named "Sales Researcher" uses `grok-bot::sales-researcher`).

When you are not a Grok Bot (for example, an agent in Cursor), this bank is per project instead: `cursor::<project-name>`, from the open workspace folder's name in the same lowercase, hyphenated form. With no workspace open, ask the user what to call it. Never use another Bot's `grok-bot::` bank as your own; those are read-only to you.

  • **The shared bank**, `grok-bot::shared`: what every Bot on this account should know.
  • **The user's other banks**: memory written by the user's other AI tools, such as Claude Code or ChatGPT. Read these when a task touches that work. Never write to them.

Steps

1. Call `list_banks`. A successful call proves the connection is real. If it fails, tell the user to reconnect Hindsight in the plugin's settings and stop. Do not guess endpoints or hostnames. 2. If you are a Grok Bot that still has the default name "Grok Bot", ask the user what to call it before going further. The name becomes the bank id, so a default name would give every unnamed Bot the same bank, and renaming later strands its memory under the old id. 3. If this Bot's bank does not exist, call `create_bank` with its `bank_id` and a `name` of "Grok Bot: <Bot name>". 4. If `grok-bot::shared` does not exist, call `create_bank` with `name` "Grok Bot: shared". 5. Call `list_mental_models` on `grok-bot::shared`. If there is no mental model named "About the user", call `create_mental_model` on that bank with that name and the source query "Who is this user: their work, current projects, the people they mention most, and their stated preferences". 6. Tell the user which banks exist and which other banks you can read.

Rules

  • Never call `delete_bank`, `clear_memories`, `invalidate_memory`, `delete_document` or `delete_mental_model`. If something should be deleted, tell the user and let them do it.
  • Never store passwords, one-time codes, API keys, card or account numbers.
Read more
@vectorize-io
Ships withhindsight

Hindsight: Agent Memory That Learns

Stars on GitHub

Momentum

stars in total
62.1k
Star history of vectorize-io/hindsight on GitHub, a chart by star-history.com

Other skills on hindsight.

code-review

code-review

Review changed code against project standards. Checks for missing tests, dead code, type safety, lint issues, and coding…

figure

figure

Draw an animated figure (boxes, arrows, moving data) as one self-contained SVG for a GitHub README, PR, issue or blog post. Use…

hs-release

hs-release

Cut a core Hindsight release (vX.Y.Z) and open the changelog + blog PR. Use when asked to cut/start a release, bump the version,…

ship-it

ship-it

Take a PR from review to merged — run the repo's code-review skill on it in a loop (review, fix, re-review) until nothing is left…

triage

triage

Triage a GitHub issue or a reported problem — check it is real and not by design (code, git history, PRs, Hindsight memory), find…

hindsight-memory

hindsight-memory

Long-term memory for the agent via Hindsight. Use to recall relevant past context before answering, retain durable facts as you…

More skills from other plugins.

agent-cost-report

agent-cost-report

Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…

claude-mem11d116k
@thedotmack@thedotmackInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@mempalace@mempalaceInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@milla-jovovich@milla-jovovichInstall Skill

Questions about memory-setup.

Which coding agents can use memory-setup?
memory-setup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.