rtk-gain

by RTK AI · ★ 7 · updated 9 Oct 2026

PanesBandsReskinsGuardsCommandsvalidates

0

RTK's token savings, live in Claude Code: animated bars for command savings and the context breakdown, with rtk proxy support

install rtk-gain

Install

/plugin marketplace add rtk-ai/rtk-gain-mod
/plugin install rtk-gain@rtk

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callturn.startturn.completecommand.runui.closeui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.process.run$.session.surfaces$.session.usage$.settings.read$.ui.close$.ui.invalidate$.ui.open$.ui.resolve
Draws
PaneAbovePromptSpinner
Can see
Bash calls
Reach
level 2 of 3 runs processesreads filesreads env varsreads settingsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/rtk-ai/rtk-gain-mod
Path in repo
repository root
Source commit
8a0d837 the exact code the scan read
Author
RTK AI @rtk-ai
License
Apache-2.0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.