Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

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.js hook detects /genshijin-stats, calls genshijin-stats.js, and the hook returns pre-formatted stats via decision: "block", so numbers appear instantly with no model computation.
  • Arguments: (none) current session / --share one-line shareable summary / --all lifetime totals / --since 7d, --since 24h windowed 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

  1. After a long refactor, type /genshijin-stats to see exactly how many tokens the session burned.
  2. Use /genshijin-stats --since 7d for a rolling weekly total during cost review.
  3. Use /genshijin-stats --share to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Clone the repository: git clone https://github.com/InterfaceX-co-jp/genshijin.git
  2. Copy the skill into place: mkdir -p ~/.claude/skills && cp -r genshijin/skills/genshijin-stats ~/.claude/skills/
  3. Important: this skill is only a wrapper — copy hooks/genshijin-stats.js and hooks/genshijin-mode-tracker.js from the repo into your hooks directory (e.g. ~/.claude/hooks/).
  4. Register genshijin-mode-tracker.js in the hooks section of ~/.claude/settings.json, following the repo README's exact configuration example.
  5. Make sure Node.js is available (node -v).
  6. Restart Claude Code and run /genshijin-stats to confirm the stats block appears.