vault-sync
Detect and repair drift between an OKF knowledge vault and the code it describes. Use after merging significant changes (schema, interfaces, workflows, agent config), when a staleness review is due, or when the user asks to sync, refresh, or update the knowledge vault.
Install / Use
npx skills add bybren-llc/safe-agentic-workflow --skill vault-syncInstalls into whichever agent you are using.
Gemini Rules
Gemini CLI config
Quality Score
Category
AutomationSupported Platforms
Our assessment of vault-sync
vault-sync scores 69/100 on our quality scale, 2639th of 2,852 Automation skills we index.
Its Gemini Rules is 5.5 KB long, well organised into 14 sections with 3 code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- Our last check on 2026-09-22 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 78/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-23. Automated pattern scan on 2026-09-23. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
vault-sync compared with similar skills
All 4 of these similar skills score higher than vault-sync; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| vault-sync (this skill)by bybren-llc | 69 | 0 | 3mo ago | Gemini Rules |
| Agent-Reachby Panniantong | 100 | 107.2k | 6d ago | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 90.7k | today | MCP Server |
| rufloby ruvnet | 100 | 80.4k | today | MCP Server |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 137.2k | 16d ago | SKILL.md |
Frequently asked questions
- How do I install vault-sync?
- Run
npx skills add bybren-llc/safe-agentic-workflow. The install tabs above show the steps for each supported agent. - Which AI agents does vault-sync work with?
- It is written for Gemini CLI, as a Gemini Rules file. Other agents that read the same format can often use it too.
- Is vault-sync safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 78/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is vault-sync still maintained?
- The repository was last updated about 3 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHubname: vault-sync description: Detect and repair drift between an OKF knowledge vault and the code it describes. Use after merging significant changes (schema, interfaces, workflows, agent config), when a staleness review is due, or when the user asks to sync, refresh, or update the knowledge vault.
Vault Sync Skill
📋 TEMPLATE: This skill uses
{{TICKET_PREFIX}}and{{MAIN_BRANCH}}as placeholders, and assumes a vault created fromknowledge-vault/templates/starter-bundle.
Purpose
Keep an OKF knowledge vault honest as the code evolves. The vault is a map of the system; this skill detects drift between map and territory, regenerates only the affected concepts, and records the sync.
When This Skill Applies
Invoke this skill when:
- A significant change merged — schema, public interfaces, CI workflows, agent or skill config
- A staleness review is due (the
stale-conceptsBase is the queue) - The user asks to sync, refresh, or update the knowledge vault
- A concept is suspected of being wrong
Key Files
| Path | Role |
| --- | --- |
| <vault>/_meta/vault-config.json | Machine-readable constitution — types, tags, frontmatter contract |
| <vault>/_meta/CONVENTIONS.md | The human-readable rules |
| <vault>/_meta/manifest.json | ID registry, reverse index, and baseline_sha drift watermark |
| <vault>/_meta/templates/ | Per-type skeletons |
| <vault>/log.md | Dated changelog |
| knowledge-vault/scripts/validate-vault.mjs | The gate |
Procedure
Gemini CLI has no native vault tooling. Steps 1, 4 and 5 are shell commands you run directly; steps 2 and 3 are authoring work.
1. Detect drift
Read the baseline and diff it to HEAD across the watch-list — the source paths your concepts claim to describe. Configure this list for your project; the example below is illustrative.
BASELINE=$(node -e "console.log(require('./<vault>/_meta/manifest.json').baseline_sha)")
git diff --name-only "$BASELINE"..HEAD -- \
'src/**' 'lib/**' 'config/**' '.github/workflows/**' 'docs/**'
A concept is stale if and only if a changed path matches its resource or an entry in its
sources. Check the manifest first (it is the reverse index); grep concept frontmatter as backup.
This is file-level truth. Do not substitute a time-based heuristic — "older than N days" flags everything and teaches people to ignore the flag.
2. Detect inventory changes
Re-enumerate your source globs and diff against the manifest.
- New source, no concept → create one. Add the manifest entry first, so the ID exists in the registry before anything links to it.
- Deleted source → set the concept's
status: deprecated. Do not delete the file. Inbound links must be cleaned first, in a follow-up change; the backlinks pane or the validator's orphan report shows them.
3. Regenerate
For a handful of concepts, update inline. For larger sets, fan out generation agents batched by area. Every generation prompt must carry exactly four things:
- The type template from
_meta/templates/ - A golden example — a real, already-accepted concept of the same type
- The hard rules from
_meta/CONVENTIONS.md, inline - The manifest ID registry — links may target only IDs listed there
Every touched concept gets timestamp: = today and verified_against: = the current short SHA.
Re-derive facts from the source files. Never patch prose without re-reading the code it describes. Editing a concept to match a changed interface without opening the file is how a vault becomes fiction.
4. Validate
node knowledge-vault/scripts/validate-vault.mjs --vault <vault>
Must exit 0. Markdown lint must pass. Neither is optional.
5. Record
Prepend a dated entry to log.md: what changed, why (ticket), and the source SHA. Then bump
baseline_sha and generated in the manifest.
Ship on a {{TICKET_PREFIX}}-XXX-vault-sync-<topic> branch with a docs(vault): … commit to
{{MAIN_BRANCH}}. The pull request should name the code changes that triggered the sync.
Invariants (do not relax)
- Concept-to-concept links never leave the bundle; out-of-bundle links only under
## Citations - Relative markdown links only — no wikilinks, no leading-slash paths, no repo-host URLs for repo files
- Link only to IDs in the manifest. If a concept does not exist, name it in prose and report it as a suggestion — never invent a link
- One concept per file; H2 sections exactly match the type template, in order
- Stub types cite their source-of-truth doc; they never restate it
- A citation is not re-verification. Only re-deriving a concept from source bumps its
timestampandverified_against
Anti-Patterns (Do NOT use)
Bumping timestamps on a docs-only pass (that is laundering, not verification)
Deleting a concept when its source dies (deprecate; clean inbound links first)
Regenerating the whole vault on drift (regenerate only what the diff implicates)
Patching prose without reading the code (the one habit that makes a vault untrustworthy)
Skipping the validator because "it is just docs" (drift is invisible without the gate)
Authoritative References
knowledge-vault/docs/GUIDE.md-- the method and why each rule existsknowledge-vault/docs/ADOPTION-PLAYBOOK.md-- running your first buildknowledge-vault/docs/BUILD-PROMPT.md-- the multi-agent build prompt
Routes To
safe-workflow— branch, commit, and PR conventionslinear-sop— recording the sync against a ticketpattern-discovery— find existing concepts before writing new ones
Related Skills
Agent-Reach
107.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Scrapling
90.7k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
ruflo
80.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
ui-ux-pro-max
137.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
