跳到正文
Skillpedia
智能体48k · #4023

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bdistill-knowledge-extraction/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4023
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能