hindsight-coding-agent
यह क्या करती है
यह स्किल समझाती है कि Hindsight सर्वर के ज़रिए कोडिंग एजेंट की लंबी-अवधि प्रोजेक्ट याददाश्त कैसे काम करती है। यह उन डेवलपर्स के लिए है जिन्हें जानना है कि यह क्या सहेजती है, कैसे सेट होती है और गड़बड़ होने पर कैसे ठीक करें।
कब इस्तेमाल करें
- ✓जब आप बाद के कोडिंग सेशन के लिए Hindsight की प्रोजेक्ट याददाश्त में कुछ सहेजना चाहते हैं।
- ✓जब आप किसी एक repository की याददाश्त सेटिंग बदलना चाहते हैं, जैसे उसे बंद करना या उसका bank नाम बदलना।
- ✓जब प्रोजेक्ट याददाश्त खराब लगे या किसी सेशन में न दिखे।
Skill का लिंक
https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं API versioning के बारे में यह फ़ैसला Hindsight में सहेजना चाहता हूँ, ताकि आगे के कोडिंग सेशन इसे याद रखें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
प्लगइन हर repository के लिए एक memory bank बनाता है और उसे commits और बातचीत से अपडेट रखता है। एजेंट सेशन के दौरान उस याददाश्त को खोज सकता है और उसमें जोड़ भी सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या याददाश्त बनाने के लिए कोई कमांड है?
नहीं। स्किल के अनुसार bank पहली बार खुलने पर खुद बनता है और background में अपडेट होता है, इसलिए कोई ingest कमांड चलाना नहीं पड़ता।
क्या सेशन की बातचीत सेव होती है?
स्किल के अनुसार सेशन की बातचीत अपने-आप bank में सेव होती है।
क्या मैं एक repository के लिए इसे बंद कर सकता हूँ?
हाँ। स्किल में per-repo याददाश्त बंद करना एक बदली जा सकने वाली सेटिंग के रूप में दिया गया है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 58k
- रैंकिंग में स्थान
- #3261
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
figure
58kयह आपके एजेंट को GitHub README, pull request या blog post के लिए एक SVG फ़ाइल में एनिमेटेड डायग्राम बनाने देती है, जो दिखाता है कि कोई प्रक्रिया कैसे आगे बढ़ती है।
Hindsight Memory
58kयह आपके एजेंट को अपने built-in memory टूल्स की जगह Hindsight ऐप में लंबे समय की याददाश्त सहेजने और खोजने की सीख देती है।
hindsight-memory
58kयह आपके एजेंट को जवाब देने से पहले पिछला ज़रूरी संदर्भ याद करने, सीखते समय टिकाऊ तथ्य सहेजने और अपनी याददाश्त पर तर्क करने देती है।
hindsight-recall
58kजब आप पिछले काम के बारे में पूछते हैं, तब यह आपके एजेंट को पिछले फ़ैसलों, प्रोजेक्ट संदर्भ और पसंद के लिए लंबी-अवधि याददाश्त खोजने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।