hindsight-coding-agent
Qué hace
Esta skill explica cómo funciona la memoria de proyecto a largo plazo de un agente de programación, usando un servidor de Hindsight. Está pensada para desarrolladores que quieren saber qué guarda la memoria, cómo se configura y cómo arreglarla cuando falla.
Cuándo usarla
- ✓Cuando quieres guardar algo en la memoria del proyecto de Hindsight para sesiones de programación posteriores.
- ✓Cuando quieres cambiar los ajustes de memoria de un repositorio, como desactivarla o cambiar el nombre de su banco.
- ✓Cuando la memoria del proyecto parece rota o no aparece en una sesión.
Link de la skill
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero guardar en Hindsight esta decisión sobre el versionado de nuestra API para que las próximas sesiones de programación la recuerden.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El complemento crea un banco de memoria para cada repositorio y lo actualiza a partir de los commits y las conversaciones. El agente puede buscar en esa memoria y añadir datos durante una sesión.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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, which tools you have, and how to configure or debug it.
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 knowledge 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(knowledge page search hits),recall(recalled observations), ornone(nothing injected; the agent searches the knowledge 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.
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 withrelates_to_page_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.
Retrieving
hindsight_search_knowledge_pages(query)— FIRST STOP for project questions (components, conventions, past decisions, initiatives). Server-side hybrid search, fast.hindsight_read_knowledge_page(page_id)/hindsight_list_knowledge_pages— read pages fully.hindsight_reflect(query)— deep reasoning over the whole memory for WHY questions and exact decided values; slower (seconds), use deliberately.- Credit visibly whenever memory informs an answer: start that part with
🧠 From Hindsight memory (<page>): …— and never credit memory that didn't contribute.
Correcting wrong or stale memory
If you verify that something Hindsight served is wrong or outdated (the code, git, or an external
source contradicts it), FIX THE RECORD — don't just ignore it. Call
hindsight_ingest_document with:
- title:
Correction: <topic>(e.g.Correction: retry policy 4xx set) - content: (1) what memory claimed, (2) what is verifiably true now, (3) the evidence you checked (file/commit/output). Quote exact values verbatim.
Newer facts supersede older ones in retrieval, so one clear correction permanently outranks the stale memory. Do this whenever you catch a wrong injected memory, a stale knowledge-page claim, or an outdated decision — silent disregard leaves the trap armed for the next session.
Install / update
npx @vectorize-io/hindsight-coding-agents install all # every detected agent, wired natively
npx @vectorize-io/hindsight-coding-agents install claude-code # or just one
npx @vectorize-io/hindsight-coding-agents uninstall all # removes exactly what install added
npx @vectorize-io/hindsight-coding-agents update # refresh the runtime only, no rewiring
npx @vectorize-io/hindsight-coding-agents stats # how often each agent uses Hindsight
install takes an explicit target — all, or one or more harness names. A bare
npx @vectorize-io/hindsight-coding-agents install changes nothing and prints the choice, so wiring every agent on
the machine is never something that happens by accident. Updating is the same install
command again — it re-copies the runtime in place.
Day to day you
Preguntas frecuentes
¿Hay un comando para crear la memoria?
No. La skill indica que el banco se crea solo la primera vez que se abre y se actualiza en segundo plano, así que no hay ningún comando de ingesta que ejecutar.
¿Se guardan las transcripciones de las sesiones?
La skill indica que las transcripciones de las sesiones se guardan automáticamente en el banco.
¿Puedo desactivarla para un solo repositorio?
Sí. La skill indica que desactivar la memoria por repositorio es un ajuste que puedes cambiar.
Detalles
Descripción original del autor
How this machine's Hindsight coding-agent memory works — the plugin behind the 🧠 banner. Use when the user says "store/remember this in hindsight", asks what the memory/knowledge pages are, wants to configure per-repo memory (disable, rename banks, git depth), or something memory-related looks broken.
repo: vectorize-io/hindsight
Popularidad
- Estrellas en GitHub
- 58 mil
- Posición en el ranking
- #3261
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
figure
58 milAyuda a tu agente a dibujar un diagrama animado en un solo archivo SVG para un README de GitHub, una pull request o un artículo de blog, mostrando cómo fluye un proceso.
Hindsight Memory
58 milEnseña a tu agente a guardar y consultar memoria a largo plazo en la app Hindsight, en lugar de usar sus herramientas de memoria integradas.
hindsight-memory
58 milPermite que tu agente recupere contexto pasado relevante antes de responder, guarde datos duraderos a medida que aprende y razone sobre su memoria.
hindsight-recall
58 milAyuda a tu agente a buscar en la memoria a largo plazo decisiones pasadas, contexto de proyectos y preferencias cuando preguntas por trabajo anterior.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.