vault-system

vault-system is a skill for Claude Code from mycelium-hq/ai-brain-starter. It costs 112 tokens per session (1,287 once invoked), scanned A, original, MIT.

A maintenance system for a markdown knowledge vault, including its knowledge graph, metadata, indexes, drift checks, and hygiene.

In plain words
What is it for?
It helps build or rebuild a knowledge graph, diagnose vault problems, detect drift, extract rules, backfill journals, and consolidate memory.
Why use it?
It keeps the vault’s underlying structure queryable and auditable as files and rules change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the ai-brain-starter plugin — 38 skills, 17 commands, 3 agents, 1 hook shipped together

Good fit It helps build or rebuild a knowledge graph, diagnose vault problems, detect drift, extract rules, backfill journals, and consolidate memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mycelium-hq/ai-brain-starter/vault-system
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mycelium-hq/ai-brain-starter --skill vault-system
Clone the repo
git clone --depth 1 https://github.com/mycelium-hq/ai-brain-starter

Made for: Claude Code.

Or install ai-brain-starter, the plugin that ships this one along with the rest of its 38 skills, 17 commands, 3 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vault-system

README.md
[![agentmods](https://agentmods.dev/badge/skills/mycelium-hq/ai-brain-starter/vault-system/github.svg)](https://agentmods.dev/skills/mycelium-hq/ai-brain-starter/vault-system)
Your own site
<a href="https://agentmods.dev/skills/mycelium-hq/ai-brain-starter/vault-system"><img src="https://agentmods.dev/badge/skills/mycelium-hq/ai-brain-starter/vault-system/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vault-system

Your own site · 80×15
<a href="https://agentmods.dev/skills/mycelium-hq/ai-brain-starter/vault-system"><img src="https://agentmods.dev/badge/skills/mycelium-hq/ai-brain-starter/vault-system.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,287 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.01287
Opus 5.5 $0.00045 $0.00515
Sonnet 5.5 $0.00022 $0.00257
Haiku 4.5 $0.00011 $0.00129

Measured 2mo ago against content hash 4dbd1894cfb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vault-system scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/vault-system/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vault system

Routes vault meta-maintenance — the vault AS a system (its markdown corpus, knowledge graph, drift monitors, rule extraction, substrate sync). Not the content; the substrate that makes the content queryable and auditable.

Distinct from:

  • Querying the vault to answer a question (use the knowledge-graph query tools)
  • Bringing external data INTO the vault (use the ingest skills)
  • Daily journal + coaching + pattern detection (those operate inside the substrate)

This is the SUBSTRATE layer. It maintains what every other skill uses.

Step 1. Identify the maintenance moment

Trigger Skill / tool
Knowledge graph stale or never built for a corpus graphify
Existing graph query (find concept / path / cluster) your graph-query tool, or Obsidian graph view
Typed-file metadata extraction (books, meetings, people, articles, goals) second-brain-mapping
Vault self-check (CLAUDE.md / Meta folder / skills / hooks / MCPs / journal index) diagnose
Files edited many times in a short window (drift hotspot) a drift-detection pass → a Drift Audit note
Recurring corruption pattern needs codification codify it into a new rule file in your rules dir
Journals missing body / frontmatter context backfill-journal-body-context
Vault types not yet set up (new vault or refresh) setup-vault-types
Memory index getting long (truncation cliff) consolidate-memory
Obsidian Bases / JSON Canvas / Markdown / CLI work the matching obsidian:* skill

If unclear → ask ONE question. Don't guess.

Step 2. Pre-flight

  1. Vault location: resolve the vault root (a VAULT_PATH / VAULT_ROOT env var, or the current directory).
  2. Graph state: check whether a graph report exists and how fresh it is before answering graph questions.
  3. Drift state: check the latest drift-audit output.
  4. Rules state: list the rules directory.
  5. Memory state: check the memory index length (keep it under the truncation cliff).
  6. Git in a large vault: NEVER git add -A / . / unscoped git status on a big vault — full-tree walks are slow and lock-contending. Use explicit paths.

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 97 lines · 112 tokens per session scan A 4dbd1894cfb1

Subscribe to this mod's changes

vault-system is a skill published in the GitHub repository mycelium-hq/ai-brain-starter (50 stars, last pushed yesterday), licensed MIT. It adds 112 tokens to every session and 1,287 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

vault-system compared with skills from other repositories

vault-system next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vault-systemmycelium-hq/ai-brain-starterSkill50yesterdayMITA112Claude Code
Promotewrg32786/aigent-osSkill24yesterdayMITA68Claude Code, Codex
openwrg32786/aigent-osSkill24yesterdayMITA16Claude Code, Codex
capsule-compactwrg32786/aigent-osSkill24yesterdayMITA42Claude Code
nightlywrg32786/aigent-osSkill24yesterdayMITA46Claude Code
closewrg32786/aigent-osSkill24yesterdayMITA15Claude Code
dreamwrg32786/aigent-osSkill24yesterdayMITA25Claude Code