Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By rtk-aiv0.5.0Apache-2.0In 1 marketplace
RTK's token savings, live in Claude Code: animated bars for command savings and the context breakdown, with rtk proxy support
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (HOME, LANG, LC_ALL, LC_MESSAGES, RTK_GAIN_ANIMATION, RTK_GAIN_LANG, RTK_GAIN_VIKING, RTK_PROXY_DB, XDG_CONFIG_HOME); reads your settings.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod that shows what RTK saves while Claude works: one bar for the commands (planned, used, saved), one for the context window broken down by category, and a viking who breaks the saved tokens with a different animation each time.

Tested with Claude Code 2.1.290 in the terminal. Mods need Claude Code 2.1.287 or later in the terminal, 2.1.286 in the Desktop app.
With rtk and its hook installed (rtk init -g), in Claude Code:
/plugin marketplace add rtk-ai/rtk-gain-mod
/plugin install rtk-gain@rtk
/rtk-gain
The last command opens the pane with the viking; it does not open on its own. Details and other ways to install in Install.
Three places in Claude Code:
/rtk-gain: the viking, both bars with their legends, and the last commands with each one's own saving. /rtk-gain again, or Esc, closes it.Reading the bars:
/context. The hatched part extends the bar by what RTK kept out: "without RTK", the context would be the sum of the two.
In that turn, RTK kept 26.2k tokens out of the context: 79.7k instead of 106k.
At the top of the pane, a pixel-art viking breaks the tokens: two pixels per terminal cell (the ▀ character, its color for the top pixel, its background for the bottom one).
While a command runs he waits, weapon raised, in front of a grey block. When it returns, he strikes the command's block at the cut between what was kept (blue) and what RTK saved (green), and the saved part is destroyed. The command's name and its saving show above.
There are fifty animations, ten attacks times five ways the saved part goes:
| Attacks | Effects |
|---|---|
| axe, hammer, sword, spear, torch, twin axes, thrown axe, bow, lightning, raven | shards, explosion, melt, dust, swept |
One is drawn at random for each command, never the same attack or effect twice in a row. A big saving leans toward the loud effects (shards, explosion, swept), a small one toward the quiet ones (melt, dust); all fifty stay possible.
The viking shows in the terminal only: text in the Desktop app need not be monospaced, and the drawing would come apart there.
All taken in a real Claude Code 2.1.290 session, on a clone of the rtk repository, with the RTK hook installed. Claude ran git log -30, git diff HEAD~10, git show HEAD~3, git log --stat -8 and git status.
![]() | ![]() |
1. /rtk-gain when it opens: the viking at rest, the starting context, no command yet. | 2. Claude runs git diff: the viking readies his attack, the command shows as running. |
![]() | ![]() |
3. git diff returns: the strike lands on the cut and the bars move toward their new values. | 4. After the commands: git diff 31.8k → 6.7k (−79%), git log 2.9k → 1.8k (−38%). |
You need Claude Code 2.1.287 or later, rtk in your PATH, and the RTK hook installed (rtk init -g): without the hook no command goes through RTK, and the pane says so.
Install the mod from the marketplace in this repository:
/plugin marketplace add rtk-ai/rtk-gain-mod
/plugin install rtk-gain@rtk
Or, for one session only, without installing:
git clone https://github.com/rtk-ai/rtk-gain-mod.git
claude --plugin-dir ./rtk-gain-mod
/plugin shows 1 mod active · rtk-gain when the mod is loaded. Right away you get the band above the prompt and the saving in the spinner.
Open the pane, with the viking and both bars:
/rtk-gain
It does not open on its own: without this step you only see the band. /rtk-gain again, or Esc, closes it.
Ask Claude for a few commands (git log, git diff, cargo test) and watch the viking strike each one.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub rtk-ai/rtk-gain-mod --plugin rtk-gain