Conductor-Beads: Command for Claude Code

.claude/skills/conductor/references/commands/distill.md

distill is a command for Claude Code from NguyenSiTrung/Conductor-Beads. It costs 0 tokens per session (1,824 once invoked), scanned A, a copy of conductor-distill, Apache-2.0.

A command that turns a completed Conductor track into a reusable template. A track is a documented piece of planned project work, and Beads is the command-line tool it requires.

In plain words
What is it for?
Use it to select a completed track, check the project and Beads setup, and extract that track as a template.
Why use it?
It prevents teams from recreating the same planning structure for similar work and stops when the required project setup is missing.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is NguyenSiTrung/Conductor-Beads's own configuration. It tells Claude Code how to work on Conductor-Beads itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Conductor-Beads configures →

Reuse

Borrowing it

Nothing to install: this file belongs to NguyenSiTrung/Conductor-Beads. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/NguyenSiTrung/Conductor-Beads/main/.claude/skills/conductor/references/commands/distill.md
Clone the repo
git clone --depth 1 https://github.com/NguyenSiTrung/Conductor-Beads

Made for: Claude Code.

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/nguyensitrung/conductor-beads/distill/github.svg)](https://agentmods.dev/commands/nguyensitrung/conductor-beads/distill)
Your own site
<a href="https://agentmods.dev/commands/nguyensitrung/conductor-beads/distill"><img src="https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/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/commands/nguyensitrung/conductor-beads/distill"><img src="https://agentmods.dev/badge/commands/nguyensitrung/conductor-beads/distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00000 $0.01824
Opus 5 $0.00000 $0.00912
Sonnet 5 $0.00000 $0.00365
Haiku 4.5 $0.00000 $0.00182

Measured 10d ago against content hash 65c366dcf733, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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.

Origin

This is a copy

88% identical to conductor-distill — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/conductor/references/commands/distill.md · 243 lines

How it starts

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

Conductor Distill

Extract reusable template from track: $ARGUMENTS


1.0 BEADS CHECK

PROTOCOL: Verify Beads is available for template extraction.

  1. Check Beads CLI: Run which bd

  2. Check Beads Initialization:

    • If .beads/ directory does NOT exist:

      "⚠️ Beads is not initialized in this project." "Run bd init first, or use /conductor-setup to set up the project."

      • HALT

2.0 TRACK SELECTION

PROTOCOL: Identify track to extract as template.

2.1 Parse Arguments

If track_id provided:

  • Validate track exists in conductor/tracks/<track_id>/
  • Load conductor/tracks/<track_id>/metadata.json

If no track_id:

  1. List Completed Tracks:

    • Read conductor/tracks.md
    • Find tracks marked [x] (completed)
  2. If completed tracks found:

    "Select a completed track to extract as template:"

    # Track ID Description
    1 <id> <description>

    "Enter track number or ID:"

  3. If no completed tracks:

    "⚠️ No completed tracks found." "Complete a track using /conductor-implement first, then extract it as a template."

    • HALT

2.2 Validate Track

  1. Check Track Status:

    • If track is NOT marked [x] in conductor/tracks.md:

      "⚠️ Track '<track_id>' is not completed." "Current status: <status>"

      "Would you like to:" A) Extract anyway (may have incomplete patterns) B) Complete the track first with /conductor-implement

      • If B: HALT
  2. Check Beads Epic:

    • Read conductor/tracks/<track_id>/metadata.json
    • Extract beads_epic ID
    • If no Beads epic linked:

      "⚠️ This track has no Beads integration." "Templates are extracted from Beads epics."

      • HALT

3.0 TEMPLATE EXTRACTION

Read the full file on GitHub · 243 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. 10d ago First seen · 243 lines · 0 tokens per session scan A 65c366dcf733

Subscribe to this mod's changes

distill is a command published in the GitHub repository NguyenSiTrung/Conductor-Beads (24 stars, last pushed 6mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,824 tokens. A static security scan graded it A with 0 findings. It is 88% identical to conductor-distill, differing in 10 lines, and is treated as a copy.