From rtk-gain
RTK token savings in the status line, and /rtk-gain draws the full rtk gain report as a card.
4 events · 6 calls
Ships in rtk-gain. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runenv.getsettings.readEach event it registers a hook on, with the matcher when it sets one
session.starttool.call{tool=Bash}command.run{command=rtk-gain}ui.render{component=CommandOutput, props=?}Every mods API method its source calls, by namespace
registergetrunreadresolvestatusLANGLC_ALLLC_MESSAGESWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub fazzani/claude-mods --plugin rtk-gain