All skills
vectorize-io avatar

/hindsight-docs

@5bfef3c
by vectorize-iovectorize-io/hindsight44k stars
5,845

Complete Hindsight documentation for AI agents. Use this to learn about Hindsight architecture, APIs, configuration, and best practices.

Use this Skill: https://skilld.dev/gh/vectorize-io/hindsight/hindsight-docs

This session only. Nothing lands on disk.

referencessdksintegrationscontinue.md

≈628 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Continue

Long-term memory for the Continue.dev coding assistant, powered by Hindsight. Recall relevant project memory directly into chat, and optionally let the agent recall and retain automatically in agent mode.

View Changelog →

How It Works

Continue has no hook that runs before a message is sent, but it supports two native extension points that hindsight-continue uses:

  • HTTP context provider (precise recall): type @hindsight <query> (or a bare @hindsight) in Continue chat and relevant memory is recalled and injected into the model's context at query time. The package ships a small adapter server that implements Continue's HTTP context-provider contract ({query, fullInput, options, workspacePath} → context items) on top of Hindsight recall.
  • MCP server + rules (automatic): point Continue's agent mode at the Hindsight MCP server for retain/recall/reflect tools, with a rules file that instructs the agent to recall at the start of every task and retain durable facts.

Memory is scoped per bank — use one bank per project so context from one codebase doesn't leak into another.

Setup

pip install hindsight-continue

Run the adapter, pointing it at your Hindsight instance and bank:

export HINDSIGHT_API_KEY=hsk_...
export HINDSIGHT_CONTINUE_BANK_ID=my-project
hindsight-continue            # serves on 127.0.0.1:8123

Then register it in Continue's config.yaml:

context:
  - provider: http
    params:
      url: "http://127.0.0.1:8123/"
      title: hindsight
      displayTitle: Hindsight
      description: Recall long-term memory from Hindsight

Use a Hindsight Cloud key, or point at a self-hosted server with HINDSIGHT_API_URL=http://localhost:8888.

Automatic recall (optional)

For hands-off recall and retain in agent mode, wire the Hindsight MCP server into Continue and add a "recall first" rule. See the examples/.continue/ assets in the integration directory.

Limitation

Continue has no pre-prompt hook, so memory cannot be injected fully passively on every message. The @hindsight provider gives precise, query-time recall on demand; the MCP + rules setup gives automatic recall in agent mode, subject to the agent following the rule.

Source: SKILL.md on GitHub

1 alert1d5 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    The skill provides comprehensive technical documentation for the Hindsight memory system, covering its architecture, APIs, and various SDK integrations. It contains setup instructions and configuration guides for AI agents.

  • Socket1d

    1 alert: gptAnomaly

  • Snyk1d

    Risk: LOW · No issues

  • Runlayer6mo

    30/42 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5bfef3c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 14 hours ago.

Activeupdated 2 months ago

README badge

README badge for vectorize-io/hindsight/hindsight-docs