distill

distill is a skill for Claude Code, Codex from sssstwee/tastedistill. It costs 74 tokens per session (2,657 once invoked), scanned B, original, MIT.

A workflow for turning completed work, mistakes, corrections, and evidence into reusable guidance for future agent tasks.

In plain words
What is it for?
Use it after meaningful work to classify lessons, improve agent behavior, and update the narrowest appropriate guidance source.
Why use it?
It prevents useful lessons from being lost and helps decide which guidance belongs in a durable skill, rule, or memory.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also reads ~/.codex or $CODEX_HOME. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the tasted plugin — 6 skills, 1 MCP server shipped together

Good fit Use it after meaningful work to classify lessons, improve agent behavior, and update the narrowest appropriate guidance source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sssstwee/tastedistill/distill
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.

Any agent
npx skills add sssstwee/tastedistill --skill distill
Clone the repo
git clone --depth 1 https://github.com/sssstwee/tastedistill

Made for: Claude Code, Codex.

Or install tasted, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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/skills/sssstwee/tastedistill/distill/github.svg)](https://agentmods.dev/skills/sssstwee/tastedistill/distill)
Your own site
<a href="https://agentmods.dev/skills/sssstwee/tastedistill/distill"><img src="https://agentmods.dev/badge/skills/sssstwee/tastedistill/distill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for distill

Your own site · 80×15
<a href="https://agentmods.dev/skills/sssstwee/tastedistill/distill"><img src="https://agentmods.dev/badge/skills/sssstwee/tastedistill/distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00074 $0.02657
Opus 5 $0.00037 $0.01328
Sonnet 5 $0.00015 $0.00531
Haiku 4.5 $0.00007 $0.00266

Measured 8d ago against content hash b1adc13627c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

distill scanned grade B with 1 finding 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 8d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- `$HOME/.codex/config.toml` without copying secrets or volatile machine state
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/tastedistill-claude/claude-skills/distill/SKILL.md · 175 lines

How it starts

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

Distill: Improve The Next Run

Use this skill after meaningful work has produced a lesson.

Prefix your first response line with ⚗️ inline, not as its own paragraph.

Before the workflow, apply ../../shared-rules/host-compatibility.md, ../../shared-rules/portable-profile.md, and ../../shared-rules/personalization.md for explicit TasteD/TasteDistill invocations. If this skill is already running the Local Personalization Bootstrap, use those shared rules only as host-safety, idempotence, and destination policy. Apply ../../shared-rules/runtime-hygiene.md when distillation reads logs, creates generated evidence, invokes helper scripts, or runs browser/runtime checks. Apply ../../shared-rules/memory-protocol.md when the request involves cross-agent memory, host memory refresh, profile sync, or memory health checks.

Outcome Contract

  • Outcome: current work improves future agent behavior through reusable guidance with scope, trigger, evidence, and destination.
  • Done when: each lesson is classified as update now, keep candidate, or discard, and the chosen destination is the narrowest useful one.
  • Evidence: user corrections, failed attempts, verified fixes, tests, command output, diffs, logs, delivery results, and stable project conventions.

Taste Distillation Loop

work -> evidence -> lesson -> durable rule -> better next run

Distillation is not a transcript summary. It turns repeated, verified behavior into future execution guidance. A lesson should explain when the agent should behave differently next time, what evidence supports the rule, and where the rule belongs.

Local Personalization Bootstrap

Use this mode when the user asks to initialize these skills from their existing Codex or compatible agent memory, conversation history, logs, or prior task outcomes.

Do not assume those sources are already loaded. Installing a skill does not automatically import a user's historical conversations or memories. Explicitly invoking the TasteD/TasteDistill plugin or any tasted-* skill should perform a one-time bootstrap check through ../../shared-rules/personalization.md. If no local TasteDistill profile exists, run this bootstrap before continuing with the requested skill.

Read the full file on GitHub · 175 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. 8d ago First seen · 175 lines · 74 tokens per session scan B b1adc13627c4

Subscribe to this mod's changes

distill is a skill published in the GitHub repository sssstwee/tastedistill (2 stars, last pushed 3mo ago), licensed MIT. It adds 74 tokens to every session and 2,657 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

hivemind-memory

Global team and org memory powered by Activeloop. ALWAYS check BOTH built-in memory AND Hivemind memory when recalling information.

activeloopai/hivemind · 33 tokens

memory-audit-pattern-extraction

A method for investigating repeated mistakes by comparing related memories and checking whether an earlier reminder failed. It looks at where the reminder was stored, when it was created, and whether it was strong enough to prevent the mistake.

Dataojitori/nocturne_memory · 48 tokens

init

Install or update OwnMem in the current repository. Use when the user asks to set up OwnMem, add local project memory for coding agents, or refresh an existing OwnMem installation after a version bump.

grpcer/ownmem · 43 tokens

mnemo-cortex

Installs and wires Mnemo Cortex (local-first persistent memory) into OpenClaw and other MCP-capable agents. Use for cross-session recall, decision history, or multi-agent shared memory.

GuyMannDude/mnemo-cortex · 44 tokens