bdistill-knowledge-extraction
できること
このツールは、AIモデルから重要な情報を抽出し、使いやすい形式に整理します。AIとの会話を、後から検索や利用ができるナレッジベースに変換します。
使う場面
- ✓医療や金融など、特定のテーマについて整理されたデータが必要なとき。
- ✓質問と回答のリストや、リサーチ用の資料を作成したいとき。
- ✓異なるAIモデルの知識を比較したいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bdistill-knowledge-extraction/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“イタリア料理に関する情報を抽出し、料理の種類ごとに整理してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まず、学びたいテーマをツールに伝えます。ツールはAIに質問を投げかけ、回答を整理して、品質スコアを付けます。その後、この情報を検索したりエクスポートしたりできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Knowledge Extraction
Extract structured, quality-scored domain knowledge from any AI model — in-session from closed models (no API key) or locally from open-source models via Ollama.
Overview
bdistill turns your AI subscription sessions into a compounding knowledge base. The agent answers targeted domain questions, bdistill structures and quality-scores the responses, and the output accumulates into a searchable, exportable reference dataset.
Adversarial mode challenges the agent's claims — forcing evidence, corrections, and acknowledged limitations — producing model-generated candidates for independent source review; adversarial self-correction is not external validation.
When to Use This Skill
- Use when you need structured reference data on any domain (medical, legal, finance, cybersecurity)
- Use when building lookup tables, Q&A datasets, or research corpora
- Use when generating training data for traditional ML models (regression, classification — NOT competing LLMs)
- Use when you want cross-model comparison on domain knowledge
How It Works
Step 1: Install
pip install bdistill
claude mcp add bdistill -- bdistill-mcp # Claude Code
Step 2: Extract knowledge in-session
/distill medical cardiology # Preset domain
/distill --custom kubernetes docker helm # Custom terms
/distill --adversarial medical # With adversarial validation
Step 3: Search, export, compound
bdistill kb list # Show all domains
bdistill kb search "atrial fibrillation" # Keyword search
bdistill kb export -d medical -f csv # Export as spreadsheet
bdistill kb export -d medical -f markdown # Readable knowledge document
Output Format
Structured reference JSONL — not training data:
{
"question": "What causes myocardial infarction?",
"answer": "Myocardial infarction results from acute coronary artery occlusion...",
"domain": "medical",
"category": "cardiology",
"tags": ["mechanistic", "evidence-based"],
"quality_score": 0.73,
"confidence": 0.73,
"validated": false,
"source_model": "<actual host model recorded at run time>"
}
The numeric scores are illustrative, uncalibrated metadata; independent source verification is absent in this example.
Tabular ML Data Generation
Generate structured training data for traditional ML models:
/schema sepsis | hr:float, bp:float, temp:float, wbc:float | risk:category[low,moderate,high,critical]
Exports as CSV ready for pandas/sklearn. Each row tracks source_model for cross-model analysis.
Local Model Extraction (Ollama)
For open-source models running locally:
# Install Ollama from https://ollama.com
ollama serve
ollama pull qwen3:4b
bdistill extract --domain medical --model qwen3:4b
Security & Safety Notes
- In-session extraction uses your existing subscription — no additional API keys
- Local extraction runs entirely on your machine via Ollama
- In-session extraction uses the host provider and its data policy; it is not offline. A genuinely local Ollama endpoint keeps inference local, but downloading models/installing packages uses the network. Verify endpoints and approved data processing before use
- Output is reference data, not LLM training format
Related Skills
@bdistill-behavioral-xray- X-ray a model's behavioral patterns
Limitations
- Generated medical, legal, financial or security content needs dated independent authoritative evidence and domain review; quality_score/confidence are not clinical/legal accuracy or calibrated probabilities. Do not put personal records into generated corpora or use synthetic labels as real patient outcomes.
- Installing MCP or downloading models is separate from extraction; use a reviewed environment and respect host/configuration authorization.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問
APIキーは必要ですか?
いいえ、このツールにAPIキーは必要ありません。現在お使いのサブスクリプションやローカルのモデルを利用します。
抽出された情報は信頼できますか?
ツールは品質スコアを表示しますが、医療や金融などの機微な分野の情報は、専門家による検証が必要です。
これを使って別のAIを学習させることはできますか?
いいえ。出力形式はナレッジベースや、他の種類の機械学習用データを作成するためのものであり、別のAIを学習させるためのものではありません。
詳細
作者による元の説明
Extract structured domain knowledge from AI models in-session or from local open-source models via Ollama. No API key needed.
人気
- GitHubのスター
- 48k
- ランキング
- #4023
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。