What problem does it solve?
Mix commands like mix test, mix credo, and mix dialyzer emit verbose, repetitive output that floods the AI conversation transcript and consumes context tokens fast. This Skill installs rtk, a CLI proxy that filters mix output at the subprocess layer before it lands in the transcript, reducing token usage by 5-15% on mix-heavy workflows.
Core Features & Use Cases
- Bundled filter set: Ships six production-tested TOML filters covering
mix test, mix credo, mix dialyzer, mix deps.get, mix ecto.migrate, and mix compile, plus Ash codegen and migrate variants.
- Signal preservation: Short-circuits happy paths to one-liners (e.g., "mix test: all pass") while preserving compile errors, test failures, dialyzer warnings, and stack traces with file:line references.
- Verification workflow: Runs
rtk verify against embedded test fixtures to confirm filters work, and merges rather than overwrites existing .rtk/filters.toml files.
- Use Case: During a long debugging session where
mix compile and mix test run repeatedly, install these filters so passing runs collapse to single lines while failures remain fully visible.
Quick Start
Ask the AI to install rtk and set up mix output compression filters for this Phoenix project, then verify the filters pass.