Logo di 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.

Panoramica

Pubblicato dapssah4
Repositoryvault-operator
Nome della skillvault-health-batch
Stelle
262
Fork
30
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da pssah4 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Vault Health Batch in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batch
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Vault Health Batch in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Vault Health Batch non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Vault Health Batch non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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)

Domande frequenti

Cosa fa la skill IA Vault Health Batch?

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

Perché usare Vault Health Batch su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Vault Health Batch è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Vault Health Batch in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batch. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Vault Health Batch?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Vault Health Batch?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Vault Health Batch: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Vault Health Batch è gratuita?

Sì. È pubblicata su GitHub da pssah4 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇