From token-tally
Per-session token tally. Records usage totals in the store and prints the turn total; it is not a token stream or a server-side audit chain.
4 events · 5 calls
Ships in token-tally. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callEach event it registers a hook on, with the matcher when it sets one
session.startturn.completetool.callcommand.run{command=token-tally}Every mods API method its source calls, by namespace
registeridgetsetlogWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.js (written ./register.js)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 kenhuangus/claude-code-security-mods --plugin token-tally