$npx skillfedfor your agent

phx-mix-compression

Install rtk filters to compress verbose mix command output before it consumes context. The skill preserves critical signals like compile errors and test failures while short-circuiting successful runs to single lines, delivering 5-15% token savings on mix-heavy workflows.

phx-mix-compression reduces token use by filtering verbose mix command output before it enters your context.

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

507 35 MITupdated by oliver-kriska

Decision gist · record as of 2026-07-27

phx-mix-compression reduces token use by filtering verbose mix command output before it enters your context. Install rtk filters to compress verbose mix command output before it consumes context. The skill preserves critical signals like compile errors and test failures while short-circuiting successful runs to single lines, delivering 5-15% token savings on mix-heavy workflows.

manual: git clone https://github.com/oliver-kriska/claude-elixir-phoenix → cp -r claude-elixir-phoenix/targets/amp/skills/phx-mix-compression ~/.claude/skills/phx-mix-compression
targets/amp/skills/phx-mix-compression/SKILL.md · version 681c1cab

Use it when

  • phx-mix-compression compresses output from mix test, credo, dialyzer, and compile.
  • Yes.

Verify before relying

Read SKILL.md below before installing (3 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

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

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

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

How does phx-mix-compression reduce mix test output noise?

phx-mix-compression installs rtk filters that compress verbose mix command output before it consumes context. The filters preserve critical signals like compile errors and test failures while short-circuiting successful runs to single lines, delivering 5-15% token savings on mix-heavy workflows.

What mix commands does phx-mix-compression filter?

phx-mix-compression compresses output from mix test, credo, dialyzer, and compile. Each filter preserves error details and failure messages while collapsing repetitive pass output, optimizing context usage during long debugging sessions without losing actionable information.

Can phx-mix-compression compress mix dialyzer warnings?

Yes. phx-mix-compression's dialyzer filter reduces warning verbosity while retaining type mismatch details and critical diagnostics. Successful type checks collapse to a single confirmation line, freeing tokens for other context in Phoenix projects.

How do I install rtk filters for mix commands?

phx-mix-compression provides ready-to-install rtk filter configurations for Phoenix projects. After installation, the filters automatically engage on mix test, credo, dialyzer, and compile runs, filtering repetitive output and preserving errors without manual invocation.

What token savings does phx-mix-compression deliver?

phx-mix-compression achieves 5-15% token savings on mix-heavy workflows by compressing successful run output to single lines while preserving all critical errors. Savings scale with test suite size and debugging loop frequency in long sessions.

Does phx-mix-compression filter mix compile errors?

Yes. phx-mix-compression preserves all compile errors and warnings while filtering noise from successful compilation steps. The filter ensures you never miss diagnostics that matter while eliminating repetitive pass confirmations that flood context.

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 sessionsphx-work or phx-full hitting context limits from mix output
  • Debugging loopsphx-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 — preserved

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

File tree — 3 files
targets/amp/skills/phx-mix-compression/SKILL.md
targets/amp/skills/phx-mix-compression/references/install.md
targets/amp/skills/phx-mix-compression/references/rtk-filters.toml

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Reduce token consumption from verbose mix command output”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

mix-compression
by oliver-kriska · oliver-kriska/claude-elixir-phoenix

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.

MITupdated Jul 2026
★ 507repo stars
tdd-rust
by rtk-ai · rtk-ai/rtk

tdd-rust guides you through test-driven filter implementation for RTK using the Red-Green-Refactor cycle. Start with real command output fixtures, write failing tests that verify both output format and ≥60% token reduction, then implement the minimum code to pass. Lock output format with snapshot tests and integrate into your CLI.

Apache-2.0for claude-codeupdated Jul 2026
★ 73,568repo stars
design-patterns
by rtk-ai · rtk-ai/rtk

This skill covers seven Rust design patterns applied to RTK's CLI filter architecture, from type-safe wrappers and configuration builders to stateful parsers and resource management. Each pattern includes practical examples showing when to use it, when to skip it, and how it fits RTK's single-threaded, zero-overhead design philosophy.

Apache-2.0for claude-codeupdated Jul 2026
★ 73,568repo stars
Elixir Idioms
by irahardianto · irahardianto/awesome-agv

This skill covers the core patterns that make Elixir code functional and resilient. Learn pattern matching across function heads and case expressions, build stateful processes with GenServer, and embrace the supervision model's "let it crash" philosophy. The skill also covers pipe-friendly API design, naming conventions, and tools like Credo and Dialyzer for code quality.

MITupdated Jul 2026
★ 150repo stars
Rtk Optimizer
by FlorianBruniaux · FlorianBruniaux/claude-code-ultimate-guide

RTK Optimizer detects high-verbosity shell commands and suggests RTK wrappers to dramatically reduce token usage—achieving up to 92% savings on git log, 90% on cargo test and pytest, and similar gains across build tools and package managers. The skill automatically proposes optimizations when it spots commands like git diff, find, or test frameworks, then executes the wrapped version to preserve context window space.

CC-BY-SA-4.0updated Jul 2026
★ 5,576repo stars
add-rtk
by nanocoai · nanocoai/nanoclaw

add-rtk deploys rtk, a CLI proxy that compresses output from common development commands (git, cargo, pytest, docker, kubectl, and others), directly into Claude Code agent containers. The skill automates binary installation, container mounting, and hook configuration so every Bash call routes through rtk transparently, delivering 60–90% token savings without manual intervention.

MITfor claude-codeupdated Jul 2026
★ 30,388repo stars

More skills Media Processing (unlicensed)

Tags
output-filteringtoken-optimizationcontext-managementcli-proxybuild-tool-integrationnoise-reductiontranscript-compressionelixir-toolingdeveloper-workflow