One-click install
npx skills add https://github.com/cassioalexandre/agf --skill bmad-distillator-cassioalexandre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-distillator
Source: https://github.com/cassioalexandre/agf/tree/main/_bmad/core/bmad-distillator
Command: npx skills add https://github.com/cassioalexandre/agf --skill bmad-distillator-cassioalexandre

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates information overload and token waste by producing a lossless, LLM-optimized distillate that preserves every fact, decision, constraint, and relationship from your source documents.

Core Features & Use Cases

  • Lossless document distillation: Converts multiple documents into a token-efficient distillate without dropping information.
  • Compression, deduplication, and verification: Applies compression rules, deduplicates overlapping facts, and can run an optional round-trip validation to check losslessness.
  • Single or semantically split outputs: Produces either one dense distillate or a split distillate folder structure for large inputs or strict token budgets.
  • Downstream-ready routing: Optionally tailors signal vs noise based on the specified downstream consumer workflow (e.g., PRD creation or architecture design).

Quick Start

Ask the agent to distill these sources into a lossless distillate with round-trip validation: provide the input paths and include the --validate flag.

Frequently Asked Questions about bmad-distillator

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

FAQPage Schema
How do I compress documents for LLM context without losing information?

Lossless document distillation compresses source files into token-efficient outputs by applying deduplication and semantic splitting while preserving every fact and relationship. Optional round-trip validation confirms no information was dropped during compression.

What is semantic splitting for LLM agent workflows?

Semantic splitting divides large distilled documents into a structured folder of outputs based on token budgets, allowing downstream agent pipelines to process specific context segments without exceeding model input limits.

Can I distill multiple files from a folder or glob pattern into one context input?

Yes, document distillation accepts folder paths and glob patterns as input, routing multiple source files through analyze-then-compress logic to produce a single dense distillate for downstream consumers.

Does round-trip validation verify lossless compression of distillates?

Round-trip validation checks losslessness by attempting to reconstruct the original source information from the compressed distillate, ensuring completeness when the --validate flag is set during processing.

Are there limitations to token-budget-driven document distillation?

While semantic splitting helps manage strict token budgets, extremely large document sets may require processing in batches, and distillation effectiveness depends on the quality of input deduplication and compression rule application.