You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hindsight provides an Agent Skill that gives AI coding assistants persistent memory across sessions. Skills are reusable prompt templates that agents can load when needed to gain specialized capabilities.
Once installed, your AI assistant gains the ability to:
44
+
45
+
-**Retain** - Store user preferences, learnings, and procedure outcomes
46
+
-**Recall** - Search for relevant context before starting tasks
47
+
-**Reflect** - Synthesize memories into contextual answers
48
+
49
+
The skill uses the `hindsight-embed` CLI which runs a lightweight local daemon with an embedded database.
50
+
51
+
## How Skills Work
52
+
53
+
Skills are **model-invoked**, meaning the AI assistant automatically decides when to use them based on the context of your conversation. You don't need to explicitly trigger the skill.
54
+
55
+
The assistant will:
56
+
-**Store** when you share preferences, when tasks succeed/fail, or when learnings emerge
57
+
-**Recall** before starting non-trivial tasks to get relevant context
58
+
59
+
### What Gets Stored
60
+
61
+
The skill is optimized to store:
62
+
63
+
| Category | Examples |
64
+
|----------|----------|
65
+
|**User Preferences**| Coding style, tool preferences, language choices |
66
+
|**Procedure Outcomes**| Commands that worked, configurations that resolved issues |
Copy file name to clipboardExpand all lines: hindsight-docs/static/get-skill
+40-39Lines changed: 40 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -65,77 +65,78 @@ print_banner() {
65
65
# Embedded SKILL.md content
66
66
SKILL_CONTENT='---
67
67
name: hindsight
68
-
description: Give your agent persistent memory that works like human memory. Store facts, preferences, and context that persist across sessions.
68
+
description: Store user preferences, learnings from tasks, and procedure outcomes. Use to remember what works and recall context before new tasks.
69
69
---
70
70
71
71
# Hindsight Memory Skill
72
72
73
-
You have access to persistent memory via the `hindsight-embed` CLI. Use it to remember important information about the user and recall it when relevant.
74
-
75
-
## Setup (first time only)
76
-
77
-
Run: `uvx hindsight-embed configure`
78
-
79
-
This will configure your LLM provider and start a local daemon that manages your memory bank.
73
+
You have persistent memory via the `hindsight-embed` CLI. **Proactively store learnings and recall context** to provide better assistance.
80
74
81
75
## Commands
82
76
83
-
The CLI uses a bank ID to organize memories. Use `default` for general memories or create project-specific banks.
84
-
85
77
### Store a memory
86
78
87
-
Use `memory retain` to store important facts, preferences, decisions, or context:
79
+
Use `memory retain` to store what you learn:
88
80
89
81
```bash
90
-
uvx hindsight-embed memory retain default "User prefers dark mode for all UIs"
91
-
uvx hindsight-embed memory retain default "Project uses Python 3.11 with FastAPI" --context work
0 commit comments