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.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
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.
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
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
Komentar
- β¦
Skill lain dari repositori ini
figure
58kMembantu agent Anda menggambar diagram beranimasi sebagai satu file SVG untuk README GitHub, pull request, atau posting blog, yang menunjukkan alur sebuah proses.
Hindsight Memory
58kMengajari agent Anda menyimpan dan mencari memori jangka panjang di aplikasi Hindsight, alih-alih menggunakan alat memorinya sendiri.
hindsight-memory
58kMembantu agent Anda mengingat konteks lampau yang relevan sebelum menjawab, menyimpan fakta yang tahan lama saat mempelajarinya, dan menalar atas memorinya.
hindsight-recall
58kMembantu agent Anda mencari memori jangka panjang untuk keputusan, konteks proyek, dan preferensi lampau saat Anda bertanya tentang pekerjaan sebelumnya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.