genshijin Token Stats
Run `/genshijin-stats` to see real token usage for the current session plus estimated savings, read straight from Claude Code session logs.
UtilitiesIntermediate★ 332⑂ 14AI score 6/10Last updated: Aug 15, 2026
What it does
- Reads Claude Code session logs directly to report actual token consumption — no AI-based guessing.
- Shows the estimated token savings produced by genshijin's reduction mode.
- How it works: the
genshijin-mode-tracker.jshook detects/genshijin-stats, callsgenshijin-stats.js, and the hook returns pre-formatted stats viadecision: "block", so numbers appear instantly with no model computation. - Arguments: (none) current session /
--shareone-line shareable summary /--alllifetime totals /--since 7d,--since 24hwindowed totals.
Who it's for
- Developers running long Claude Code sessions who want a real sense of token spend.
- Anyone already using — or evaluating — the genshijin token-reduction toolkit.
- Teams that need daily/weekly AI usage reporting.
Examples
- After a long refactor, type
/genshijin-statsto see exactly how many tokens the session burned. - Use
/genshijin-stats --since 7dfor a rolling weekly total during cost review. - Use
/genshijin-stats --shareto grab a one-line summary for a team channel or social post.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/InterfaceX-co-jp/genshijin/HEAD/skills/genshijin-stats/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/genshijin-stats folder from the GitHub repo InterfaceX-co-jp/genshijin into my ~/.claude/skills/genshijin-stats/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/InterfaceX-co-jp/genshijin.git && mkdir -p ~/.claude/skills && cp -r genshijin/skills/genshijin-stats ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Clone the repository:
git clone https://github.com/InterfaceX-co-jp/genshijin.git - Copy the skill into place:
mkdir -p ~/.claude/skills && cp -r genshijin/skills/genshijin-stats ~/.claude/skills/ - Important: this skill is only a wrapper — copy
hooks/genshijin-stats.jsandhooks/genshijin-mode-tracker.jsfrom the repo into your hooks directory (e.g.~/.claude/hooks/). - Register
genshijin-mode-tracker.jsin the hooks section of~/.claude/settings.json, following the repo README's exact configuration example. - Make sure Node.js is available (
node -v). - Restart Claude Code and run
/genshijin-statsto confirm the stats block appears.
View source on GitHub ↗License: MIT