distill

distill is a command for coding agents from thatsuperdev/distill-prompts. It costs 16 tokens per session (2,500 once invoked), scanned A, original, MIT.

A command that rewrites vague or messy requests into clearer instructions for an AI assistant. It keeps the original intent and adds structure only when useful.

In plain words
What is it for?
Use it before asking for a bug fix, migration, explanation, or design review. It can be invoked manually or configured to process every request, with a way to skip it for a single request.
Why use it?
It reduces misunderstandings caused by incomplete or ambiguous requests. Clearer instructions can help the assistant reach the intended result with fewer exchanges.

Command

Part of the distill plugin — 1 command shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/thatsuperdev/distill-prompts/distill
Clone the repo
git clone --depth 1 https://github.com/thatsuperdev/distill-prompts

Or install distill, the plugin that ships this one along with the rest of its 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for distill

README.md
[![agentmods](https://agentmods.dev/badge/commands/thatsuperdev/distill-prompts/distill.svg)](https://agentmods.dev/commands/thatsuperdev/distill-prompts/distill)
Your own site
<a href="https://agentmods.dev/commands/thatsuperdev/distill-prompts/distill"><img src="https://agentmods.dev/badge/commands/thatsuperdev/distill-prompts/distill.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.02500
Opus 5 $0.00008 $0.01250
Sonnet 5 $0.00003 $0.00500
Haiku 4.5 $0.00002 $0.00250

Measured 5d ago against content hash 18a6a8aa6760, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

distill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/distill/commands/distill.md · 527 lines

How it starts

The opening of the file, as written. The whole thing — 527 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Distill

A universal AI skill that turns vague, messy, or under-specified user requests into clearer, more useful instructions before solving them.

Distill does not exist to make prompts longer. It exists to preserve the user's intent, reduce ambiguity, add structure only when useful, and help the underlying AI produce a better result with less waste.

Use it with:

/distill fix this bug
@distill help me migrate this project
distill this: review my API design
Use Distill before answering: explain why this test fails

Invocation modes

Distill supports two invocation modes. The behavior — modes, profiles, restraint rules — is identical in both.

Explicit mode (default)

Triggered manually with /distill, @distill, or distill this:. Does nothing on other requests.

Always-on mode

Applied automatically to every request. When a request is already clear, Distill passes through without rewriting. When the input is noisy, vague, or complex, it distills first.

To skip Distill on a single request in always-on mode, prefix with --raw:

--raw just tell me what this function returns

To disable always-on globally, remove the always-on snippet from your CLAUDE.md or equivalent config file.

See the README for setup instructions per platform.


Core instruction

When Distill is invoked, do not immediately solve the user's request.

First, transform the request into the most useful execution form for the current AI model, task type, and available context.

Then proceed using the distilled version unless the user explicitly asks to only produce the distilled request.

Distill must behave like a careful editor, not a prompt bloat generator.


Prime directive

Preserve the user's intent.

Improve only what helps the AI understand, plan, execute, verify, or explain the task better.

Do not add requirements the user did not ask for or clearly imply.

Do not overcomplicate simple requests.

Read the full file on GitHub · 527 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 527 lines · 16 tokens per session scan A 18a6a8aa6760

Subscribe to this mod's changes

distill is a command published in the GitHub repository thatsuperdev/distill-prompts (1 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 2,500 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.