Langsung ke konten
Skillpedia
Agen58k Β· #3261

hindsight-coding-agent

Fungsinya

Skill ini menjelaskan cara memori proyek jangka panjang agent pengodean bekerja, dengan menggunakan server Hindsight. Skill ini ditujukan untuk pengembang yang ingin tahu apa yang disimpan memori itu, cara mengaturnya, dan cara memperbaikinya saat bermasalah.

Kapan dipakai

  • βœ“Saat Anda ingin menyimpan sesuatu ke memori proyek di Hindsight untuk sesi pengodean berikutnya.
  • βœ“Saat Anda ingin mengubah pengaturan memori untuk satu repositori, seperti mematikannya atau mengganti nama banknya.
  • βœ“Saat memori proyek tampaknya rusak atau tidak muncul dalam sesi.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œSaya ingin menyimpan keputusan tentang versi API kami ini ke Hindsight agar sesi pengodean berikutnya mengingatnya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Plugin membuat bank memori untuk setiap repositori dan menjaganya tetap diperbarui dari commit dan percakapan. Agent dapat mencari memori itu dan menambahkannya selama sesi.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

Pertanyaan umum

Apakah ada perintah untuk membangun memori?

Tidak. Skill menyatakan bank membangun dirinya sendiri saat pertama kali dibuka dan diperbarui di latar belakang, sehingga tidak ada perintah ingest yang perlu dijalankan.

Apakah transkrip sesi disimpan?

Skill menyatakan transkrip sesi disimpan ke dalam bank secara otomatis.

Bisakah saya mematikannya untuk satu repositori?

Bisa. Skill mencantumkan penonaktifan memori per repo sebagai pengaturan yang dapat Anda ubah.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
58k
Peringkat
#3261
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa