hindsight-self-hostedlisted
Install: claude install-skill Holetron-lab/fleet-memory
# Hindsight Memory Skill (Self-Hosted)
You have persistent memory via a **self-hosted Hindsight server**. This memory bank can be **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:
```bash
cat ~/.hindsight/config
```
**If the file doesn't exist or is missing credentials**, help the user set it up:
1. **Install the CLI** (if `hindsight` command not found):
```bash
curl -fsSL https://hindsight.vectorize.io/get-cli | bash
```
2. **Create the config file** - ask the user for:
- **API URL**: Their self-hosted Hindsight server URL (e.g., `https://hindsight.mycompany.com`)
- **API Key**: Their authentication key
```bash
mkdir -p ~/.hindsight
cat > ~/.hindsight/config << 'EOF'
api_url = "<user's server URL>"
api_key = "<user's API key>"
EOF
chmod 600 ~/.hindsight/config
```
3. **Get the bank ID** - ask the user for their 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:
1. **Extracts structured facts** from the content using an LLM
2. **Identifies entities** (people, tools, concepts) and links related facts
3. **Builds temporal and ca