К основному содержанию
скилл Claude Code CX Codex Cursor

grounded-vault — скилл для Claude Code: что делает и как установить

Организует Markdown-хранилище знаний с проверкой фактов по первоисточникам и поиском расхождений с кодом через git diff.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add wshobson/agents
/plugin install documentation-standards@claude-code-workflows
Открыть на GitHub

Что делает grounded-vault

Скилл задаёт трехслойную структуру базы знаний: папка raw/ хранит неизменяемые исходники, wiki/ содержит скомпилированные страницы, а archive/ сохраняет устаревшие документы без удаления. В корне лежат index.md как карта страниц и журнал изменений log.md. Каждая статья в заголовке фиксирует исходные файлы, хэш коммита и список отслеживаемых путей в кодовой базе.

Для каждой цифры или цитаты требуется точная ссылка на источник. Устаревание текста отслеживается командой git diff по отслеживаемым путям от зафиксированного коммита. Это занимает миллисекунды и не тратит токены модели. Для валидации используется запуск python3 scripts/check_vault.py --strict.

Ставить скилл стоит, если агенты пишут документацию по проекту и нужно проверять актуальность утверждений. Если вам нужны только очереди задач или контекст одной сессии, лучше взять другие плагины.

Какие задачи решает

  • Привязать факты и цитаты в документации к неизменяемым исходникам
  • Находить расхождения между wiki-страницами и кодом без чтения всей кодовой базы
  • Архивировать устаревшие страницы базы знаний без потери истории изменений
  • Автоматизировать проверку заземления фактов перед коммитом через Python-скрипт

Примеры запросов агенту

  • Создай страницу wiki/auth.md на основе заметки raw/notes/auth-v1.md с привязкой к коду src/auth/
  • Проверь хранилище на расхождения с кодовой базой через git diff и обнови устаревшие страницы
  • Перенеси устаревшую документацию в archive/ и зафиксируй причину в log.md

Как установить grounded-vault

1Через маркетплейс плагинов

/plugin marketplace add wshobson/agents
/plugin install documentation-standards@claude-code-workflows

Команда ставит плагин documentation-standards целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add wshobson/agents --skill grounded-vault -a claude-code

3Вручную: положить файлы

~/.claude/skills/grounded-vault/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/grounded-vault/

Из того же набора213

Весь набор →
typescript-advanced-types Seth Hobson Помогает агенту писать сложную типизацию TypeScript: generics, conditional types и преобразования типов. Нужен для библиотек, API-клиентов и строгих конфигураций. Claude Code CX Codex Cursor 92 169установок tailwind-design-system Seth Hobson Помогает строить дизайн-системы на Tailwind CSS v4. Пригодится для библиотеки компонентов или унификации интерфейса в проекте. Claude Code CX Codex Cursor 70 180установок brand-landingpage Travis D. Elliott Скилл проводит интервью о продукте и визуальном стиле, затем помогает создать лендинг через Stitch. Подойдёт, если у проекта пока нет готового дизайна. Claude Code CX Codex Cursor 39 476установок python-testing-patterns Seth Hobson Скилл помогает писать тесты Python с pytest, фикстурами и моками. Подходит для настройки тестового набора и отладки падающих проверок. Claude Code CX Codex Cursor 36 943установок python-performance-optimization Seth Hobson Скилл помогает профилировать Python-код, находить узкие места CPU и памяти. Подходит, когда приложение медленно отвечает или тратит слишком много ресурсов. Claude Code CX Codex Cursor 35 675установок nextjs-app-router-patterns Seth Hobson Помогает строить приложения на Next.js App Router: выбирать режим рендеринга, организовывать маршруты и получать данные. Подойдёт при миграции с Pages Router или работе с Server Components. Claude Code CX Codex Cursor 32 529установок api-design-principles Seth Hobson Скилл помогает проектировать и проверять REST- и GraphQL API. Пригодится при подготовке спецификации, пересмотре существующего API или согласовании стандартов команды. Claude Code CX Codex Cursor 30 348установок code-review-excellence Seth Hobson Скилл помогает разбирать pull request по этапам, находить ошибки и давать конкретную обратную связь. Подойдёт для ревью кода и настройки командных стандартов. Claude Code CX Codex Cursor 30 193установок

Похожие

marketing-skills Alireza Rezvani Каталог и роутер для маркетинговых скиллов в Claude Code. Помогает выбрать нужный скилл для SEO, контента, CRO, каналов и других задач. Claude Code 2 264установок pm-skills Alireza Rezvani Оркестрирует проектную работу через 8 PM-скиллов: Jira, Confluence, спринты, отчёты и коммуникации. Подходит для маршрутизации запросов и контроля delivery-цикла. Claude Code 1 975установок ra-qm-skills Alireza Rezvani Маршрутизирует запросы по регуляторике и управлению качеством к 15 специализированным скиллам комплекта ra-qm-team. Помогает выбрать нужный профиль при подготовке к аудитам или сертификации. Claude Code 1 653установок extract Alireza Rezvani Превращает повторяющийся приём или решение проблемы в отдельный скилл с инструкцией и примерами. Пригодится, когда вы хотите повторно использовать найденное решение в другом проекте. Claude Code 1 613установок linkedin-post-formatter официальный github Превращает черновики и технические заметки в посты для LinkedIn с жирным и курсивным Unicode-шрифтом. Помогает верстать публикации без ручного форматирования. GitHub Copilot 359установок grill-with-docs Matt Pocock Скилл проводит жёсткое интервью по плану или дизайну и по ходу создаёт ADR и глоссарий. Подойдёт перед началом сложной разработки. Claude Code 1 219 756установок skill-creator официальный anthropics Помогает создать новый скилл, доработать существующий и проверить результат через тестовые промпты и оценки. Claude Code Claude.ai 414 180установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. Claude Code 1 052 851установок

Вопросы о grounded-vault

Как установить grounded-vault в Claude Code?

В терминале выполните npx skills add wshobson/agents --skill grounded-vault -a claude-code или установите через команду /plugin install documentation-standards@claude-code-workflows.

Что делает grounded-vault?

Он учит агента вести структурированную базу знаний в Markdown по схеме raw/wiki/archive. Каждое утверждение связывается с неизменяемым файлом, а актуальность описания кода контролируется хэшами Git.

Как grounded-vault проверяет актуальность без траты токенов?

В заголовке страницы сохраняется хэш коммита и пути к файлам кода. Агент выполняет git diff между этим хэшем и HEAD только для отслеживаемых файлов, не перечитывая проект моделью.

Исходный текст

SKILL.md · MIT
---
name: grounded-vault
description: 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.
---

# 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:

```markdown
# 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:

```bash
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:

   ```markdown
   > 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:

```bash
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.

© Niksa Barlovic · MIT · wshobson/agents

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой