Logo van Vault Health Batch

Vault Health Batch

Community
pssah4
vault-health-batch

Autonomous batch mode for Vault Health findings. Works through orphans, missing backlinks, and tags in batches without asking on every fix.

Overzicht

Uitgeverpssah4
Repositoryvault-operator
Skillnaamvault-health-batch
Sterren
262
Forks
30
Meegeleverde bestanden
Alleen instructies
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door pssah4 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Vault Health Batch in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batch
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pssah4/vault-operator.git /tmp/vault-operator
mkdir -p .claude/skills
cp -r /tmp/vault-operator/bundled-skills/vault-health-batch .claude/skills/vault-health-batch
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Vault Health Batch in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Vault Health Batch automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Vault Health Batch niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Vault Health Batch Mode

You work through Vault Health findings AUTONOMOUSLY in batches. Ask the user ONLY at real decision points, NOT on every single fix. All changes are reversible via the undo bar (checkpoints are created automatically).

Phase 1: TRIAGE

  1. Call vault_health_check
  2. Read the findings and group them by type
  3. Give the user a short overview (3-5 lines):
    Vault Health: X findings
    - N orphaned notes (M of them with context)
    - N missing backlinks
    - N broken links
    - N inconsistent tags
    - N weak clusters
    
    I will start with the mechanical fixes (backlinks, tags).
    For broken links and isolated orphans I will ask you.
  4. Start Phase 2 IMMEDIATELY -- do NOT wait for confirmation

Phase 2: BATCH FIX

Work through the types in this order.

2a: Missing backlinks + orphans with context (ONE TOOL CALL)

These are mechanical fixes: entities that are referenced but do not link back.

Steps:

  1. Call vault_health_check with action: "fix_backlinks"
  2. The tool fixes ALL missing backlinks in one batch (pure code, 0 LLM cost)
  3. Show the user the result: "X entities updated, Y backlinks added"

NO read_file, NO update_frontmatter, NO sub-agent. ONE tool call does everything.

2c: Inconsistent tags (AUTONOMOUS)

Tags that differ only in upper/lower case.

Steps:

  1. Pick the more frequent variant
  2. Change all occurrences of the rarer variant via update_frontmatter
  3. NO questions

2d: Broken links (USER DECISION)

Links that point to notes that do not exist.

Steps:

  1. Show ALL broken links together (not one by one)
  2. STOP -- ask the user:
    N broken links found:
    - [[Note A]] (referenced by 3 notes)
    - [[Note B]] (referenced by 1 note)
    
    Options:
    a) Create stub notes (with basic content)
    b) Remove the links
    c) Decide one by one
    d) Skip
  3. Continue only after the answer

2e: Orphaned notes WITHOUT context (USER DECISION)

Completely isolated notes without any MOC links.

Steps:

  1. Show the first 10 isolated notes
  2. STOP -- ask the user:
    N isolated notes (no MOC properties, no incoming links):
    - Note A
    - Note B
    - ...
    
    Should I use semantic_search to find and suggest matching topics?
    Or should these notes be ignored?
  3. If yes: for each note run semantic_search, suggest a topic, update_frontmatter

2f: Weak clusters (TOP 5 ONLY)

Semantically similar notes without explicit links.

Steps:

  1. Only the top 5 pairs (highest similarity)
  2. Read both notes with read_file
  3. Suggest to the user: "Should I link [[A]] and [[B]]?"
  4. Wait for confirmation

Phase 3: REFRESH + WRAP-UP

After all fixes: call vault_health_check with refresh: true. This re-extracts the graph and rebuilds the ontology so the findings reflect the current vault state (not the stale state from before the fixes).

Then give a compact summary:

Vault Health batch finished:
- X missing backlinks fixed
- Y orphan backlinks added
- Z tags unified
- N broken links: [status]
- M isolated orphans: [status]
- Findings remaining after refresh: N

All changes are reversible via the undo bar (top of the chat).

Token efficiency rules (follow STRICTLY)

  1. NO read_file for orphans when the finding data already provides the context
  2. NO semantic_search for notes that already have MOC links
  3. Work in batches of 10 fixes of the same kind
  4. After 20 iterations: give a summary and ask "Continue?"
  5. IGNORE the fix rules in the vault_health_check output -- follow THESE rules

Autonomy rules (follow STRICTLY)

AUTONOMOUS (NO questions):

  • Backlink entries (missing backlinks, orphans with context)
  • Tag unification

WITH USER DECISION (ALWAYS ask):

  • Broken links (create vs. remove)
  • Orphans without context (classify vs. ignore)
  • Weak clusters (link yes or no)
  • Creating new entities (topics, concepts)

Veelgestelde vragen

Wat doet de AI-skill Vault Health Batch?

Autonomous batch mode for Vault Health findings. Works through orphans, missing backlinks, and tags in batches without asking on every fix.

Waarom Vault Health Batch gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Vault Health Batch bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Vault Health Batch in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batch. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Vault Health Batch gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Vault Health Batch gebruiken?

Zoveel als je wilt. Je kunt Vault Health Batch gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Vault Health Batch gratis?

Ja. Deze skill is door pssah4 op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇