
Hindsight Memory Skill
FreeCapture and recall team knowledge seamlessly.
Free · Opens the source repo
What Hindsight Memory Skill does
Hindsight Memory Skill provides a robust solution for teams looking to effectively store and recall important knowledge and conventions related to their projects. By leveraging Hindsight Cloud, this skill enables users to create a shared memory bank that enhances collaboration and ensures that valuable insights are not lost over time. The skill is particularly useful for teams working on complex codebases where context is crucial for making informed decisions and avoiding repetitive mistakes.
The skill operates through a series of commands that allow users to store memories, recall relevant information, and reflect on past experiences. When using the memory retain command, users can input detailed observations, session notes, or descriptions of procedures that can later be referenced by the entire team. The Hindsight server processes this input to extract structured facts and relationships, making it easier to retrieve meaningful context when needed.
Before using the skill, users must set up the Hindsight CLI, which involves configuring API credentials and obtaining a bank ID for their team. Once set up, the skill encourages proactive knowledge sharing by prompting users to recall memories before starting new tasks or making decisions. This practice not only improves individual productivity but also fosters a culture of continuous learning within the team.
Hindsight Memory Skill is ideal for development teams, project managers, and anyone involved in collaborative projects who wishes to maintain a comprehensive and accessible repository of team knowledge. By utilizing this skill, teams can ensure that they are building on past experiences and leveraging collective knowledge to drive future success.
When to use it
Use this skill when working on collaborative projects where team knowledge and context are critical for success.
When not to use it
This skill may not be suitable for individual projects where team collaboration and shared knowledge are not a factor.
What you can build with it
Onboarding New Team Members
Store essential onboarding information, including project conventions and common pitfalls, to help new team members ramp up quickly.
Improving Code Quality
Recall previous decisions and coding standards before starting new tasks to maintain consistency and quality in the codebase.
Documenting Learnings from Bugs
Capture detailed information about bugs encountered and their solutions, ensuring that the team can avoid similar issues in the future.
How to install Hindsight Memory Skill
View source1. Install with the skills CLI
npx skills add vectorize-io/hindsight/hindsight-cloud --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by vectorize-ioHindsight Memory Skill (Cloud)
You have persistent memory via Hindsight Cloud. This memory bank is shared with the team, so knowledge stored here benefits everyone working on this codebase.
Proactively store team knowledge and recall context to provide better assistance.
Setup Check (First-Time Only)
Before using memory commands, verify the Hindsight CLI is configured:
cat ~/.hindsight/config
If the file doesn't exist or is missing credentials, help the user set it up:
-
Install the CLI (if
hindsightcommand not found):curl -fsSL https://hindsight.vectorize.io/get-cli | bash -
Create the config file - ask the user for their API Key (get it from https://ui.hindsight.vectorize.io):
mkdir -p ~/.hindsight cat > ~/.hindsight/config << 'EOF' api_url = "https://api.hindsight.vectorize.io" api_key = "<user's API key>" EOF chmod 600 ~/.hindsight/config -
Get the bank ID - ask the user for their team's bank ID (e.g.,
team-myproject)
After setup, use the bank ID in all commands below.
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
Replace <bank-id> with the user's actual bank ID (e.g., team-frontend).
Store a memory
Use memory retain to store what you learn. Pass full context — raw observations, session notes, or detailed descriptions:
hindsight memory retain <bank-id> "The project uses ESLint configured with the Airbnb rule set and Prettier for formatting. Auto-fix on save is enabled in the editor config."
hindsight memory retain <bank-id> "Ran the test suite with NODE_ENV=test. Tests pass. Without NODE_ENV=test, the suite fails with a missing config error." --context procedures
hindsight memory retain <bank-id> "Build failed on Node 18 with error 'ERR_UNSUPPORTED_ESM_URL_SCHEME'. Switched to Node 20 and build succeeded." --context learnings
hindsight memory retain <bank-id> "Alice reviewed the PR and asked for verbose commit messages that explain the motivation, not just what changed." --context preferences
You can also pass a raw conversation transcript with timestamps:
hindsight memory retain <bank-id> "[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:
hindsight memory recall <bank-id> "project conventions and coding standards"
hindsight memory recall <bank-id> "Alice preferences for this project"
hindsight memory recall <bank-id> "what issues have we encountered before"
hindsight memory recall <bank-id> "how does the auth module work"
Reflect on memories
Use memory reflect to synthesize context:
hindsight memory reflect <bank-id> "How should I approach this task based on past experience?"
IMPORTANT: When to Store Memories
This is a shared team bank. Store knowledge that benefits the team. For individual preferences, include the person's name.
Project/Team Conventions (shared)
- Coding standards ("Project uses 2-space indentation")
- Required tools and versions ("Project requires Node 20+, PostgreSQL 15+")
- Linting and formatting rules ("ESLint with Airbnb config")
- Testing conventions ("Integration tests require Docker running")
- Branch naming and PR conventions
Individual Preferences (attribute to person)
- Personal coding style ("Alice prefers explicit type annotations")
- Communication preferences ("Bob prefers detailed PR descriptions")
- Tool preferences ("Carol uses vim keybindings")
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
Team Knowledge
- Onboarding information for new team members
- Common pitfalls and how to avoid them
- Architecture decisions and their rationale
- Integration points with external systems
- Domain knowledge and business logic explanations
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
- When answering questions about the codebase
- When a team member asks how something works
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
- Think team-first: Store knowledge that would help other team members
- Attribute individual preferences: Store "Alice reviewed the PR and asked for X" not just "User prefers X"
- Distinguish project vs personal: Project conventions apply to everyone; personal preferences are per-person
- Use
--contextfor metadata: The--contextflag labels the type of memory (e.g.,procedures,learnings,preferences), not a replacement for full content
Frequently asked questions about Hindsight Memory Skill
Similar skills
Canva Creator
Streamline your content campaign from brief to HubSpot.
Cowork Plugin Customization
Tailor your Claude Code plugin to fit your organization.
Impediment Prioritization
Rank and prioritize impediments effectively.
Chronicle
Streamline your Copilot session analysis and reporting.
Idea Refine
Transform vague ideas into actionable concepts.
App Store Optimization
Optimize your mobile app's visibility and performance.
