bmad-distillator

Distill documents losslessly into a token-efficient distillate preserving facts, decisions, constraints, and relationships.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Wizarck/iguanatrader --skill bmad-distillator-wizarck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-distillator
Source: https://github.com/Wizarck/iguanatrader/tree/main/skills/bmad-distillator
Command: npx skills add https://github.com/Wizarck/iguanatrader --skill bmad-distillator-wizarck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Distillator solves the challenge of converting multiple source documents into a single, lossless distillate that preserves every fact, decision, constraint, and relationship while removing prose overhead and redundancy.

Core Features & Use Cases

  • Lossless compression of source documents into a token-efficient distillate suitable for downstream LLM workflows.
  • Handles single or multiple sources (files, folders, or glob patterns) and preserves all critical metadata.
  • Supports optional routing, splitting, and validation steps, enabling targeted use cases like PRD creation, architecture design, and research briefs.

Quick Start

Run the distillator on your source documents to generate a single, lossless distillate suitable as the sole context for downstream workloads.

Frequently Asked Questions about bmad-distillator

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

FAQPage Schema
How do I compress multiple documents into a single context for LLM workflows?

Document distillation compresses multiple source files into a single token-efficient distillate. This process removes prose overhead and redundancy while preserving every fact, decision, constraint, and relationship for downstream LLM consumption.

What is lossless document distillation and how does it preserve information?

Lossless document distillation analyzes and compresses sources into a token-efficient format. It ensures every critical metadata, fact, and relationship is preserved through a stage-wise process of analysis, compression, and verification.

Can I process multiple files and folders for token extraction using glob patterns?

Yes, you can process mixed-source scenarios including single files, folders, or glob patterns. The distillation routine validates these inputs and optionally routes and splits the output based on your specified token budget.

How do I set a token budget for document compression in LLM workflows?

You can set a token budget using the optional token_budget parameter. This drives the splitting and validation stages, ensuring the final lossless distillate fits within your downstream LLM context constraints.

Does the distillation process verify that no information was lost during compression?

Yes, the process includes a verification stage and an optional round-trip validation step. This ensures the generated distillate losslessly preserves every fact and constraint from the original source documents.