Home / Claude Code mods / Cost & usage / usage-history

usage-history

usage-history is a Claude Code mod by takosasi-dev that /history で日をまたいだ使い方の記録(日ごとのターン数・トークン・ツール回数)を縦棒グラフと曜日×時間帯のヒートマップで見る (直近 7 日の数をほかの mod にも見せる。記録は毎日 1 回控えを取れる).

Updated 2026-10-26

What is usage-history?

usage-history is a Claude Code mod by takosasi-dev that /history で日をまたいだ使い方の記録(日ごとのターン数・トークン・ツール回数)を縦棒グラフと曜日×時間帯のヒートマップで見る (直近 7 日の数をほかの mod にも見せる。記録は毎日 1 回控えを取れる). It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authortakosasi-dev
Repositorytakosasi-dev/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (88/100)
Rank#8,684 of 9,397 Claude Code mods; #1,724 in Cost & usage
LicenseMIT
Last commit2026-10-26
Hooks7 events
Seesevery tool call
Draws onPane

Is usage-history safe to install?

usage-history scores 88/100 on the MCPMods security check: Low risk. Things to review: writes files or config. It passed 7 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.config.list
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install usage-history?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/takosasi-dev/claude-code-mods
    claude plugin validate ./claude-code-mods/mods/usage-history
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add takosasi-dev/claude-code-mods && claude plugin install usage-history@claude-code-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs usage-history for you:

Install the "usage-history" Claude Code mod from https://github.com/takosasi-dev/claude-code-mods/tree/main/mods/usage-history. Run claude plugin validate on it first and show me what it can access before you enable it.

More from takosasi-dev/claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-watch: /agents でサブエージェントの状態・経過時間・ツール回数をペインに SVG の帯で表示し、ボタンでその会話を開く (Low risk)
  • aqua-pet: Claude の作業に反応して魚が泳ぐ水槽のペイン (/aquarium)。魚はターンで育ち、節目で珍しい種類が来る(10 種)。水の色と飾りは時刻と季節で変わる。turn-gacha で持っているカードに応じて手に入るかざり(水草・城・沈 (Low risk)
  • canvas-pane: Claude が呼べるツール show で、グラフ・表・図をペインに SVG で描く。/canvas で直近 20 枚をめくる (Low risk)
  • cc-dash: /dash でセッションの計器盤(経過・ターン・ツール・使用量)をペインに SVG で表示する。出す枠と順を自分で並べられる (Low risk)
  • ci-pane: /ci で今のブランチの PR・チェック・GitHub Actions の結果を gh で読み、ペインに SVG で出す (読むだけ) (Low risk)
  • code-omikuji: /omikuji で今日のコード運勢を引く。1 日 1 回の本番は同じ日なら同じ結果で、筒を振るアニメと和紙のおみくじをペインに SVG で表示する (Low risk)
  • compact-cue: コンテキストが埋まってきた時に、テスト・コミットの区切りなら「今が /compact のよい時」、作業の途中なら「区切りまで待って」と入力欄の上の帯とトーストで知らせる。/cue で使用量のリングと作業の様子 (知らせるだけで compac (Low risk)
  • daily-quest: /quest で、日替わりのお題 3 つ (ターン・編集・テスト・コミットなど) の進みと連続日数をペインで見る。ごほうびは dev-rpg の経験値と turn-gacha のおまけの 1 回。記録は毎日控えを取り、控えから戻せる (Low risk)