scrooge-stats

Installation
SKILL.md

Run the stats script and show its output verbatim:

node "${CLAUDE_PLUGIN_ROOT}/hooks/scrooge-stats.js" --session-id "${CLAUDE_SESSION_ID}"

Append --share for a one-line summary. Report only what the script prints (measured output tokens, plus a benchmark-based "(est)" savings figure when available) — do not recompute or estimate tokens yourself. If the script is not found (a host without the plugin files), say so rather than fabricating numbers.

On Codex installs the UserPromptSubmit hook (hooks/scrooge-activate.js) intercepts the stats trigger and returns the figures directly, so this body never runs there. It is the path for hosts (e.g. Claude in the editor) where the hook's block payload is not surfaced to the user.

Installs
44
GitHub Stars
7
First Seen
Jun 3, 2026