Short answer
They cut different tokens, so they add up. RTK shortens what a command prints once the agent has run it; Pixel shortens what the agent reads to find its way, by answering from an index instead of whole files. In Claude Code, pixel setup registers no hook that rewrites a shell call, so RTK's stays the only one: install both, in either order.
Side by side
Not benchmarked. No figure: how Pixel and RTK work, side by side. Nothing on this page is a measurement.
| Measure | Pixel | RTK |
|---|---|---|
| What it shortens | What the agent reads to find code | What a command prints |
| How | Answers from a local index | Filters and summarises command output |
| Callers, blast radius, Git history | Yes | No |
| Build and test logs | Left as they are | Compressed |
| Running both in Claude Code | No shell-rewriting hook of its own | Its hook stays the only one |
Where RTK wins
It compresses the output of builds, tests, Git and other shell commands, which Pixel leaves as they are.
How they differ
RTK sits between the agent and its shell: cargo build, git status or a test run go through it, and the agent gets a short summary instead of the full log. Pixel works before that, when the agent looks for code: pixel scope-task names the files a task starts in, pixel list-signatures outlines a large file, and pixel impact lists a symbol’s callers and callees, so the agent opens fewer whole files.
Running both
Install both, in either order. In Claude Code, only one PreToolUse hook should rewrite a shell call, and pixel setup registers none: its hooks add the brief to a prompt, follow the task lifecycle and relay metrics, so RTK’s hook stays the only rewriter. Pixel looks through an rtk prefix, so rtk pixel impact … still counts as a Pixel call.
Choosing
Pick RTK if your agent’s context fills with build and test output. Pick Pixel if it fills with files opened to find its way, and for callers, blast radius and Git history. If both happen, run both.