Store team knowledge, project conventions, and learnings from tasks. Use to remember what works and recall context before new tasks. Connects to Hindsight Cloud. (user)
Add this skill
npx mdskills install vectorize-io/hindsight-cloudClear instructions for team memory with strong contextual guidance and practical examples
1---2name: hindsight-cloud3description: Store team knowledge, project conventions, and learnings from tasks. Use to remember what works and recall context before new tasks. Connects to Hindsight Cloud. (user)4---56# Hindsight Memory Skill (Cloud)78You have persistent memory via **Hindsight Cloud**. This memory bank is **shared with the team**, so knowledge stored here benefits everyone working on this codebase.910**Proactively store team knowledge and recall context** to provide better assistance.1112## Setup Check (First-Time Only)1314Before using memory commands, verify the Hindsight CLI is configured:1516```bash17cat ~/.hindsight/config18```1920**If the file doesn't exist or is missing credentials**, help the user set it up:21221. **Install the CLI** (if `hindsight` command not found):23 ```bash24 curl -fsSL https://hindsight.vectorize.io/get-cli | bash25 ```26272. **Create the config file** - ask the user for their **API Key** (get it from https://ui.hindsight.vectorize.io):28 ```bash29 mkdir -p ~/.hindsight30 cat > ~/.hindsight/config << 'EOF'31 api_url = "https://api.hindsight.vectorize.io"32 api_key = "<user's API key>"33 EOF34 chmod 600 ~/.hindsight/config35 ```36373. **Get the bank ID** - ask the user for their team's bank ID (e.g., `team-myproject`)3839After setup, use the bank ID in all commands below.4041## Commands4243Replace `<bank-id>` with the user's actual bank ID (e.g., `team-frontend`).4445### Store a memory4647Use `memory retain` to store what you learn:4849```bash50hindsight memory retain <bank-id> "Project uses ESLint with Airbnb config and Prettier for formatting"51hindsight memory retain <bank-id> "Running tests requires NODE_ENV=test" --context procedures52hindsight memory retain <bank-id> "Build failed when using Node 18, works with Node 20" --context learnings53hindsight memory retain <bank-id> "Alice prefers verbose commit messages with context" --context preferences54```5556### Recall memories5758Use `memory recall` BEFORE starting tasks to get relevant context:5960```bash61hindsight memory recall <bank-id> "project conventions and coding standards"62hindsight memory recall <bank-id> "Alice preferences for this project"63hindsight memory recall <bank-id> "what issues have we encountered before"64hindsight memory recall <bank-id> "how does the auth module work"65```6667### Reflect on memories6869Use `memory reflect` to synthesize context:7071```bash72hindsight memory reflect <bank-id> "How should I approach this task based on past experience?"73```7475## IMPORTANT: When to Store Memories7677This is a **shared team bank**. Store knowledge that benefits the team. For individual preferences, include the person's name.7879### Project/Team Conventions (shared)80- Coding standards ("Project uses 2-space indentation")81- Required tools and versions ("Project requires Node 20+, PostgreSQL 15+")82- Linting and formatting rules ("ESLint with Airbnb config")83- Testing conventions ("Integration tests require Docker running")84- Branch naming and PR conventions8586### Individual Preferences (attribute to person)87- Personal coding style ("Alice prefers explicit type annotations")88- Communication preferences ("Bob prefers detailed PR descriptions")89- Tool preferences ("Carol uses vim keybindings")9091### Procedure Outcomes92- Steps that successfully completed a task93- Commands that worked (or failed) and why94- Workarounds discovered95- Configuration that resolved issues9697### Learnings from Tasks98- Bugs encountered and their solutions99- Performance optimizations that worked100- Architecture decisions and rationale101- Dependencies or version requirements102103### Team Knowledge104- Onboarding information for new team members105- Common pitfalls and how to avoid them106- Architecture decisions and their rationale107- Integration points with external systems108- Domain knowledge and business logic explanations109110## IMPORTANT: When to Recall Memories111112**Always recall** before:113- Starting any non-trivial task114- Making decisions about implementation115- Suggesting tools, libraries, or approaches116- Writing code in a new area of the project117- When answering questions about the codebase118- When a team member asks how something works119120## Best Practices1211221. **Store immediately**: When you discover something, store it right away1232. **Be specific**: Store "npm test requires --experimental-vm-modules flag" not "tests need a flag"1243. **Include outcomes**: Store what worked AND what did not work1254. **Recall first**: Always check for relevant context before starting work1265. **Think team-first**: Store knowledge that would help other team members1276. **Attribute individual preferences**: Store "Alice prefers X" not just "User prefers X"1287. **Distinguish project vs personal**: Project conventions apply to everyone; personal preferences are per-person129
Full transparency — inspect the skill content before installing.