Skip to content
Back to skills

Scrooge Stats

ASecurity

Show measured Scrooge session token usage and estimated savings when available. Use when the user invokes /scrooge-stats, $scrooge-stats, asks for Scrooge token stats, or asks how many output tokens Scrooge saved.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsbashnode

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 6, 2026

npx -y skills add Kir93/scrooge-mode --skill scrooge-stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scrooge Stats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scrooge Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kir93-scrooge-stats/badge)](https://www.skillsdirectory.com/skills/kir93-scrooge-stats)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scrooge-stats
description: >
  Show measured Scrooge session token usage and estimated savings when
  available. Use when the user invokes /scrooge-stats, $scrooge-stats, asks for
  Scrooge token stats, or asks how many output tokens Scrooge saved.
---

Run the stats script and show its output verbatim:

```bash
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.

Files in this skill

  • LICENSE1 KB
  • README.md849 B
  • SKILL.md1003 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…