What problem does it solve?
Mix commands like mix test, mix credo, mix dialyzer, and mix compile emit verbose, repetitive output that floods the AI context window during long Elixir/Phoenix sessions, wasting tokens on progress noise while burying the signals that matter.
Core Features & Use Cases
- Output compression via rtk: Installs six production-tested TOML filters that short-circuit happy paths to one line (e.g., "mix test: all pass") while preserving compile errors, test failures, dialyzer warnings, and stack traces verbatim.
- Shell hook setup: Configures the rtk shell hook so
mix X transparently becomes rtk mix X, filtering output at the subprocess layer before it enters the transcript.
- Safe merging: Never overwrites an existing
.rtk/filters.toml; diffs and merges only missing filters, then verifies everything with rtk verify.
- Use Case: During a long
/phx:investigate debugging loop that retries mix compile and mix test repeatedly, this skill cuts 5-15% of per-session tokens by collapsing passing runs while keeping every failure block intact.
Quick Start
Ask the AI to set up mix output compression with rtk filters so test, credo, and dialyzer output stops flooding the context.