vectorize-io/hindsight is an agent memory system that stores experiences and helps AI agents learn over time instead of only recalling conversation history. It is used by developers adding long-term memory to agents, including coding agents. Catalogue add-ons connect agents to Hindsight and its memory workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vectorize-io/hindsight --skill hindsight-coding-agentgit clone --depth 1 https://github.com/vectorize-io/hindsightWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vectorize-io/hindsight/hindsight-coding-agent)<a href="https://agentmods.dev/skills/vectorize-io/hindsight/hindsight-coding-agent"><img src="https://agentmods.dev/badge/skills/vectorize-io/hindsight/hindsight-coding-agent/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vectorize-io/hindsight/hindsight-coding-agent"><img src="https://agentmods.dev/badge/skills/vectorize-io/hindsight/hindsight-coding-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.01045 |
| Opus 5.5 | $0.00030 | $0.00418 |
| Sonnet 5.5 | $0.00015 | $0.00209 |
| Haiku 4.5 | $0.00007 | $0.00104 |
Grade A, and why
hindsight-coding-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hindsight Coding-Agent Memory
This machine runs the hindsight-coding-agents plugin: long-term project memory for coding
sessions, backed by a Hindsight server. You (the agent) are already wired into it — this skill
explains what happens automatically and which tools you have. Installing, updating, configuration and
diagnosing problems live in the hindsight-coding-agent-setup skill.
What happens automatically (no action needed)
- Per-repo memory bank: each repository resolves to a bank (shown in the session banner:
↳ memory bank “coding-agent::<repo>”). Worktrees share the main repo's bank. - Ingestion builds itself: on first open, the bank is seeded from recent commit messages and a read-only codebase survey; every session start, a background engine tops it up (new commits, new conversations) and keeps 5 pages current. There is NO ingest command to run.
- Session synthesis: by default, the first prompt of a session triggers one deep memory
synthesis (
reflect) injected into context.autoInjectswitches the source:pages(page search hits),recall(recalled observations), ornone(nothing injected; the agent searches the pages first and reflects only when they are too shallow). - Write-back: the session transcript is retained into the bank automatically at session end (per-turn on opencode). The user never needs to "save" a conversation.
- Prime Agent 0.10+ is the exception: it has no hooks, so nothing is injected. Call
hindsight_reflectyourself first (await mcp.call_tool("hindsight", "hindsight_reflect", …), with the server name your install chose if it is nothindsight); that call also starts the server that saves the session.
Storing things deliberately
When the user says "store this in hindsight" / "remember this":
- The current conversation is captured automatically at session end — say so; no tool needed.
- An external document, notes, or durable findings →
hindsight_ingest_document(title, content). - A new feature/initiative being started →
hindsight_capture_initiative(title, summary), right after the plan is agreed and before code is written. - A plan that materially changed (goal, scope, or rationale — including mid-implementation) →
call
hindsight_capture_initiativeagain withpage_idset to that initiative's page id, summarising the current intent. Same page, updated plan — never a second page. Trivial course-corrections don't count.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 74 lines · 74 tokens per session scan A cb248720378d
hindsight-coding-agent is a skill published in the GitHub repository vectorize-io/hindsight (64,150 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,045 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.
hindsight-coding-agent compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hindsight-coding-agentvectorize-io/hindsight | Skill | 64k | today | MIT | A | 74 | Claude Code, Codex |
| session-summarieskirodotdev/KiroCrew | Skill | 5.1k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| semantixGnosil/semantix | Skill | 816 | yesterday | MIT | A | 47 | Claude Code, Codex |
| search-shared-sessionsAgentWorkforce/relay | Skill | 1.2k | today | Apache-2.0 | A | 49 | Codex |
| memory-audit-belief-duelDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 38 | Claude Code |
| memory-audit-discoverabilityDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 35 | Claude Code |
| memory-audit-node-decompositionDataojitori/nocturne_memory | Skill | 1.4k | 26d ago | MIT | A | 34 | Claude Code |