Aller au contenu
Skillpedia
Documentation41k · #6691

grounded-vault

Ce qu’il fait

Un système pour organiser vos notes et informations afin de toujours savoir d'où vient chaque donnée et si elle est toujours à jour par rapport à ses sources d'origine.

Quand l’utiliser

  • ✓Lorsque vous compilez des notes, des articles ou du code dans des pages de connaissances.
  • ✓Lorsqu'il est important de vérifier la source exacte de chiffres, de dates ou de citations.
  • ✓Lorsque des pages décrivent du code et que vous devez savoir rapidement s'il a changé.

Lien du skill

https://github.com/wshobson/agents/blob/main/plugins/documentation-standards/skills/grounded-vault/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/wshobson/agents/blob/main/plugins/documentation-standards/skills/grounded-vault/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Organise mes notes sur le projet X en vérifiant que chaque donnée peut être contrôlée par rapport à sa source d'origine, et que je sais si le code que j'ai décrit n'a pas changé.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Il répartit vos informations en trois parties : raw (qui ne change jamais), wiki (qui utilise les données brutes et peut être vérifié) et archive (les anciennes versions). Il utilise Git pour suivre les modifications et s'assurer que tout reste lié.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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: is Current, Outdated (monitored code moved on), or Disputed (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

  1. Ingest. Put new material in raw/ under a dated or sourced filename. Never rewrite an existing raw file; add a new one beside it.

  2. 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.

  3. 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.

  4. 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
    

…

Questions fréquentes

Que signifie « source immuable » ?

Cela signifie que l'information d'origine, une fois ajoutée, n'est jamais modifiée. Si vous devez corriger quelque chose, vous ajoutez une nouvelle version au lieu de modifier l'ancienne.

Comment savoir si une page est obsolète ?

La page compare une « empreinte » du code ou de la source d'origine, au moment de sa création, avec son état actuel. S'il y a une différence, elle est signalée comme obsolète.

Dois-je installer quelque chose de compliqué ?

Il suffit d'un dépôt Git. Le système enseigne une organisation de fichiers qui fonctionne avec les outils courants.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
41k
Position au classement
#6691
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires