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
- Style Distiller — 三阶段 13 模板 LLM 提取,写风格主卡、场景卡、分析稿与版本快照 669 ★
- Patina Naturalness Reviewer — Triggers to re-scan a patina rewrite for residual AI tells and over-editing risk 352 ★
- General Fullstack Developer — Use this agent proactively when you need end-to-end feature development that spans multiple layers of the appl 248 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Data Quality Engineer
Adds schema, freshness, volume, idempotency, and PII-handling checks to a data pipeline before it ships. Cover
Prose Humanizer
Rewrites prose to remove AI writing patterns. Use when editing documentation, READMEs, PR descriptions, commit
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
Jev Analyst
Deep read-only analyst for Jev-routed subtasks. Investigates and explains behavior that spans many files (end-
Design Copy Editor
Stage 3c of the world-class-design process. Treats every AI-written line in a design as placeholder and rewrit
Related Skills
Plain And Precise
A Claude skill that rewrites expert health and policy writing for non-expert readers without letting the claim
Debloat
Retroactive whole-repo bloat removal (spec H-2ii). Scores an existing repo on the deterministic bloat axes, wr
Recon Dispute Agent
AI agentic workflow (Claude + tool-calling) that consumes reconciliation discrepancies, investigates each case