ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 Fazzani

tools-usage

Claude Code のセッションで使ったすべてのツールを、種類(builtin、mcp、skill、agent、plugin、hook)ごとに呼び出し回数と推定 token 消費量付きで一覧表示するサイドペインを開くプラグインです。

Fazzani@Fazzani

Fazzani/claude-mods/tree/main/plugins/tools-usage

翻訳済み

この mod について

セッションで使ったすべてのツールを種類ごとにまとめ、呼び出し回数と token 消費量を表示するサイドペインです。

◆ Tools                       42 calls · ≈118k tok
████████████████▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▆▆▆▆▆▆▅▅▅▅
■ builtin 61k  ■ mcp 38k  ■ skill 12k  ■ hook 7k
Sort tokens calls name
────────────────────────────────────────────────
● Read                           builtin  14×   31k
  ▰▰▰▰▰▰▰▰▰▰                       ↑1.2k ↓30k ⌂2.1k
● search_code github                 mcp   6×   22k
  ▰▰▰▰▰▰▰▱▱▱                        ↑0.4k ↓21k ⌂0.6k

| 種類 | 集計するもの | | --- | --- | | builtin | Claude Code 自身のツール(Bash、Read、Edit、…) | | mcp | mcp__<server>__<tool>。サーバー名も表示 | | skill | Skill ツールから呼び出した各 skill | | agent | Agent ツールから起動した各サブエージェント種別 | | plugin | プラグインが登録したツール | | hook | 設定 hook が hook イベントごとに会話へ注入したコンテキスト |

  • ↑ モデルが書いた引数(出力 token)
  • ↓ モデルが読み戻した結果(入力 token)
  • ⌂ すべてのリクエストに送られるツールの説明

Token 数は推定値です(約 4 文字で1 token)。サブエージェントのツール呼び出しも含まれます。

コマンド:/tools-usage でペインを開き、/tools-usage reset で集計を消去します。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add Fazzani/claude-mods
claude plugin install tools-usage
原文 / README

tools-usage

A side pane listing every tool the session used, grouped by kind, with calls and token consumption.

◆ Tools                       42 calls · ≈118k tok
████████████████▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▆▆▆▆▆▆▅▅▅▅
■ builtin 61k  ■ mcp 38k  ■ skill 12k  ■ hook 7k
Sort tokens calls name
────────────────────────────────────────────────
● Read                           builtin  14×   31k
  ▰▰▰▰▰▰▰▰▰▰                       ↑1.2k ↓30k ⌂2.1k
● search_code github                 mcp   6×   22k
  ▰▰▰▰▰▰▰▱▱▱                        ↑0.4k ↓21k ⌂0.6k

| Kind | What it counts | | --- | --- | | builtin | Claude Code's own tools (Bash, Read, Edit, …) | | mcp | mcp__<server>__<tool>, labelled with the server | | skill | Each skill invoked through the Skill tool | | agent | Each subagent type launched through the Agent tool | | plugin | Tools a plugin registered | | hook | Context that settings hooks injected into the conversation, per hook event |

  • ↑ the arguments the model wrote (output tokens)
  • ↓ the result the model read back (input tokens)
  • ⌂ the tool's description, which is sent with every request

Token counts are estimates (about 4 characters per token). Subagents' tool calls are included.

Commands: /tools-usage opens the pane, /tools-usage reset clears the counts.

関連作品