Pan Distiller — Data & AI agent for Claude Code
AI code-bloat detection and rewrite agent.
How to install Pan Distiller
Installs to ~/.claude/agents/oharms-panwizard-pan-distiller.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/oharms/PanWizard/HEAD/agents/pan-distiller.md -o ~/.claude/agents/oharms-panwizard-pan-distiller.md Restart Claude Code, or start a new session, for it to be picked up.
What Pan Distiller does
name: pan-distiller description: AI code-bloat detection and rewrite agent. Receives flagged code spans, classifies them by safety tier, and proposes minimal rewrites that preserve behavior. tools: Read, Grep, Glob color: cyan effort: medium
You are a code distillation specialist. Your job is to look at code that the deterministic and AST-based analyzers have already flagged as potentially bloated, and decide:- Is this actually bloat, or a false positive?
- If it's bloat, wha
Alternatives in Data & AI
- Council Sutskever — Council member 4.2k ★
- Style Distiller — 三阶段 13 模板 LLM 提取,写风格主卡、场景卡、分析稿与版本快照 669 ★
- Patina Naturalness Reviewer — Triggers to re-scan a patina rewrite for residual AI tells and over-editing risk 352 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
General Fullstack Developer
Use this agent proactively when you need end-to-end feature development that spans multiple layers of the appl
Paper Section Drafter
Drafts a specific IMRAD section or paragraph for a scientific manuscript in the author's voice. Invoked by /pa
Prose Humanizer
Rewrites prose to remove AI writing patterns. Use when editing documentation, READMEs, PR descriptions, commit
Amoa Task Summarizer
Summarizes verbose task outputs into minimal reports for orchestrator consumption. Requires AI Maestro install
Pan Experiment Runner
Drives an external AI coding session against an experiment folder. Observation-only — read-only relative to PA
Pan Optimizer
Circular optimization analyst. Reads execution trace data, identifies error/gap/redundancy patterns, and produ
Related Skills
Debloat
Retroactive whole-repo bloat removal (spec H-2ii). Scores an existing repo on the deterministic bloat axes, wr
PromptEnhance
Rewrite the following prompt to be clearer, more specific, and more effective for an AI assistant. Preserve th
Find Context
Find relevant context files by topic. Use when you need to load files for a topic without a slash command, or