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.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
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.
Registers the rtk (Rust Token Killer)
PreToolUse hook: every Bash command Claude Code runs is rewritten to its
rtk <cmd> equivalent when rtk knows the command, so the output reaches the
model compressed.
This is the same hook rtk init -g writes into ~/.claude/settings.json,
packaged as a plugin so it is installed and versioned with the rest of the
marketplace instead of living as a bare entry in settings.json.
rtk on PATH. Install it first, see the rtk README.
/plugin marketplace add https://github.com/ctretyak/claude-code-plugins.git
/plugin install rtk@ctretyak
or from a shell:
claude plugin marketplace add https://github.com/ctretyak/claude-code-plugins.git --scope user
claude plugin install rtk@ctretyak --scope user
claude plugin enable rtk@ctretyak --scope user
If you also ran rtk init -g, remove its PreToolUse entry from
~/.claude/settings.json, otherwise the hook runs twice.
rtk's own hook check (src/hooks/hook_check.rs) only looks at
hooks.PreToolUse in ~/.claude/settings.json; it does not see plugin hooks.
So rtk gain prints, once a day:
[rtk] /!\ No hook installed — run `rtk init -g` for automatic token savings
That is cosmetic. The hook does run: rtk gain keeps growing. Do not run
rtk init -g to silence it, that brings the duplicate entry back.
rtk gain
shows token savings once Claude has run a few commands.
MIT
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 ctretyak/claude-code-plugins --plugin rtkPlugins from other owners that cover similar ground