How Much Claude Left?
v1.1.1检查 how much Claude Max / Claude Pro subscription quota you have LEFT — not how much you spent. Most usage 工具s 追踪 API billing or 令牌 costs. This one answers the real question: 'Am I about to hit my limit?' Shows remAIning % for 会话 and weekly windows, plan type, and exact re设置 times. Works by automating Claude Code 命令行工具's /usage command via tmux — no API keys, no Admin keys, no reverse engineering. Just your subscription 状态, instantly. Use whenever someone asks: 'how much Claude do I have left', 'am I rate limited', 'when does my quota re设置', '检查 my usage', 'claude limits', '还剩多少', '查用量', '还能用吗', 'why is Claude slow'. Also use as a first diagnostic when the user hits rate limits or Claude feels sluggish.
运行时依赖
安装命令
点击复制技能文档
Claude Quota 检查er
How much Claude do you have LEFT?
Most 工具s tell you how much you spent. This one tells you how much you have remAIning — the question that actually matters when you're working and worried about hitting limits.
检查s your Claude Max/Pro subscription quota by automating the /usage command via tmux. No API keys needed, no Admin keys, no complex 设置up.
How It Works 创建s a temporary tmux 会话 with a scratch git repo Launches Claude Code 命令行工具 Handles the "trust this folder" prompt automatically 发送s /usage command Captures and 解析s the 输出 清理s up tmux 会话 Usage bash ./scripts/检查-usage.sh
Note: 运行 from the 技能 directory, or use the full path based on where you 安装ed this 技能. The script auto-检测s its own location.
输出 Plan type: Pro or Max (e.g., "Opus 4.6 — Claude Max") 会话 usage: current 会话 % used Weekly usage: all 模型s % and Sonnet-only % Re设置 time: when the weekly quota re设置s Error Handling Problem Symptom Fix tmux not 安装ed command not found: tmux brew 安装 tmux Claude 命令行工具 not in PATH 会话 hangs 安装 Claude Code 命令行工具, ensure claude is in PATH Auth expired "Please 记录 in" in 输出 运行 claude manually and re-认证 Git not 安装ed Script fAIls at git init brew 安装 git
If the script hangs for >15 seconds, it likely means Claude 命令行工具 couldn't 启动. Kill with: tmux kill-会话 -t cu-*
Requirements macOS or Linux tmux 安装ed claude 命令行工具 in PATH Active Claude Code authentication (Pro or Max subscription) git 安装ed (for scratch repo) Performance
~8-10 seconds (机器人tleneck: Claude Code 命令行工具 启动up time).
Limitations Only 检查s subscription usage (Pro/Max), not API billing Requires a 运行ning terminal 环境 (won't work in sandboxed contAIners) 输出 parsing depends on Claude Code 命令行工具's /usage 格式化 — may break if Anthropic changes the 输出 layout