Repository navigation
RTK 1.x: what changed, and how to get the most out of it #5054
aeppling
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
RTK started as a bash compressor: a hook that rewrites the commands your agent runs so it reads 3 lines instead of 40. 85k of you starred that, 200+ of you built it, and it has not changed: install RTK, forget it, and
rtk gainshows what it saved.Since v1.0.0 RTK is more than that, and this post is the short version of the new README.
① Install & forget: the compressor
Nothing new to learn.
rtk init -ginstalls the hook; test runs, diffs, logs and builds are compressed before your agent reads them, on 100+ commands, up to 90% less command output. Upgrading never changes this: with no pipeline file you are onrtk:default, which is exactly the compressor.② Go further with pipelines
Everything RTK does is now written in one file,
pipeline.toml: where RTK acts, when, and what it does. Each built-in is one line away:rtk:posthookcompressesRead, grep and web output too, not just shell commands (Claude Code)rtk:delegate-readshands whole-file reads over 350 lines to a cheaper model you choose; the file never enters the agent's context (Claude Code)rtk:proxyruns the same pipeline on your agent's API traffic through the optional RTK Proxy daemonrtk:tersemakes the agent write terse prose; code, paths, commands and errors stay in fullPipelines are agent-agnostic: you write
shell,read,before_tool, RTK translates them to each agent's hooks, as far as that agent's hooks allow (Agent Coverage shows what runs where).And you can share them.
rtk pipeline share publishputs yours on GitHub and tags it sortk pipeline searchfinds it,rtk pipeline add github:user/repoinstalls someone else's, and rtk-ai.app/pipelines lists them with what each one saved and how it was measured. The best one listed today cuts total cost by 20.2% in its author's benchmark. We would like that list to be long and not written by us: if you have a pipeline that saves you money, publish it.Where to start
rtk pipeline show rtk:defaultprints the built-in file. Change one line of it.Tell us
What should a pipeline be able to do that it cannot today? Which command still floods your agent? Reply here, or open an Idea.
All reactions