fux-distill

Converts session decisions into durable Fux memory and ADR entries.

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/arpitarya/fux --skill fux-distill-arpitarya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fux-distill
Source: https://github.com/arpitarya/fux/tree/main/archive/v0.1/fux/data/skills/distill
Command: npx skills add https://github.com/arpitarya/fux --skill fux-distill-arpitarya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Valuable conclusions from a working session — user preferences, settled decisions, discovered rules — evaporate when the session ends. This Skill captures them as versioned, code-linked memory and adr entries in the Fux index so they remain searchable and reusable. ## Core Features & Use Cases - Decision capture: Turns durable conclusions into typed entries (memory, adr, rule) with proper frontmatter, scope, and code_refs. - Capture queue integration: Reads $FUX capture --list to seed distillation from files that changed during the session, split into uncovered and governed candidates. - Human-confirmed workflow: Proposes 1–5 candidate entries for user approval before writing, then scaffolds, links, rebuilds, and lints the index. - Use Case: After a session where the team chose avg-cost over FIFO for inventory valuation, run the distill flow to create an adr entry recording the decision, its context, and consequences, linked to the relevant code. ## Quick Start Ask the assistant to run /fux distill to review this session and propose durable memory or ADR entries for confirmation.

Frequently Asked Questions about fux-distill

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

FAQPage Schema
How do I save decisions from an AI session into a searchable knowledge base?▼

Run the distill workflow, which reviews the session, proposes 1–5 candidate memory or ADR entries, and asks for confirmation before writing. Confirmed entries are scaffolded with the Fux CLI, linked to related entries, and committed to the .fux index.

What kinds of session content should be distilled into memory entries?▼

Capture durable knowledge: stated user preferences, decisions with a rationale, and discovered rules or gotchas tied to code. Skip transient narration, debugging dead-ends, facts already in git history, and secrets or machine-specific paths.

Does fux distill write entries automatically without confirmation?▼

No. Distillation is a judgement call, so the skill always proposes candidate entries first and waits for user confirmation or trimming before scaffolding anything. Only the confirmed $FUX new calls touch disk.

What is the difference between a memory entry and an ADR entry in Fux?▼

A memory entry records observations, preferences, or feedback with Observation/Why/How to apply sections. An ADR records a decision with Decision/Context/Consequences sections. Both support scope (personal vs shared) and code_refs linking.

Why does fux lint report no-why or no-code-refs after distilling?▼

The lint checks enforce quality: a memory entry without a Why section is considered noise, and code-bound rules need real code_refs. Fix these findings after $FUX build so the new entries meet the index's durability standards.