Agent skill

Bmad Distillator

by delorenj in delorenj/mcp-server-trello

Lossless LLM-optimized compression of source documents. An agent skill from delorenj/mcp-server-trello.

MITAuto-check passed

Install Bmad Distillator

skills CLI
$ npx skills add delorenj/mcp-server-trello --skill bmad-distillator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install delorenj/mcp-server-trello bmad-distillator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/delorenj/mcp-server-trello.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bmad-distillator .claude/skills/bmad-distillator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bmad-distillator
GitHub stars
445
Used in
5 other repos
Token cost
~2.2k tokens
SKILL.md length
927 words
Files
8 (incl. scripts)
Skills in repo
64
Repo updated
First seen
Licence
MIT

At a glance

Lossless LLM-optimized compression of source documents. An agent skill from delorenj/mcp-server-trello.

  • Works in 4 steps: Analyze → Compress → Verify & Output → …
  • The user requests to distill documents
  • SKILL.md covers Overview, On Activation and Stages
  • Runs Python scripts from its folder

What it does

Bmad Distillator is an agent skill from delorenj/mcp-server-trello. Lossless LLM-optimized compression of source documents. Use when the user requests to 'distill documents' or 'create a distillate'.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts (for example `agents/distillate-compressor.md`, `agents/round-trip-reconstructor.md` and `resources/compression-rules.md`).

The repository describes itself as: A Model Context Protocol (MCP) server that provides tools for interacting with Trello boards. The licence is MIT.

When your agent uses it

  • The user requests to distill documents
  • Create a distillate

Example prompts

  • “distill documents”
  • “create a distillate”
  • “/bmad-distillator”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Analyze
  2. Compress
  3. Verify & Output
  4. Round-Trip Validation (--validate only)

What it can do on your machine

Read from SKILL.md and the folder at commit 737292f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bmad Distillator loads about 2.2k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 927 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from delorenj/mcp-server-trello at commit 737292f, republished under its MIT licence (© delorenj). 927 words, ~2,219 tokens.

Download SKILL.mdSave it as .claude/skills/bmad-distillator/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
bmad-distillator
description
Lossless LLM-optimized compression of source documents. Use when the user requests to 'distill documents' or 'create a distillate'.

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.
  2. 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
  3. 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:

    yaml
    ---
    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:

    • 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

    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.

  4. 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.

  5. Report results. Always return structured JSON output:

    json
    {
      "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").

  6. If --validate flag was set, proceed to Stage 4. Otherwise, done.

Show full SKILL.md (315 more words)Show less
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)
  4. Produce validation report saved adjacent to the distillate as -validation-report.md:

    markdown
    ---
    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}
  5. 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.

  6. Clean up — delete the temporary reconstruction files after the report is generated.

© delorenj, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts) in .agents/skills/bmad-distillator of delorenj/mcp-server-trello.

  • SKILL.md
  • agents/distillate-compressor.md
  • agents/round-trip-reconstructor.md
  • resources/compression-rules.md
  • resources/distillate-format-reference.md
  • resources/splitting-strategy.md
  • scripts/analyze_sources.py
  • scripts/tests/test_analyze_sources.py

Open the folder on GitHubat commit 737292f

Used in 5 other repositories

We found 8 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in delorenj/mcp-server-trello, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Bmad Distillator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bmad Distillator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bmad Distillator this skilldelorenj/mcp-server-trello4455 repos~2.2kAutomated safety check: PassMIT
Compression Optimizerjeremylongshore/tons-of-skills-marketplace2.8k—~573Automated safety check: PassMIT
SQL Optimizationgithub/awesome-copilot40k2 repos~2.3kAutomated safety check: PassMIT
Compressionthedaviddias/Front-End-Checklist74k—~421Automated safety check: PassMIT
Agent Performance Optimizerruvnet/ruflo74k2 repos~3.6kAutomated safety check: PassMIT
Database Optimizerdavila7/claude-code-templates33k8 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • Compression Optimizer

    jeremylongshore/tons-of-skills-marketplace

    Optimize compression optimizer operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~573 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • SQL Optimization

    github/awesome-copilot

    Official

    Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server…

    40k GitHub starsUsed in 2 repos~2.3k tokens
    DatabasesAuto-check passed
  • Compression

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Enable text-based compression.

    74k GitHub stars~421 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Agent skill for performance-optimizer - invoke with $agent-performance-optimizer

    74k GitHub starsUsed in 2 repos~3.6k tokens
    Auto-check passed
  • Database Optimizer

    davila7/claude-code-templates

    Expert database optimizer specializing in modern performance tuning, query optimization, and scalable architectures.

    33k GitHub starsUsed in 8 repos~2.5k tokens
    DatabasesAuto-check passed
  • Prompt Optimizer

    affaan-m/ECC

    分析原始提示,识别意图和差距,匹配ECC组件(技能/命令/代理/钩子),并输出一个可直接粘贴的优化提示。仅提供咨询角色——绝不自行执行任务。触发时机:当用户说“优化提示”、“改进我的提示”、“如何编写提示”、“帮我优化这个指令”或明确要求提高提示质量时。中文等效表达同样触发:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发时机:当用户希望直接执行任…

    277k GitHub starsUsed in 2 repos~2.4k tokens
    DevelopmentAuto-check passed

More from delorenj/mcp-server-trello

All 64 skills in this repo
  • Bmad Deep Recon

    delorenj/mcp-server-trello

    Decision-grade research, three ways: draft a deep-research prompt for the user to run in their own tool (ChatGPT, Gemini, Grok, Perplexity, …), process a finished research report — file it, distill…

    445 GitHub stars~2.3k tokensUpdated 17 days ago
    Auto-check passed
  • Bmad Customize

    delorenj/mcp-server-trello

    Authors and updates customization overrides for installed BMad skills.

    445 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Openai Docs

    delorenj/mcp-server-trello

    A skill your agent uses when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help…

    445 GitHub stars~5.7k tokensUpdated 17 days ago
    Auto-check passed
  • Bmad Architecture

    delorenj/mcp-server-trello

    Produce the architecture: a lean spine of invariants that keeps everything built from it consistent, projected into whatever format the work needs.

    445 GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Bmad Brainstorming

    delorenj/mcp-server-trello

    Facilitate a brainstorming session using diverse creative techniques.

    445 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed
  • Bmad Party Mode

    delorenj/mcp-server-trello

    Orchestrates lively group discussions between installed BMAD agents or custom personas, and helps author custom parties.

    445 GitHub starsUsed in 1 repo~2.4k tokens
    Auto-check passed

Questions about Bmad Distillator

What does Bmad Distillator do?

Lossless LLM-optimized compression of source documents. An agent skill from delorenj/mcp-server-trello. Bmad Distillator is an agent skill from delorenj/mcp-server-trello. Lossless LLM-optimized compression of source documents.

When should I use Bmad Distillator?

Bmad Distillator fits situations like: the user requests to distill documents; create a distillate.

How do I install Bmad Distillator in Claude Code?

Run `npx skills add delorenj/mcp-server-trello --skill bmad-distillator -a claude-code`. Or copy the skill folder (.agents/skills/bmad-distillator in delorenj/mcp-server-trello) into .claude/skills/bmad-distillator in your project. Claude Code loads it when a task matches its description.

How do I install Bmad Distillator in Codex?

Run `npx skills add delorenj/mcp-server-trello --skill bmad-distillator -a codex`. Or copy the skill folder (.agents/skills/bmad-distillator in delorenj/mcp-server-trello) into .agents/skills/bmad-distillator in your project. Codex loads it when a task matches its description.

Can I use Bmad Distillator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add delorenj/mcp-server-trello --skill bmad-distillator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bmad-distillator, .gemini/skills/bmad-distillator, .github/skills/bmad-distillator and .opencode/skills/bmad-distillator in your project.

What does Bmad Distillator need to run?

Going by SKILL.md and its folder, Bmad Distillator needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Bmad Distillator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bmad Distillator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bmad Distillator use?

Bmad Distillator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bmad Distillator use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bmad Distillator?

Skills that share tags, products or a category with Bmad Distillator: Compression Optimizer (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), SQL Optimization (github/awesome-copilot, 40k stars), Compression (thedaviddias/Front-End-Checklist, 74k stars) and Agent Performance Optimizer (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bmad Distillator?

delorenj (a GitHub user) maintains it in delorenj/mcp-server-trello, which has 445 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on September 23, 2026.

Source: delorenj/mcp-server-trello on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.