bmad-distillator

Extract and compress source documents into dense distillates with Python 3.10.

15|2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/lorenzogm/bmad-ui --skill bmad-distillator-lorenzogm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-distillator
Source: https://github.com/lorenzogm/bmad-ui/tree/main/.cursor/skills/bmad-distillator
Command: npx skills add https://github.com/lorenzogm/bmad-ui --skill bmad-distillator-lorenzogm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python>=3.10, scripts/analyze_sources.py, scripts/distillate-compressor.py, scripts/round-trip-reconstructor.py, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation of highly compressed, yet fully informative documents (distillates) from source documents, preserving all necessary information while removing redundancy.

Core Features & Use Cases

  • Document Distillation: Extracts and compresses information from source documents, producing a single, dense document.
  • Customization: Allows for specifying the target document size, downstream consumer, and output location.
  • Validation: Includes a round-trip validation option to ensure information is preserved accurately.

Quick Start

To distill a document, use the 'bmad-distillator' skill with the source file path: 'distill document --source path/to/source.docx'.

Frequently Asked Questions about bmad-distillator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compress source documents into a token-efficient summary for LLMs?

Document distillation is the process of extracting and compressing information from source documents into a single, dense output. It is needed when you require lossless document compression to optimize information synthesis for LLMs.

Can I specify the target size and downstream consumer when distilling a document?

Yes, document distillation allows you to specify the target document size, the downstream consumer, and the output location. This ensures the compressed distillate fits your specific token requirements and synthesis workflow.

How do I validate that lossless compression preserved all source information?

You can validate lossless compression using the built-in round-trip validation option. This feature reconstructs the original information from the distillate to ensure that no critical information was lost during the compression process.

Do I need Python 3.10 to run document distillation scripts?

Yes, Python 3.10 or higher is required to run the custom document distillation scripts. The environment uses specific Python scripts for source analysis, compression, and round-trip validation.

What is the best way to automate lossless document compression from source files?

The best way to automate lossless document compression is by executing the distill command with your source file path. This triggers the custom scripts to analyze, compress, and produce a dense distillate automatically.