Skip to main content
ClaudeWave
Skill287 repo starsupdated 3d ago

genshijin-stats

The genshijin-stats skill displays session statistics through a hook that formats and returns metrics as a blocked decision, allowing users to instantly view numerical data without model intervention. Use it to check current session stats, generate shareable summaries with `--share`, retrieve lifetime totals with `--all`, or filter metrics by time period using `--since` flags for 24-hour or 7-day windows.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/InterfaceX-co-jp/genshijin /tmp/genshijin-stats && cp -r /tmp/genshijin-stats/skills/genshijin-stats ~/.claude/skills/genshijin-stats
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

このスキルは `hooks/genshijin-stats.js` が提供(`hooks/genshijin-mode-tracker.js` が `/genshijin-stats` 検出時に呼出)。フックが `decision: "block"` で整形済 stats を reason として返す → ユーザーは即座に数値を見る。モデル側で何もする必要なし。

## 引数

- (なし) — 現セッション stats 表示
- `--share` — ツイート可能な1行サマリ
- `--all` — Lifetime 集計
- `--since 7d` / `--since 24h` — 期間指定 Lifetime 集計