hindsight-docs — скилл для Claude Code: что делает и установка
Скилл даёт агенту документацию Hindsight: архитектуру, API, настройку и SDK. Пригодится для интеграции памяти в AI-агентов.
npx skills add vectorize-io/hindsight --skill hindsight-docs -a claude-codeЧто делает hindsight-docs
hindsight-docs подключает к агенту документацию Hindsight — системы памяти для AI-агентов. В ней описаны архитектура, операции retain, recall и reflect, memory banks, dispositions и mental models. Документы также охватывают API, конфигурацию, развёртывание и SDK для Python, Node.js, Rust и CLI.
Материалы разложены в references/: практические рекомендации, FAQ, OpenAPI-спецификация, документы по API, SDK и интеграциям. Агент может искать файлы через Glob, находить темы через Grep и читать нужные страницы. В документации отдельно разобраны четыре стратегии поиска: semantic, BM25, graph и temporal.
Перед интеграцией стоит учесть, что запросы к нескольким memory banks требуют оркестрации на стороне клиента. Для работы с историей разговора используется один и тот же document_id, а параметры конфигурации задаются через HINDSIGHT_API_*.
Какие задачи решает
- разобраться в архитектуре Hindsight
- найти параметры операций retain, recall и reflect
- настроить memory banks и dispositions
- подобрать SDK для Python, Node.js или Rust
- проверить API-эндпоинты и конфигурацию
Примеры запросов агенту
- Изучи `references/best-practices.md` и объясни, как настроить missions, tags и observation scopes для моего агента.
- Найди в документации способ развернуть Hindsight API Server через Docker и перечисли нужные параметры `HINDSIGHT_API_*`.
- Сравни стратегии semantic, BM25, graph и temporal для запроса recall и укажи связанные API-эндпоинты.
Как установить hindsight-docs
1Через Skills CLI (Vercel)
npx skills add vectorize-io/hindsight --skill hindsight-docs -a claude-code2Вручную: положить файлы
~/.claude/skills/hindsight-docs/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hindsight-docs/
1Через Skills CLI (Vercel)
npx skills add vectorize-io/hindsight --skill hindsight-docs -a codex2Вручную: положить файлы
.agents/skills/hindsight-docs/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add vectorize-io/hindsight --skill hindsight-docs -a cursor2Вручную: положить файлы
.cursor/skills/hindsight-docs/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install vectorize-io/hindsight hindsight-docs2Вручную: положить файлы
.github/skills/hindsight-docs/SKILL.md1Через Skills CLI (Vercel)
npx skills add vectorize-io/hindsight --skill hindsight-docs -a gemini-cli2Командой платформы
gemini skills install https://github.com/vectorize-io/hindsight --path skills/hindsight-docsВручную: положить файлы
.devin/skills/hindsight-docs/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add vectorize-io/hindsight --skill hindsight-docs -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Похожие
Вопросы о hindsight-docs
Как установить hindsight-docs в Claude Code?
Выполните npx skills add vectorize-io/hindsight --skill hindsight-docs -a claude-code, затем повторите npx skills add vectorize-io/hindsight --skill hindsight-docs -a claude-code и проверьте файл ~/.claude/skills/hindsight-docs/SKILL.md.
Что делает hindsight-docs?
Скилл даёт агенту документацию Hindsight по архитектуре, API, настройке memory banks, стратегиям поиска и SDK. Он помогает находить нужные материалы в каталоге references/.
Что нужно учесть при работе с несколькими memory banks?
Запросы к нескольким memory banks требуют оркестрации на стороне клиента. Для эволюции одной беседы следует использовать один и тот же document_id.
Исходный текст
SKILL.md · MIT
---
name: hindsight-docs
description: Complete Hindsight documentation for AI agents. Use this to learn about Hindsight architecture, APIs, configuration, and best practices.
---
# Hindsight Documentation Skill
Complete technical documentation for Hindsight - a biomimetic memory system for AI agents.
## When to Use This Skill
Use this skill when you need to:
- Understand Hindsight architecture and core concepts
- Learn about retain/recall/reflect operations
- Configure memory banks and dispositions
- Set up the Hindsight API server (Docker, Kubernetes, pip)
- Integrate with Python/Node.js/Rust SDKs
- Understand retrieval strategies (semantic, BM25, graph, temporal)
- Debug issues or optimize performance
- Review API endpoints and parameters
## Documentation Structure
All documentation is in `references/` organized by category:
```
references/
├── best-practices.md # START HERE — missions, tags, formats, anti-patterns
├── faq.md # Common questions and decisions
├── changelog/ # Release history and version changes (index.md + integrations/)
├── openapi.json # Full OpenAPI spec — endpoint schemas, request/response models
├── developer/
│ ├── api/ # Core operations: retain, recall, reflect, memory banks
│ └── *.md # Architecture, configuration, deployment, performance
└── sdks/
├── *.md # Python, Node.js, CLI, embedded
└── integrations/ # Framework and tool integrations
```
## How to Find Documentation
### 1. Find Files by Pattern (use Glob tool)
```bash
# Core API operations
references/developer/api/*.md
# SDK documentation
references/sdks/*.md
references/sdks/integrations/*.md
# Find specific topics
references/**/configuration.md
references/**/*python*.md
references/**/*deployment*.md
```
### 2. Search Content (use Grep tool)
```bash
# Search for concepts
pattern: "disposition" # Memory bank configuration
pattern: "graph retrieval" # Graph-based search
pattern: "helm install" # Kubernetes deployment
pattern: "document_id" # Document management
pattern: "HINDSIGHT_API_" # Environment variables
# Search in specific areas
path: references/developer/api/
pattern: "POST /v1" # Find API endpoints
path: references/sdks/
pattern: "def |async def " # Find Python examples
```
### 3. Read Full Documentation (use Read tool)
```
references/developer/api/retain.md
references/sdks/python.md
references/sdks/integrations/litellm.md
```
## Start Here: Best Practices
Before reading API docs, read the best practices guide. It covers practical rules for missions, tags, content format, observation scopes, and anti-patterns — the fastest way to integrate correctly.
```
references/best-practices.md
```
## Key Concepts
- **Memory Banks**: Isolated memory stores (one per user/agent)
- **Retain**: Store memories (auto-extracts facts/entities/relationships)
- **Recall**: Retrieve memories (4 parallel strategies: semantic, BM25, graph, temporal)
- **Reflect**: Disposition-aware reasoning using memories
- **document_id**: Groups messages in a conversation (upsert on same ID)
- **Dispositions**: Skepticism, literalism, empathy traits (1-5) affecting reflect
- **Mental Models**: Consolidated knowledge synthesized from facts
## Notes
- Code examples are inlined from working examples
- Configuration uses `HINDSIGHT_API_*` environment variables
- Database migrations run automatically on startup
- Multi-bank queries require client-side orchestration
- Use `document_id` for conversation evolution (same ID = upsert)
---
**Auto-generated** from `hindsight-docs/docs/` and `hindsight-docs/docs-integrations/`. Run `./scripts/generate-docs-skill.sh` to update.
© vectorize-io · MIT · vectorize-io/hindsight