Generated banner for Grounded Vault
Generated logo for Grounded Vault

Grounded Vault

Seth HobsonCommunityCreated by Niksa BarlovicDistributed by Seth Hobson

  • Skill
  • Guidelines
  • Documents and content
  • MIT
  • No issues found

From the author

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.
— the description by Niksa Barlovic

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

Grounded Vault is a documentation pattern that organizes information into three layers: raw source material, compiled wiki pages, and an archive for superseded content. It ensures that every claim, number, or quote in a wiki page is linked to an immutable source file. By using git fingerprints, the system allows for efficient checks to determine if a page has become stale due to changes in the underlying code or source material, without requiring a full re-read of the documentation.

What it does

  • Defines a three-layer directory structure for raw sources, wiki pages, and archived content.
  • Establishes a header contract for wiki pages to track source links, git fingerprints, and monitoring status.
  • Provides a mechanism to link every claim, number, or quote to its specific raw source file.
  • Enables drift detection by comparing git fingerprints against monitored code paths.
  • Supports an append-only log and index for tracking changes to the knowledge store.
  • Includes a script for validating grounding and detecting stale pages.

When to use it

  • When you need to maintain a knowledge base where every claim must be verifiable against source material.
  • When documentation describes code and needs to detect if that code has changed.
  • When you want to preserve history by archiving outdated pages rather than deleting them.
  • When you need a lightweight way to check for documentation staleness using git.

Advantages

  • Ensures documentation remains grounded in verifiable source data.
  • Allows for rapid staleness checks using existing git infrastructure.
  • Maintains a clear audit trail of knowledge evolution through an index and log.
  • Prevents the loss of information by archiving instead of deleting superseded content.

Usage examples

“How do I verify that my documentation is still accurate after a code change?”
The agent uses the git fingerprint in the page header to run a git diff against the monitored files, identifying if any changes occurred since the last compilation.
“How should I structure a new page that cites a technical specification?”
The agent creates a Markdown file with a header block containing the raw source link, the current git fingerprint, and the monitored code paths, ensuring all claims link back to the source.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/wshobson/grounded-vault/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip grounded-vault.zip -d .agents/skills

Documentation by Niksa Barlovic

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

LayerContentsWho writes itRule
raw/source material: notes, papers, transcripts, logs, exported datapeople and ingestion onlyimmutable once added; agents never edit a raw file
wiki/compiled pages built from raw/ and from codeagents and peopleevery number, date, and quote links to its source
archive/pages that drifted or were supersededagents, during garbage collectionmoved, 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
  5. Update the map. Every add, move, or archive updates index.md and appends one line to log.md in the same commit.

Commit gate

Run both checks from a pre-commit hook or a CI step so a page cannot land with an unverifiable number or a stale fingerprint:

python3 scripts/check_vault.py --strict   # exits 1 on any grounding miss or drifted page

Going deeper

references/details.md covers: the vault check script, batching the drift check across pages, templates for index.md and log.md, renamed or deleted monitored files, sources that are binary or live at external URLs, and the reference implementation.

Files

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs a command-line tool, Needs Python

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Niksa Barlovic
Publisher
Seth Hobson (Community)
Distributed by
Seth Hobson
Source
wshobson/agents · plugins/documentation-standards/skills/grounded-vault · commit 4bde316
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Niksa Barlovic or Seth Hobson.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download grounded-vault.zip