Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vectorize-io avatar

Hindsight Local

  • 319 installs
  • 19.1k repo stars
  • Updated August 4, 2026
  • vectorize-io/hindsight

Hindsight Local is an agent skill that stores user preferences, task learnings, and procedure outcomes through the hindsight-embed CLI for developers who need persistent memory across agent sessions.

About

Hindsight Local is an agent skill from vectorize-io/hindsight that gives agents persistent memory via the `hindsight-embed` CLI. The workflow verifies daemon status with `uvx hindsight-embed daemon status`, runs interactive `uvx hindsight-embed configure` on first setup, and proactively stores learnings while recalling context before new tasks. Developers reach for Hindsight Local when agents should remember what worked instead of restarting from zero each session. Hindsight Local fits long-running agent workflows where preferences, outcomes, and procedures accumulate over time on a local machine.

  • hindsight-local

Hindsight Local by the numbers

  • 319 all-time installs (skills.sh)
  • +8 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #1,260 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/vectorize-io/hindsight --skill hindsight-local

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs319
repo stars19.1k
Last updatedAugust 4, 2026
Repositoryvectorize-io/hindsight

How do agents persist memory across local development sessions?

Use hindsight-local for development tasks

Who is it for?

Developers running local AI agents who need persistent memory of preferences, learnings, and procedure outcomes across sessions.

Skip if: Stateless one-shot prompts or teams that cannot run local CLI daemons and LLM provider configuration on a workstation.

When should I use this skill?

An agent should remember prior preferences or procedure outcomes and recall context via hindsight-embed before a new task.

What you get

Stored preference records, recalled task context, and configured hindsight-embed local daemon

  • Stored memory records
  • Recalled session context

Files

SKILL.mdMarkdownGitHub ↗

Hindsight Memory Skill (Local)

You have persistent memory via the hindsight-embed CLI. Proactively store learnings and recall context to provide better assistance.

Setup Check (First-Time Only)

Before using memory commands, verify Hindsight is configured:

uvx hindsight-embed daemon status

If this fails or shows "not configured", run the interactive setup:

uvx hindsight-embed configure

This will prompt for an LLM provider and API key. After setup, the commands below will work.

How Hindsight Works

When you call retain, Hindsight does not store the string as-is. The server runs an internal pipeline that:

1. Extracts structured facts from the content using an LLM 2. Identifies entities (people, tools, concepts) and links related facts 3. Builds temporal and causal relationships between facts 4. Generates embeddings for semantic search

This means you should pass rich, full-context content — the server is better at extracting what matters than a pre-summarized string. Your job is to decide when to store, not what to extract.

Commands

Store a memory

Use memory retain to store what you learn. Pass the full context — raw observations, session notes, conversation excerpts, or detailed descriptions:

uvx hindsight-embed memory retain default "User is working on a TypeScript project. They enabled strict mode and prefer explicit type annotations over inference."
uvx hindsight-embed memory retain default "Ran the test suite with NODE_ENV=test. Tests pass. Without NODE_ENV=test, the suite fails with a missing config error." --context procedures
uvx hindsight-embed memory retain default "Build failed on Node 18 with error 'ERR_UNSUPPORTED_ESM_URL_SCHEME'. Switched to Node 20 and build succeeded." --context learnings

You can also pass a raw conversation transcript with timestamps:

uvx hindsight-embed memory retain default "[2026-03-16T10:12:03] User: The auth tests keep failing on CI but pass locally. Any idea?
[2026-03-16T10:12:45] Assistant: Let me check the CI logs. Looks like the tests are running without the TEST_DATABASE_URL env var set — they fall back to the production DB URL and hit a connection timeout.
[2026-03-16T10:13:20] User: Ah right, I never added that to the CI secrets. Adding it now.
[2026-03-16T10:15:02] User: That fixed it. All green now." --context learnings

Recall memories

Use memory recall BEFORE starting tasks to get relevant context:

uvx hindsight-embed memory recall default "user preferences for this project"
uvx hindsight-embed memory recall default "what issues have we encountered before"

Reflect on memories

Use memory reflect to synthesize context:

uvx hindsight-embed memory reflect default "How should I approach this task based on past experience?"

IMPORTANT: When to Store Memories

Always store after you learn something valuable:

User Preferences

  • Coding style (indentation, naming conventions, language preferences)
  • Tool preferences (editors, linters, formatters)
  • Communication preferences
  • Project conventions

Procedure Outcomes

  • Steps that successfully completed a task
  • Commands that worked (or failed) and why
  • Workarounds discovered
  • Configuration that resolved issues

Learnings from Tasks

  • Bugs encountered and their solutions
  • Performance optimizations that worked
  • Architecture decisions and rationale
  • Dependencies or version requirements

IMPORTANT: When to Recall Memories

Always recall before:

  • Starting any non-trivial task
  • Making decisions about implementation
  • Suggesting tools, libraries, or approaches
  • Writing code in a new area of the project

Best Practices

1. Store immediately: When you discover something, store it right away 2. Pass rich context: Include full observations, not pre-summarized strings — the server extracts facts automatically 3. Include outcomes: Store what happened AND why, including failures and workarounds 4. Recall first: Always check for relevant context before starting work 5. Use `--context` for metadata: The --context flag labels the type of memory (e.g., procedures, learnings, preferences), not a replacement for full content

Related skills

FAQ

How does Hindsight Local store memory?

Hindsight Local stores memory through the `hindsight-embed` CLI, including user preferences, task learnings, and procedure outcomes. Agents recall that context before new work instead of treating every session as blank.

What setup does Hindsight Local require?

Hindsight Local requires a working `hindsight-embed` daemon. Run `uvx hindsight-embed daemon status` to verify configuration, then `uvx hindsight-embed configure` interactively to supply an LLM provider and API key on first use.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.