hindsight-local
Skill0 starsChanged 7 months agoMITView on GitHub
Store user preferences, learnings from tasks, and procedure outcomes. Use to remember what works and recall context before new tasks. (user)
1 other project uses a version of this.
Adopted by
Most recently taken up by
- vectorize-io/hindsightword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- vectorize-io/hindsight★ 60k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- hindsight-cloudSkill
- hindsight-docsSkill
- hindsight-self-hostedSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before using memory commands, verify Hindsight is configured:
- Very specific: line 28
When you call retain, Hindsight does not store the string as-is.
- Very specific: line 41
Use memory retain to store what you learn.
- Very specific: line 60
Use memory recall BEFORE starting tasks to get relevant context:
- Very specific: line 69
Use memory reflect to synthesize context:
- Distinctive: line 77
Always store: after you learn something valuable:
- Distinctive: line 107
Store immediately: When you discover something, store it right away
- Distinctive: line 110
Recall first: Always check for relevant context before starting work
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 statusIf this fails or shows "not configured", run the interactive setup:
uvx hindsight-embed configureThis 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:
- Extracts structured facts from the content using an LLM
- Identifies entities (people, tools, concepts) and links related facts
- Builds temporal and causal relationships between facts
- 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 learningsYou 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 learningsRecall 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
- Store immediately: When you discover something, store it right away
- Pass rich context: Include full observations, not pre-summarized strings — the server extracts facts automatically
- Include outcomes: Store what happened AND why, including failures and workarounds
- Recall first: Always check for relevant context before starting work
- Use
--contextfor metadata: The--contextflag labels the type of memory (e.g.,procedures,learnings,preferences), not a replacement for full content
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

