vault-system
Skill50 starsChanged 7 months agoMITView on GitHub
Use when maintaining the vault ITSELF as a system, not its content: knowledge-graph build/rebuild/query (graphify), second-brain mapping, vault diagnose/audit/hygiene, drift detection, extract rules from vault, backfill journals, setup vault types, consolidate memory (index over cap), Obsidian tooling (CLI/Bases/Markdown/JSON Canvas), vault bloat or Obsidian slow. Answering questions FROM the graph, use graph-query tools; daily journal/coaching/pattern detection, use those skills.
In this repository39 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- setup-brainSkill
- backfill-journal-body-contextSkill
- cierre-de-llamadaSkill
- coachingSkill
- coachSkill
- daily-journalSkill
- deconstructSkill
- diagnoseSkill
- doubt-driven-developmentSkill
- evolveSkill
- for-my-teamSkill
- graphifySkill
- health-contextSkill
- health-doctorSkill
- health-setupSkill
- ingest-githubSkill
- ingest-healthSkill
- ingest-youtubeSkill
- insightsSkill
- instinct-exportSkill
- instinct-importSkill
- interview-meSkill
- longitudinalSkill
- meeting-todosSkill
- nano-bananaSkill
- note-todosSkill
- optimize-brainSkill
- patternsSkill
- repurpose-talkSkill
- resolver-querySkill
- riseSkill
- second-brain-mappingSkill
- secret-warnSkill
- security-snapshotSkill
- setup-vault-typesSkill
- skillify-meta-loopSkill
- sunday-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 37
If unclear → ask ONE question.
- Distinctive: line 42
Graph state: check whether a graph report exists and how fresh it is before answering graph questions.
- Distinctive: line 43
Drift state: check the latest drift-audit output.
- Distinctive: line 45
Memory state: check the memory index length (keep it under the truncation cliff).
- Very specific: line 46
Git in a large vault: NEVER git add -A / . / unscoped git status on a big vault — full-tree walks are slow and lock-contending.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Vault location: resolve the vault root (a
VAULT_PATH/VAULT_ROOTenv var, or the current directory). - Graph state: check whether a graph report exists and how fresh it is before answering graph questions.
- Drift state: check the latest drift-audit output.
- Rules state: list the rules directory.
- Memory state: check the memory index length (keep it under the truncation cliff).
- Git in a large vault: NEVER
git add -A/./ unscopedgit statuson a big vault — full-tree walks are slow and lock-contending. Use explicit paths.
Step 3. Route by work-type
Knowledge graph
- Build a new graph from a corpus (code / docs / papers / images) →
graphify - Query an existing graph (search nodes / neighbors / path) → your graph-query tool
- Coverage audit (which corpus chunks were processed) → graphify's coverage audit
Second-brain mapping
- Extract structured metadata from every typed file →
second-brain-mapping - Apply wikilinks from detected entities →
second-brain-mapping(wikilink phase) - Cross-type insights (patterns no single file shows) →
second-brain-mapping(insights phase)
Diagnostics + drift
- Vault self-check →
diagnose - Drift detection (files edited many times in 30d) → a drift-detection pass → a Drift Audit note
Rule extraction + memory
- Extract recurring patterns into a CLAUDE.md rule / rules file → codify manually into a new rule file
- Consolidate memory files (merge duplicates, prune the index) →
consolidate-memory
Journal hygiene
- Backfill journal body / frontmatter context →
backfill-journal-body-context - Tag / taxonomy consistency check → manual against your canonical tag list
Vault setup + onboarding
- Setup vault types (frontmatter taxonomy) →
setup-vault-types - Setup the substrate on a new vault → the bootstrap flow
Obsidian tooling
- CLI (backlinks, search, unresolved, orphans, properties) →
obsidian:obsidian-cli - Bases queries (typed views) →
obsidian:obsidian-bases - JSON Canvas creation / edit →
obsidian:json-canvas - Markdown specifics (callouts, wikilinks, embeds) →
obsidian:obsidian-markdown
Step 4. Post-flight (gates "done")
- Graph rebuilt + report regenerated if graphify ran.
- Memory index under the truncation cliff post-consolidation.
- Drift hotspots resolved if the Drift Audit surfaced any.
- New rules indexed in the rules directory.
- Vault committed with explicit paths (never raw
git add -Ain a large vault).
Common mistakes
git add -Ain a large vault. Long walks + lock contention. Use explicit paths.- Editing aggregator outputs directly (e.g. a "Last Session" or "Decision Log" roll-up). Edit the per-entry source files; let the aggregator rebuild.
- Hand-editing symlinked skill copies. Edit the source repo + re-sync.
- Re-reading the memory index when it is already in context.
- Routing daily journal / coaching / pattern detection here. Those are their own skills; this umbrella maintains the substrate, not the content.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

