CLI · established

rtk-ai/rtk

Rust CLI proxy/hook that compresses noisy shell, git, test, build, cloud, and infrastructure command output before agents read it.

token efficiencydeveloper toolscoding agents
Installation GuideInstruction Manual

What it contains

Rust CLI proxy/hook that compresses noisy shell, git, test, build, cloud, and infrastructure command output before agents read it.

Typical uses

Reduce context spent on terminal output while preserving failures/key structure; install hooks for many coding agents.

Why people choose it

Inference: low-latency model-independent efficiency layer that does not require changing each command manually.

License
Apache License 2.0
Maintenance
active
Latest release
0.28.2
Last meaningful update
Unknown
Maturity
established
Production readiness
production

Classification

Subject domains

token efficiencydeveloper toolscoding agents

Task categories

token efficiencydeveloper toolscoding agents

Project phases

planningimplementationtestingreview

Secondary types

proxyagent hook

Select when

  • Agent consumes too much shell/test/build output

Do not select when

  • Need prose/prompt compression
  • Must preserve complete raw output
Implementation complexity
medium
Setup effort
low
Learning curve
medium
Confidence
high

Routing heuristic 92.0%

Routing specificity
4/5
Setup simplicity
5/5
Operational maturity
5/5
Composability
4/5
Local control
5/5
Security boundary clarity
5/5
First-party routing documentation
5/5

Strengths

None documented.

Poor-fit scenarios

  • Need prose/prompt compression
  • Must preserve complete raw output

Limitations

None documented.

README.md

Filter/group/truncate/dedupe command output.

compression
Agent hooks configuration
README.md

Rewrite shell commands through RTK.

hooks
Languages
Rust
Frameworks
None documented
Runtimes
None documented
Operating systems
macOS, Linux, Windows, WSL
Installation methods
Homebrew, install script, Cargo, release binary
Interfaces
CLI, agent hook
Required credentials
None documented
External services
None documented
Hardware
None documented
Major dependencies
None documented

Compatibility notes

None documented.

One-sentence semantic summary

Rust CLI proxy/hook that compresses noisy shell, git, test, build, cloud, and infrastructure command output before agents read it.

Capability keywords

shell filteringgittestsbuild/lintcloud/infrahook rewriting

User intent phrases

  • Agent consumes too much shell/test/build output

Negative match phrases

  • Need prose/prompt compression
  • Must preserve complete raw output

Differentiators

None documented.

Security considerations

  • Compressed output may omit diagnostic context; preserve raw logs for forensic cases.

Privacy considerations

None documented.

Uncertainty

Unresolved items

None documented.

Inference notes

None documented.

Evidence

Repository usage guidance

installation summary
Homebrew; install script; Cargo; release binary
basic usage summary
Reduce context spent on terminal output while preserving failures/key structure; install hooks for many coding agents.
documented entry points
None documented
key configuration files
None documented
important directories
None documented
documentation paths
README.md
example paths
None documented

Relationships

integration
high
Both reduce context; OmniRoute can stack RTK-style and prose compression.

Recommended combinations

Large-repository context efficiency high

Each repository covers a distinct layer; avoid combining tools that duplicate lifecycle ownership.

Order of operations

  • Use Repomix for handoff/snapshot
  • Index active repo with Claude Context
  • Install RTK for command-heavy sessions
Spec-first large-repo delivery high

Each repository covers a distinct layer; avoid combining tools that duplicate lifecycle ownership.

Order of operations

  • Create constitution/spec/plan/tasks
  • Use semantic search during planning/implementation
  • Use RTK for terminal verification
  • Implement against approved tasks
Agent-team orchestration high

Each repository covers a distinct layer; avoid combining tools that duplicate lifecycle ownership.

Order of operations

  • Connect least-privilege agent runtimes
  • Add RTK on runtime machines
  • Install only role-relevant engineering skills
  • Keep human review gates

Routing rules

rule_046: Agent consumes too much shell/test/build output P954

Rationale

Rust CLI proxy/hook that compresses noisy shell, git, test, build, cloud, and infrastructure command output before agents read it.

Required conditions

None documented.

Preferred

rtk-ai/rtk

Fallback

None