mix-compression
Reduce mix output noise (5-15% token savings) by installing rtk filters that compress mix test/credo/dialyzer/compile output before it reaches Claude
Install / Use
npx skills add oliver-kriska/claude-elixir-phoenix --skill mix-compressionInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of mix-compression
mix-compression scores 85/100 on our quality scale, 2557th of 4,717 Development & Engineering skills we index.
Its SKILL.md is 4.0 KB long, well organised into 11 sections with 3 code examples: a solid amount of guidance for an agent.
It has 574 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 12 days ago, so mix-compression is actively maintained.
- Our last check on 2026-10-12 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-04. Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
mix-compression compared with similar skills
All 4 of these similar skills score higher than mix-compression; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| mix-compression (this skill)by oliver-kriska | 85 | 574 | 12d ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 118.3k | 10d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 113.0k | 10d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 86.4k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 72.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install mix-compression?
- Run
npx skills add oliver-kriska/claude-elixir-phoenix --skill mix-compression. The install tabs above show the steps for each supported agent. - Which AI agents does mix-compression work with?
- It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is mix-compression safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is mix-compression still maintained?
- The repository was last updated 12 days ago, so mix-compression is actively maintained.
Skill content
View source on GitHubname: mix-compression description: Reduce mix output noise (5-15% token savings) by installing rtk filters that compress mix test/credo/dialyzer/compile output before it reaches Claude. Use when long mix output floods context. effort: low
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:workor/phx:fullhitting context limits from mix output - Debugging loops —
/phx:investigateretryingmix compile/mix testrepeatedly - Dialyzer-heavy projects —
mix dialyzeroutput dominates the transcript
Iron Laws
- NEVER strip critical signals — compile errors (
** (CompileError),== Compilation error in), test failures (FAILURES,0 failures— preserved even on short-circuit), dialyzer warnings, and stack traces withfile:lineMUST pass through unchanged - Verify after install — run
rtk verify(orrtk verify --filter mix-test) to confirm the bundled test fixtures pass before declaring success - Never overwrite existing
.rtk/filters.toml— diff and merge instead
Workflow
Step 1: Detect rtk
which rtk && rtk --version
Read ${CLAUDE_SKILL_DIR}/references/install.md if rtk is missing — covers
homebrew install + shell hook setup.
Step 2: Seed .rtk/filters.toml
Reference filters live at ${CLAUDE_SKILL_DIR}/references/rtk-filters.toml. Six
production-tested filters covering:
mix-test— short-circuits all-pass, preserves failure blocks + compile errorsmix-credo— collapses clean runs, preserves violation blocksmix-dialyzer— drops PLT progress, keeps warnings + summarymix-deps-get— collapses unchanged package listsmix-ecto-migrate— strips compile prefix, short-circuits "already up"mix-compile— handles parallel worker prefixes (N>) and MIX_ENV
Run this if the project has no .rtk/filters.toml yet:
mkdir -p .rtk
cp "${CLAUDE_SKILL_DIR}/references/rtk-filters.toml" .rtk/filters.toml
Read both files if one already exists. Present a diff to the user. Merge only the filters they don't already have.
Step 3: Verify filters work
rtk verify # runs all embedded [[tests.*]] fixtures
rtk verify --filter mix-test # one filter only
Check that all report "passed". Flag and stop if any fail — usually means the user has a custom rtk version with regex differences.
Step 4: Confirm shell hook
Run rtk init zsh (or rtk init bash) to install the transparent rewrite hook
that turns mix X into rtk mix X. Re-running is safe (idempotent). Skip this
step and mix calls run unfiltered.
Customization
Add custom regex patterns to strip_lines_matching for project-specific noise
sources (e.g., third-party hex deps spamming stack traces). See the inline
example in ${CLAUDE_SKILL_DIR}/references/rtk-filters.toml lines 57-59.
What this is NOT
- Not a hook — Claude Code's
PostToolUsehooks fire after the tool result is in the transcript and cannot shrink it. rtk works at the subprocess layer (the only layer where transcript-shortening is possible). - Not project-analysis — the bundled filter set is universal across Phoenix
projects. No
mix.exsinspection needed. - Not telemetry — rtk has telemetry off by default (
enabled = falseinconfig.toml). Filters run locally, no data leaves the machine.
References
${CLAUDE_SKILL_DIR}/references/rtk-filters.toml— bundled filter set${CLAUDE_SKILL_DIR}/references/install.md— rtk install + shell hook setup- rtk on GitHub
Related Skills
taste-skill
118.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
113.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
86.4kAI video you can actually edit. HyperFrames is a free, open-source AI video editor. Describe any video and get a real project you can change down to the frame.
ai-job-search
72.4kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
