Token导航 LogoToken导航

Agent Skill · 开发

bmad-distillator(bmad 蒸馏器)

bmad-distillator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

bmad-distillator 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 8,933。

总安装 2,938周安装 120GitHub Stars 45,921下载 941核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bmad-distillator(bmad 蒸馏器)
来源仓库:https://github.com/bmad-code-org/bmad-method
仓库路径:skills/bmad-distillator
安装命令:
npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distillator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distillator

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

bmad-distillator 对任意文档集进行高密度压缩,保留全部事实与关系。专为 LLM 工作流设计,去除人类冗余信息,提升 token 效率。输出单一致密文档,确保下游流程无信息损失地消费上下文。区别于摘要,强调事实完整性而非文字精简。安装前需准备源文档集合,明确压缩目标与保留要素清单。

来源仓库内路径:skills/bmad-distillator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

bmad-distillator 怎么安装?

在终端执行 npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distillator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

bmad-distillator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

bmad-distillator 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distillator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

bmad-distillator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

bmad-distillator 用的人多吗?

公开数据是累计安装 2,938 次,近一周安装 120 次,下载 941 次,GitHub 45,921 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

bmad-distillator 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 45,921 星,维护活跃度相对可查。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
bmad-distillator

bmad 蒸馏器 · 本页

2,93845,921执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Distillator: A Document Distillation Engine

Overview

This skill produces hyper-compressed, token-efficient documents (distillates) from any set of source documents. A distillate preserves every fact, decision, constraint, and relationship from the sources while stripping all overhead that humans need and LLMs don't. Act as an information extraction and compression specialist. The output is a single dense document (or semantically-split set) that a downstream LLM workflow can consume as sole context input without information loss.

This is a compression task, not a summarization task. Summaries are lossy. Distillates are lossless compression optimized for LLM consumption.

On Activation

  1. Validate inputs. The caller must provide:

- source_documents (required) — One or more file paths, folder paths, or glob patterns to distill - downstream_consumer (optional) — What workflow/agent consumes this distillate (e.g., "PRD creation", "architecture design"). When provided, use it to judge signal vs noise. When omitted, preserve everything. - token_budget (optional) — Approximate target size. When provided and the distillate would exceed it, trigger semantic splitting. - output_path (optional) — Where to save. When omitted, save adjacent to the primary source document with -distillate.md suffix. - --validate (flag) — Run round-trip reconstruction test after producing the distillate.

  1. Route — proceed to Stage 1.

Stages

#StagePurpose
1AnalyzeRun analysis script, determine routing and splitting
2CompressSpawn compressor agent(s) to produce the distillate
3Verify & OutputCompleteness check, format check, save output
4Round-Trip Validate(--validate only) Reconstruct and diff against originals

Stage 1: Analyze

Run scripts/analyze_sources.py --help then run it with the source paths. Use its routing recommendation and grouping output to drive Stage 2. Do NOT read the source documents yourself.

Stage 2: Compress

Single mode (routing = "single", ≤3 files, ≤15K estimated tokens):

Spawn one subagent using agents/distillate-compressor.md with all source file paths.

Fan-out mode (routing = "fan-out"):

  1. Spawn one compressor subagent per group from the analysis output. Each compressor receives only its group's file paths and produces an intermediate distillate.
  2. After all compressors return, spawn one final merge compressor subagent using agents/distillate-compressor.md. Pass it the intermediate distillate contents as its input (not the original files). Its job is cross-group deduplication, thematic regrouping, and final compression.
  3. Clean up intermediate distillate content (it exists only in memory, not saved to disk).

Graceful degradation: If subagent spawning is unavailable, read the source documents and perform the compression work directly using the same instructions from agents/distillate-compressor.md. For fan-out, process groups sequentially then merge.

The compressor returns a structured JSON result containing the distillate content, source headings, named entities, and token estimate.

Stage 3: Verify & Output

After the compressor (or merge compressor) returns:

  1. Completeness check. Using the headings and named entities list returned by the compressor, verify each appears in the distillate content. If gaps are found, send them back to the compressor for a targeted fix pass — not a full recompression. Limit to 2 fix passes maximum.
  2. Format check. Verify the output follows distillate format rules:

- No prose paragraphs (only bullets) - No decorative formatting - No repeated information - Each bullet is self-contained - Themes are clearly delineated with ## headings

  1. Determine output format. Using the split prediction from Stage 1 and actual distillate size: Single distillate (≤~5,000 tokens or token_budget not exceeded): Save as a single file with frontmatter: --- type: bmad-distillate sources: - "{relative path to source file 1}" - "{relative path to source file 2}" downstream_consumer: "{consumer or 'general'}" created: "{date}" token_estimate: {approximate token count} parts: 1 --- Split distillate (>~5,000 tokens, or token_budget requires it): Create a folder {base-name}-distillate/ containing: {base-name}-distillate/ ├── _index.md # Orientation, cross-cutting items, section manifest ├── 01-{topic-slug}.md # Self-contained section ├── 02-{topic-slug}.md └── 03-{topic-slug}.md The _index.md contains: Each section file is self-contained — loadable independently. Include a 1-line context header: "This section covers [topic]. Part N of M." Source paths in frontmatter must be relative to the distillate's location.

- Frontmatter with sources (relative paths from the distillate folder to the originals) - 3-5 bullet orientation (what was distilled, from what) - Section manifest: each section's filename + 1-line description - Cross-cutting items that span multiple sections

  1. Measure distillate. Run scripts/analyze_sources.py on the final distillate file(s) to get accurate token counts for the output. Use the total_estimated_tokens from this analysis as distillate_total_tokens.
  2. Report results. Always return structured JSON output: {"status": "complete", "distillate": "{path or folder path}", "section_distillates": ["{path1}", "{path2}"] or null, "source_total_tokens": N, "distillate_total_tokens": N, "compression_ratio": "X:1", "source_documents": ["{path1}", "{path2}"], "completeness_check": "pass" or "pass_with_additions"} Where source_total_tokens is from the Stage 1 analysis and distillate_total_tokens is from step 4. The compression_ratio is source_total_tokens / distillate_total_tokens formatted as "X:1" (e.g., "3.2:1").
  3. If --validate flag was set, proceed to Stage 4. Otherwise, done.

Stage 4: Round-Trip Validation (--validate only)

This stage proves the distillate is lossless by reconstructing source documents from the distillate alone. Use for critical documents where information loss is unacceptable, or as a quality gate for high-stakes downstream workflows. Not for routine use — it adds significant token cost.

  1. Spawn the reconstructor agent using agents/round-trip-reconstructor.md. Pass it ONLY the distillate file path (or _index.md path for split distillates) — it must NOT have access to the original source documents. For split distillates, spawn one reconstructor per section in parallel. Each receives its section file plus the _index.md for cross-cutting context. Graceful degradation: If subagent spawning is unavailable, this stage cannot be performed by the main agent (it has already seen the originals). Report that round-trip validation requires subagent support and skip.
  2. Receive reconstructions. The reconstructor returns reconstruction file paths saved adjacent to the distillate.
  3. Perform semantic diff. Read both the original source documents and the reconstructions. For each section of the original, assess:

- Is the core information present in the reconstruction? - Are specific details preserved (numbers, names, decisions)? - Are relationships and rationale intact? - Did the reconstruction add anything not in the original? (indicates hallucination filling gaps)

  1. Produce validation report saved adjacent to the distillate as -validation-report.md: --- type: distillate-validation distillate: "{distillate path}" sources: ["{source paths}"] created: "{date}" --- ## Validation Summary - Status: PASS | PASS_WITH_WARNINGS | FAIL - Information preserved: {percentage estimate} - Gaps found: {count} - Hallucinations detected: {count} ## Gaps (information in originals but missing from reconstruction) - {gap description} — Source: {which original}, Section: {where} ## Hallucinations (information in reconstruction not traceable to originals) - {hallucination description} — appears to fill gap in: {section} ## Possible Gap Markers (flagged by reconstructor) - {marker description}
  2. If gaps are found, offer to run a targeted fix pass on the distillate — adding the missing information without full recompression. Limit to 2 fix passes maximum.
  3. Clean up — delete the temporary reconstruction files after the report is generated.

平台分布

Codex

38.95%
按下载量换算367

Claude

30.65%
按下载量换算288

Cursor

17.76%
按下载量换算167

Gemini CLI

8.88%
按下载量换算84

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/bmad-code-org/bmad-method --skill bmad-distillator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills