Zum Inhalt springen
Skillpedia
Agenten58k · #3261

hindsight-coding-agent

Was er macht

Diese Fähigkeit erklärt, wie das langfristige Projektgedächtnis eines Coding-Agenten mit einem Hindsight-Server funktioniert. Sie ist für Entwickler gedacht, die wissen möchten, was das Gedächtnis speichert, wie es eingerichtet ist und wie sie Fehlverhalten beheben.

Wann du ihn nutzt

  • ✓Wenn du etwas im Projektgedächtnis von Hindsight für spätere Coding-Sitzungen speichern möchtest.
  • ✓Wenn du die Gedächtniseinstellungen für ein einzelnes Repository ändern möchtest, etwa es abschalten oder seine Bank umbenennen.
  • ✓Wenn das Projektgedächtnis fehlerhaft wirkt oder in einer Sitzung nicht erscheint.

Link zum Skill

https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich möchte diese Entscheidung zu unserer API-Versionierung in Hindsight speichern, damit sich künftige Coding-Sitzungen daran erinnern.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Plugin baut für jedes Repository eine Gedächtnisbank auf und hält sie durch Commits und Gespräche aktuell. Der Agent kann dieses Gedächtnis während einer Sitzung durchsuchen und ergänzen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

<!-- GENERATED from README.md (its skill:begin regions) + skill-src/preamble.md. Edit those, then run: npm run skill:build -->

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. autoInject switches the source: pages (knowledge page search hits), recall (recalled observations), or none (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_initiative again with relates_to_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.

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

Häufige Fragen

Gibt es einen Befehl, um das Gedächtnis aufzubauen?

Nein. Die Fähigkeit sagt, dass sich die Bank beim ersten Öffnen selbst aufbaut und im Hintergrund aktualisiert, es gibt also keinen Ingest-Befehl.

Werden Sitzungsprotokolle gespeichert?

Die Fähigkeit sagt, dass Sitzungsprotokolle automatisch in der Bank gespeichert werden.

Kann ich es für ein einzelnes Repository abschalten?

Ja. Die Fähigkeit führt das Deaktivieren des Gedächtnisses pro Repository als Einstellung auf, die du ändern kannst.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
58k
Platz im Ranking
#3261
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills