Features
Features & components
Directory-grouped modules and the architectural components they roll up into.
Architecture
Single Rust CLI binary that intercepts shell command output, auto-detects the command type, and applies sub-100ms compression rules to shrink LLM context by up to 90%.
High-throughput output filter pipeline
Per-agent shell, TypeScript, and Python hook scripts and adapters that wire external AI agents—Claude, Copilot, Cursor, Hermes, OpenCode, PI, and OpenClaw—into the RTK proxy pipeline.
Agent-specific adapter templates
Homebrew formula, installation helpers, benchmark harnesses, and release scripts used to distribute, install, and performance-test the RTK binary.
Delivery and validation toolchain
Rust integration tests and multi-language Java/Maven fixture projects that verify end-to-end filtering, compression fidelity, and pipeline behavior.
End-to-end validation fixtures
Features (18)
- src/cmds/system16 files
system exposes dependency scanning, environment inspection, file discovery, and output formatting commands.
- src/core16 files
core defines argument parsing utilities, configuration loading, display helpers, constants, and output filtering.
- scripts12 files
scripts automates benchmarking, installation verification, test presence checks, local setup, and economic reporting.
- src/cmds/php11 files
php wraps Laravel Artisan, ECS style checks, Paratest parallel testing, and Pest test runner commands.
- src/hooks11 files
hooks provides repository hook initialization, audit, checking, and execution subcommands.
- src/cmds/js10 files
js exposes lint, Next.js, npm, and Playwright subcommands for JavaScript development workflows.
- src/cmds/cloud6 files
cloud exposes AWS, container, curl, and PostgreSQL subcommands for cloud infrastructure operations.
- src/cmds/git6 files
git unifies diff generation with GitHub, GitLab, and Graphite CLI integrations for repository management.
- src/cmds/python6 files
python wraps mypy, pip, pytest, and ruff commands for Python development tooling.
- src/discover6 files
discover lexes project sources, queries provider registries, and reports detected tooling capabilities.
- src/analytics5 files
analytics computes cc-economics, cc-usage metrics, performance gains, and session command statistics.
- src/cmds/dotnet5 files
dotnet parses binlogs, executes dotnet commands, formats reports, and serializes test trx results.
- src/cmds/ruby4 files
ruby runs Rake tasks, executes RSpec tests, and invokes RuboCop linting commands.
- src/cmds/go3 files
go executes Go commands and runs golangci-lint for static analysis.
- src/cmds/jvm3 files
jvm runs Gradle wrapper scripts and Maven commands for JVM builds.
- src/cmds/rust3 files
rust invokes Cargo commands and runs tests or binaries via runner.
- src/learn3 files
learn detects patterns via detector and produces structured reports.
- src/parser3 files
parser defines AST types and formats parsed output structures.