hindsight-coding-agent

hindsight-coding-agent is a skill for Claude Code, Codex from vectorize-io/hindsight. It costs 74 tokens per session (1,045 once invoked), scanned A, original, MIT.

A long-term memory system for coding-agent sessions, backed by a Hindsight server. It keeps a separate memory store for each code repository and can bring relevant past observations into new sessions.

In plain words
What is it for?
It helps store, search, recall, and correct project memories during everyday coding work.
Why use it?
It reduces the need to repeat project context across sessions and helps the agent remember repository history, conversations, and corrected information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit It helps store, search, recall, and correct project memories during everyday coding work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vectorize-io/hindsight/hindsight-coding-agent
About the project

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.

vectorize-io/hindsight · 64,150 stars · on GitHub · hindsight.vectorize.io

Install

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.

Any agent
npx skills add vectorize-io/hindsight --skill hindsight-coding-agent
Clone the repo
git clone --depth 1 https://github.com/vectorize-io/hindsight

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for hindsight-coding-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/vectorize-io/hindsight/hindsight-coding-agent/github.svg)](https://agentmods.dev/skills/vectorize-io/hindsight/hindsight-coding-agent)
Your own site
<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.

agentmods 80×15 button for hindsight-coding-agent

Your own site · 80×15
<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>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,045 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash cb248720378d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

hindsight-integrations/coding-agents/skill/hindsight-coding-agent/SKILL.md · 74 lines

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. autoInject switches the source: pages (page search hits), recall (recalled observations), or none (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_reflect yourself first (await mcp.call_tool("hindsight", "hindsight_reflect", …), with the server name your install chose if it is not hindsight); 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_initiative again with page_id set to that initiative's page id, summarising the current intent. Same page, updated plan — never a second page. Trivial course-corrections don't count.

Read the full file on GitHub · 74 lines

Changes

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.

  1. 2d ago First seen · 74 lines · 74 tokens per session scan A cb248720378d

Subscribe to this mod's changes

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.

Related

hindsight-coding-agent compared with skills from other repositories

hindsight-coding-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hindsight-coding-agentvectorize-io/hindsightSkill64ktodayMITA74Claude Code, Codex
session-summarieskirodotdev/KiroCrewSkill5.1ktodayApache-2.0A53Claude Code, Codex
semantixGnosil/semantixSkill816yesterdayMITA47Claude Code, Codex
search-shared-sessionsAgentWorkforce/relaySkill1.2ktodayApache-2.0A49Codex
memory-audit-belief-duelDataojitori/nocturne_memorySkill1.4k26d agoMITA38Claude Code
memory-audit-discoverabilityDataojitori/nocturne_memorySkill1.4k26d agoMITA35Claude Code
memory-audit-node-decompositionDataojitori/nocturne_memorySkill1.4k26d agoMITA34Claude Code