grounded-vault
Skill này làm gì
Một hệ thống giúp sắp xếp ghi chú và thông tin để bạn luôn biết mỗi dữ liệu đến từ đâu và còn cập nhật so với nguồn gốc của nó hay không.
Khi nào nên dùng
- ✓Khi bạn tổng hợp ghi chú, bài báo hoặc code thành các trang kiến thức.
- ✓Khi cần xác minh chính xác nguồn của các con số, ngày tháng hoặc trích dẫn.
- ✓Khi các trang mô tả code và bạn cần biết nhanh code đó đã thay đổi chưa.
Liên kết skill
https://github.com/wshobson/agents/blob/main/plugins/documentation-standards/skills/grounded-vault/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Sắp xếp các ghi chú của tôi về dự án X, đảm bảo mọi dữ liệu có thể được kiểm chứng với nguồn gốc của nó và tôi biết code tôi đã mô tả có còn giống không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Hệ thống chia thông tin thành ba phần: raw (không bao giờ thay đổi), wiki (dùng dữ liệu raw và có thể kiểm chứng) và archive (các phiên bản cũ). Nó dùng Git để theo dõi thay đổi và đảm bảo mọi thứ được liên kết với nhau.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Grounded Vault
A grounded vault is a three-layer Markdown store in which every compiled claim can be traced
back to an immutable source and every page can be checked for staleness with one git diff.
It needs a git repository and nothing else. The convention comes from the llm-wiki-loop
project, which is a reference implementation rather than a dependency; this skill teaches the
pattern so it works with plain files and whatever agent is in the session.
When to Use
- An agent compiles notes, papers, transcripts, logs, or code into wiki pages that later sessions rely on.
- A page cites numbers, dates, or quotes, and a reader must be able to verify each one against its source.
- Pages describe code, and rereading the codebase every session to check whether they still hold is too expensive.
- Knowledge must be corrected without losing history: superseded pages are archived, never deleted.
Session state, task queues, and conversation continuity are a different problem; use the context-management or conductor plugins for those. This skill is about provenance and drift on a durable knowledge store.
The three layers
| Layer | Contents | Who writes it | Rule |
|---|---|---|---|
raw/ |
source material: notes, papers, transcripts, logs, exported data | people and ingestion only | immutable once added; agents never edit a raw file |
wiki/ |
compiled pages built from raw/ and from code |
agents and people | every number, date, and quote links to its source |
archive/ |
pages that drifted or were superseded | agents, during garbage collection | moved, never deleted; the header says why |
Two files sit at the vault root. index.md is the map of every current page. log.md is an
append-only record of what changed and why. Both change in the same commit as the page they
describe.
Page header contract
Every wiki/ page opens with a header block:
# Authentication architecture
> Raw: [raw/notes/auth-v1.md](../raw/notes/auth-v1.md), [raw/adr/0007-jwt.md](../raw/adr/0007-jwt.md)
> Fingerprint: git:5b237fa
> Monitored: src/auth/jwt.ts, src/auth/session.ts, package.json
> Status: Current
Raw:lists every source the page was compiled from. Inline claims link to their specific source as well:Tokens expire after 15 minutes ([raw/adr/0007-jwt.md](../raw/adr/0007-jwt.md)).Fingerprint:is the short commit hash the page was compiled against.Monitored:lists the code paths the page describes. A change to any of them after the fingerprint means the page may be stale.Status:isCurrent,Outdated(monitored code moved on), orDisputed(a newer source contradicts the page).
Grounding rule
A compiled page states only what a source supports, and every number, date, or quotation appears verbatim in the linked source. A synthesis says it is one and links its inputs. A gap in the sources is written into the page as a gap rather than filled by guessing.
Check it mechanically: for each linked claim, search the linked raw file for the exact figure
or quoted phrase. A miss is a grounding error and blocks the commit. The script in
references/details.md does this for a whole vault.
Drift detection
Compare the fingerprint with the current tree instead of rereading monitored code:
git diff --stat 5b237fa..HEAD -- src/auth/jwt.ts src/auth/session.ts package.json
Empty output means the page still describes the code it was compiled against. Any output means recompile: reread only the changed files, update the page, and stamp the new fingerprint. The check runs in milliseconds and spends no model tokens.
Workflow
Ingest. Put new material in
raw/under a dated or sourced filename. Never rewrite an existing raw file; add a new one beside it.Compile. Write or update the
wiki/page with the header block, a source link on every claim, and the fingerprint of the commit the code was read at.Check. Run the grounding check and the drift check before committing. Fix misses at the source; do not weaken a claim to make the check pass.
Garbage collect. When drift or a contradicting source appears and the page is not recompiled now, change its status, move it to
archive/, and record the reason:> Status: Outdated > Reason: src/auth/session.ts changed after git:5b237fa; see log.md 2026-09-01
…
Câu hỏi thường gặp
“Immutable source” nghĩa là gì?
Nghĩa là thông tin gốc, khi đã được thêm vào, sẽ không bao giờ bị thay đổi. Nếu cần sửa điều gì, bạn thêm một phiên bản mới thay vì sửa phiên bản cũ.
Làm sao để biết một trang đã lỗi thời?
Trang so sánh một “dấu vân tay” của code hoặc nguồn gốc tại thời điểm tạo trang với trạng thái hiện tại. Nếu có khác biệt, trang sẽ được đánh dấu là lỗi thời.
Tôi có cần cài đặt thứ gì phức tạp không?
Chỉ cần một kho Git. Hệ thống dạy một mẫu tổ chức file hoạt động với các công cụ phổ biến.
Chi tiết
Mô tả gốc của tác giả
Use when maintaining a durable Markdown knowledge store that agents compile from sources, when every number or quote in a wiki page must trace back to an immutable source, or when compiled pages need cheap drift detection against the code they describe. Teaches the raw/wiki/archive layout, per-claim provenance links, and git fingerprints for zero-token staleness checks.
repo: wshobson/agents
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6691
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
screen-reader-testing
41kGiúp agent của bạn kiểm thử website bằng trình đọc màn hình để đảm bảo chúng có thể truy cập được.
wcag-audit-patterns
41kGiúp agent của bạn kiểm toán website về khả năng truy cập và sửa các vấn đề theo hướng dẫn WCAG.
multi-reviewer-patterns
41kCho phép agent của bạn điều phối các đợt rà soát mã song song, loại bỏ phát hiện trùng lặp và tổng hợp báo cáo.
parallel-debugging
41kCho phép agent gỡ lỗi các vấn đề phức tạp bằng cách điều tra song song và phân tích nguyên nhân gốc.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.