Claude Code 用量

作者 Narlei Moreira · v1.0.6

Deck macOS Claude Code
源代码

关于

在 Ulanzi Deck 上实时监控你的 Claude Code 订阅用量。显示 5 小时滚动限额和每周总限额(所有模型),按钮带有颜色阈值和重置倒计时。凭证安全地从 macOS 钥匙串读取——无需 API 密钥。

更新内容 — v1.0.6

## What's new?

- **Multilingual support.** The property inspector now displays in your system language. Supported languages: English, 简体中文, 繁體中文, 日本語, 한국어, Deutsch, Français, Español, and Português (Brasil). Falls back to English for unsupported locales.

## 1.0.3

- **Fixed the Weekly Limit display during rate limiting.** When Claude returns a 429, only the metric that was actually rejected now shows the "stopped" state — the other key keeps showing its real utilization and reset countdown instead of going blank.

## Installation

**Requirements:** macOS, Ulanzi Studio 3.0.11+, and Claude Code CLI signed in (`claude auth login`).

1. Download `com.claude.usage.ulanziPlugin.zip` below
2. Unzip and move the folder into:
   ```
   ~/Library/Application Support/Ulanzi/UlanziDeck/Plugins/
   ```
3. Quit and reopen Ulanzi Studio
4. Drag **5-hour Limit** or **Weekly Limit** from the **Claude Code** category onto a key

That's it — the button updates every 5 minutes. Click it any time to force a refresh.