grounded-vault
ما الذي تفعله
نظام ينظم ملاحظاتك ومعلوماتك، بحيث تعرف دائمًا من أين جاءت كل بيانة، وما إذا كانت لا تزال محدّثة مقارنة بمصادرها الأصلية.
متى تستخدمها
- ✓عندما تجمع ملاحظات أو أوراقًا أو شيفرة في صفحات معرفية.
- ✓عندما يكون من المهم التحقق من المصدر الدقيق للأرقام أو التواريخ أو الاقتباسات.
- ✓عندما تصف الصفحات شيفرة وتحتاج إلى معرفة ما إذا تغيّرت بسرعة.
رابط المهارة
https://github.com/wshobson/agents/blob/main/plugins/documentation-standards/skills/grounded-vault/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“نظّم ملاحظاتي عن المشروع X، بحيث يمكن التحقق من كل بيانة بمصدرها الأصلي، وأعرف إن كانت الشيفرة التي وصفتها لا تزال كما هي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفصل النظام معلوماتك إلى ثلاثة أجزاء: الخام (raw) الذي لا يتغير أبدًا، والويكي (wiki) الذي يستخدم البيانات الخام ويمكن التحقق منه، والأرشيف (archive) للنسخ القديمة. ويستخدم Git لتتبع التغييرات وضمان ترابط كل شيء.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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
…
الأسئلة الشائعة
ماذا يعني «immutable source»؟
يعني أن المعلومات الأصلية، بمجرد إضافتها، لا تتغير أبدًا. وإذا احتجت إلى تصحيح شيء، تضيف نسخة جديدة بدلًا من تعديل القديمة.
كيف أعرف أن صفحة ما قديمة؟
تقارن الصفحة «بصمة» الشيفرة أو المصدر الأصلي وقت إنشائها مع حالته الحالية. وإذا وُجد اختلاف، تُعلَّم الصفحة بأنها قديمة.
هل أحتاج إلى تثبيت شيء معقد؟
يكفي مستودع Git فقط. فالنظام يعلّم نمطًا لتنظيم الملفات يعمل مع الأدوات الشائعة.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #6691
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
screen-reader-testing
41kيجعل وكيلك يختبر مواقع الويب باستخدام قارئات الشاشة للتأكد من أنها سهلة الوصول.
wcag-audit-patterns
41kيساعد وكيلك على تدقيق مواقع الويب من حيث إمكانية الوصول، وإصلاح المشكلات وفق إرشادات WCAG.
multi-reviewer-patterns
41kيمكّن وكيلك من تنسيق مراجعات الشيفرة المتوازية، مع إزالة التكرار في الملاحظات ودمج التقارير.
parallel-debugging
41kيتيح للوكيل تصحيح الأخطاء المعقدة عبر تحقيقات متوازية وتحليل السبب الجذري.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.