Vault Health Batchのロゴ

Vault Health Batch

コミュニティ
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.

概要

公開者pssah4
リポジトリvault-operator
スキル名vault-health-batch
スター
262
フォーク
30
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    pssah4がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Vault Health Batch」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batch
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVault Health Batchを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVault Health Batchを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Vault Health Batchは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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)

よくある質問

AIスキル「Vault Health Batch」では何ができますか?

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

TypingMindでVault Health Batchを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Vault Health Batchはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVault Health Batchをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/pssah4/vault-operator/tree/main/bundled-skills/vault-health-batchを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Vault Health Batchを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Vault Health Batchで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVault Health Batchを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Vault Health Batch」は無料ですか?

はい。pssah4がApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇