---
title: "token-weather-usage"
url: "https://claudemods.dev/ja/builds/token-weather-usage-df7534"
source: "https://github.com/augiefra/claude-mods/tree/main/plugins/token-weather-usage"
source_type: "github"
repo: "https://github.com/augiefra/claude-mods/tree/main/plugins/token-weather-usage"
author: "augiefra"
author_handle: "augiefra"
stars: 30
category: "使用量・コスト"
categories: ["cost"]
tags: ["Claude Code", "mod"]
permission_level: 1
scan_complete: true
install: "claude plugin marketplace add augiefra/claude-mods\nclaude plugin install token-weather-usage"
added: "2026-10-03T12:00:58.826Z"
updated: "2026-11-14T08:18:30Z"
locale: "ja"
content_locale: "ja"
---

# token-weather-usage

token-weather-usage：プロンプトの上に1行：コンテキストウェザー、トークン、最近のプロンプトごとのバー、そして5時間と7日間の制限

## Description

# Token Weather Usage

Claude Code のプロンプトの上に1行：5時間と7日間の制限を時計と比較、コンテキストウェザー、トークン、プロンプトごとのバー。

![デスクトップアプリのバンド](https://raw.githubusercontent.com/augiefra/claude-mods/main/docs/band.png)

- **5h / 7d**：アカウントの制限のうち既に使用した割合。ペースに応じて緑、黄、赤で表示。経過時間との差はハッチング：余裕がある間は灰色、時間の経過より速く使用するとバーの色。次に残り時間とリセット時間（マシンのタイムゾーン）。
- **コンテキストウェザー**：Clear から「まもなくコンパクト」まで、使用中のコンテキストウィンドウの割合による。アプリ内で描画されるアイコン、ターミナルでは Unicode 記号。
- **コンテキスト**：ウィンドウのうち使用したパーセンテージとトークン数。
- **ターン**：直近8回のプロンプトごとに1本のバー、追加したトークン数に応じた高さ。現在のプロンプトは色付き。再起動をまたいで保持。

![経過時間との差のハッチング](https://raw.githubusercontent.com/augiefra/claude-mods/main/docs/gauges-hatching.png)

ターミナルでは：

```
☂ Showers │ 63% context · 634k/1M │ turns ▃▆▂█▃▄▂▆ ▲ +6.3k │ 5h ━━━━━━╍─ 74% · 24 min → 18:20 │ 7d ━━━━━─── 65% · 2d20h
```

ラベルは英語またはフランス語：`auto` は `LC_ALL`、`LC_MESSAGES`、`LANG` に従い、それ以外の場合は **Language** オプション（`/config`）で `en` または `fr` を選択。

## プライバシー

個人データの収集、送信、保持は行わず、ネットワークリクエストも行いません。このモッドは Claude Code が提供する使用量の数値とロケール変数を読み取り、プラグインのローカルストレージに最新の制限の読み取り値と、セッションごとの最近のコンテキスト読み取り値を保持します（8日間アイドル後に削除）。

## クレジットとライセンス

天気、コンテキスト、ターンのチャートは Anthropic の **Token Weather** の例（[claude-code-playground](https://github.com/anthropics/claude-code-playground)、Apache-2.0）に基づく。制限ゲージは HolyGrail の **usage-meter**（[HolyGrail/claude-mods](https://github.com/HolyGrail/claude-mods/tree/main/plugins/usage-meter)）に基づいて書かれており、そのコードはコピーしていません。Apache-2.0 ライセンス：[LICENSE](https://github.com/augiefra/claude-mods/blob/main/LICENSE) と [NOTICE](https://github.com/augiefra/claude-mods/blob/main/NOTICE) を参照。

## Install

```
claude plugin marketplace add augiefra/claude-mods
claude plugin install token-weather-usage
```

## Original README

# Token Weather Usage

One line above the Claude Code prompt: your 5-hour and 7-day limits against the clock, the context weather, the tokens, and a bar per prompt.

![The band in the desktop app](https://raw.githubusercontent.com/augiefra/claude-mods/main/docs/band.png)

- **5h / 7d**: the share of your account's limits already used, in green, yellow or red by pace. The gap with the time elapsed is hatched: grey while you have margin, in the bar's color when you use faster than time passes. Then the time left and the reset time (machine's time zone).
- **Context weather**: from Clear to "Compact soon", by the share of the context window in use. Icons drawn in the app, Unicode symbols in the terminal.
- **Context**: percentage and tokens used out of the window.
- **Turns**: one bar per prompt for the last 8, as tall as the tokens it added; the current prompt in color. Kept across restarts.

![Hatching of the gap with elapsed time](https://raw.githubusercontent.com/augiefra/claude-mods/main/docs/gauges-hatching.png)

In the terminal:

```
☂ Showers │ 63% context · 634k/1M │ turns ▃▆▂█▃▄▂▆ ▲ +6.3k │ 5h ━━━━━━╍─ 74% · 24 min → 18:20 │ 7d ━━━━━─── 65% · 2d20h
```

Labels in English or French: `auto` follows `LC_ALL`, `LC_MESSAGES` or `LANG`, otherwise pick `en` or `fr` in the **Language** option (`/config`).

## Privacy

No personal data collected, sent or retained, no network requests. The mod reads the usage figures Claude Code provides and the locale variables, and keeps in the plugin's local storage the latest limits reading and, per session, recent context readings (deleted after 8 idle days).

## Credits and license

Weather, context and turns chart after Anthropic's **Token Weather** example ([claude-code-playground](https://github.com/anthropics/claude-code-playground), Apache-2.0). Limit gauges written after HolyGrail's **usage-meter** ([HolyGrail/claude-mods](https://github.com/HolyGrail/claude-mods/tree/main/plugins/usage-meter)), without copying its code. Apache-2.0 license: see [LICENSE](https://github.com/augiefra/claude-mods/blob/main/LICENSE) and [NOTICE](https://github.com/augiefra/claude-mods/blob/main/NOTICE).
