skillfed

mix-compression

Mix Output Compression installs rtk filters that intercept mix test, credo, dialyzer, and compile output before it enters your transcript. The filters collapse successful runs to single lines while keeping all failures, errors, and stack traces intact, typically saving 5-15% of tokens per session.

Mix Output Compression reduces context use by filtering verbose mix output through rtk before it reaches Claude.

AI-generated summary based on this skill's SKILL.md

507 35 MIT updated by oliver-kriska

Install

oliver-kriska/claude-elixir-phoenix/mix-compression · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/oliver-kriska/claude-elixir-phoenix
cp -r claude-elixir-phoenix/plugins/elixir-phoenix/skills/mix-compression ~/.claude/skills/mix-compression

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does mix-compression reduce mix test output noise?

Mix Output Compression installs rtk filters that intercept mix test output before it enters your transcript. The filters collapse successful test runs to single lines while preserving all failures, errors, and stack traces, typically saving 5-15% of tokens per session on mix-heavy debugging workflows.

What mix commands does mix-compression filter?

Mix Output Compression filters mix test, credo, dialyzer, and compile commands. Each filter preserves critical errors and failures while compressing verbose successful runs, helping you stay within context limits without losing diagnostic information.

Can mix-compression compress mix dialyzer output too long?

Yes. Mix Output Compression includes an rtk filter for dialyzer that compresses warning output while keeping all errors and stack traces intact. This reduces context bloat from verbose dialyzer warnings without sacrificing diagnostic detail.

How much token savings can mix-compression achieve?

Mix Output Compression typically achieves 5-15% token savings on mix-heavy debugging workflows by collapsing successful test, compile, and analysis runs to single lines while preserving all failures and errors that require your attention.

What license does mix-compression use?

Mix Output Compression is released under the MIT license, allowing free use, modification, and distribution in both open-source and commercial projects.

How do I install rtk filters for mix test and other commands?

Mix Output Compression handles rtk filter installation and configuration for you. Once installed, the filters automatically intercept mix test, credo, dialyzer, and compile output, collapsing successful runs while preserving errors and stack traces.

SKILL.md

rendered from the published skill — quoted content, verbatim

Mix Output Compression

Mix commands (mix test, mix credo, mix dialyzer, mix compile) emit verbose, repetitive output that consumes context fast. This skill installs rtk — a CLI proxy that filters tool output before it lands in the transcript.

The filters short-circuit happy paths to a single line (mix test: all pass) while preserving full failure blocks, compile errors, and stack traces. Net win: 5-15% per-session token reduction on mix-heavy workflows.

When to use

  • Long sessions/phx:work or /phx:full hitting context limits from mix output
  • Debugging loops/phx:investigate retrying mix compile/mix test repeatedly
  • Dialyzer-heavy projectsmix dialyzer output dominates the transcript

Iron Laws

  1. NEVER strip critical signals — compile errors (** (CompileError), == Compilation error in), test failures (FAILURES, 0 failures

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 3 files
plugins/elixir-phoenix/skills/mix-compression/SKILL.md
plugins/elixir-phoenix/skills/mix-compression/references/install.md
plugins/elixir-phoenix/skills/mix-compression/references/rtk-filters.toml

Related skills

Tags

output-filtering token-optimization context-management cli-proxy noise-reduction elixir-tooling transcript-efficiency workflow-optimization