본문으로 건너뛰기
Skillpedia
에이전트58k · #3261

hindsight-coding-agent

하는 일

이 스킬은 Hindsight 서버를 사용하는 코딩 에이전트의 장기 프로젝트 메모리가 어떻게 작동하는지 설명합니다. 메모리에 무엇이 저장되는지, 어떻게 설정하는지, 잘못 작동할 때 어떻게 고치는지 알고 싶은 개발자에게 맞습니다.

사용하는 경우

  • ✓나중의 코딩 세션을 위해 무언가를 Hindsight 프로젝트 메모리에 저장하고 싶을 때.
  • ✓한 저장소의 메모리 설정을 바꾸고 싶을 때, 예를 들어 끄거나 뱅크 이름을 바꾸는 경우.
  • ✓프로젝트 메모리가 제대로 작동하지 않거나 세션에 나타나지 않을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/vectorize-io/hindsight/blob/main/hindsight-integrations/coding-agents/skill/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“API 버전 관리에 관한 이 결정을 Hindsight에 저장해서 앞으로의 코딩 세션에서도 기억하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

플러그인은 저장소마다 메모리 뱅크를 만들고, 커밋과 대화를 바탕으로 계속 업데이트합니다. 에이전트는 세션 중에 그 메모리를 검색하거나 추가할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

자주 묻는 질문

메모리를 만드는 명령이 있나요?

아닙니다. 뱅크는 처음 열릴 때 스스로 만들어지고 백그라운드에서 업데이트되므로, 실행할 수집 명령이 없다고 스킬이 설명합니다.

세션 기록도 저장되나요?

네. 세션 기록은 자동으로 뱅크에 저장된다고 스킬이 설명합니다.

한 저장소에서만 끌 수 있나요?

네. 저장소별 메모리 비활성화가 바꿀 수 있는 설정으로 나와 있습니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬