claude-usage
Check Claude Code / Claude Max usage limits. Run when user asks about usage, limits, quota, or how much Claude capacity is left.
Best use case
claude-usage is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Check Claude Code / Claude Max usage limits. Run when user asks about usage, limits, quota, or how much Claude capacity is left.
Teams using claude-usage should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/claude-usage-checker/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How claude-usage Compares
| Feature / Agent | claude-usage | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Check Claude Code / Claude Max usage limits. Run when user asks about usage, limits, quota, or how much Claude capacity is left.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Claude Usage Checker Launches the Claude CLI interactively (PTY) and reads the `/usage` output to report your Claude Code / Claude Max quota. ## Prerequisites - **Claude CLI** must be installed (`npm i -g @anthropic-ai/claude-code`) and logged in - If running `claude` shows "Missing API key", the user must log in manually first: open a terminal, run `claude`, and complete the browser login flow - Requires an interactive PTY — the agent will launch a local process and read its output (quota info only) ## Steps 1. Launch `claude` with PTY 2. Wait for the welcome screen (poll until it appears) 3. Send `/usage` + Enter 4. Read the output (poll until usage data appears) 5. Close with Escape then `/exit` 6. Report the results ## Commands ```bash # Launch claude with PTY exec pty=true command="claude" # Wait and check log process action=poll sessionId=XXX timeout=5000 # Send /usage process action=send-keys sessionId=XXX literal="/usage" process action=send-keys sessionId=XXX keys=["Enter"] # Read output process action=poll sessionId=XXX timeout=5000 # Exit process action=send-keys sessionId=XXX keys=["Escape"] process action=send-keys sessionId=XXX literal="/exit" process action=send-keys sessionId=XXX keys=["Enter"] ``` ## Notes - If you see "Missing API key" → tell the user to log in; browser-based login won't work headlessly - Allow a few seconds between polls — Claude CLI starts slowly - "Current week" = weekly reset, not daily ## Output Format Report in a table: | | Usage | Resets | |---|---|---| | **Current session** | X% used | today at HH:MM (timezone) | | **Weekly (all models)** | X% used | HH:MM (timezone) | | **Weekly (Sonnet only)** | X% used | HH:MM (timezone) | | **Extra usage** | X% used / $X of $Y spent | date (timezone) | Always show reset times. The CLI displays them as "Resets Xpm" — convert to HH:MM format.
Related Skills
afrexai-claude-code-production
Complete Claude Code productivity system — project setup, prompting patterns, sub-agent orchestration, context management, debugging, refactoring, TDD, and shipping 10X faster. Zero scripts needed.
ask-claude
Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).
claude-audit
Full project audit — launches 5 parallel AI agents (security, bugs, dead code, architecture, performance) to scan your codebase read-only, then compiles a unified report with health grade (A+ to F) and offers surgical fixes. Language-agnostic. Zero config.
model-usage
Summarize per-model usage for Codex or Claude including cost tracking. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Claude Skills 开发框架架构指导手册
## 1. 项目概述 (Overview)
claude-code-usage
Check Claude Code OAuth usage limits (session & weekly quotas). Use when user asks about Claude Code usage, remaining limits, rate limits, or how much Claude usage they have left. Includes automated session refresh reminders and reset detection monitoring.
ClaudeHemat
# Introduction
claude-code-cli
Delegate coding tasks to Claude Code CLI via background process. Use when: building features, reviewing PRs, refactoring codebases, or iterative coding that needs file exploration. Supports interactive PTY mode for confirmations/permissions and headless pipe mode for automation. NOT for: simple one-liner fixes (just edit), reading code (use read tool), or any work in ~/.openclaw/ workspace.
Claude Code CLI for OpenClaw
Install, authenticate, and use Claude Code CLI as a native coding tool for any OpenClaw agent system.
claude-relay
Relay operator for Claude Code via tmux across multiple projects. Use when the user wants to start/continue a Claude Code terminal session, send prompts, read output, or manage background Claude sessions by project name/path.
minimax-usage
查询 MiniMax Token Plan 剩余用量。slash command。 查询 MiniMax Token Plan 剩余次数和重置时间,支持 M2.7/Speech/视频/图片/音乐等模型的用量查询。 Query MiniMax Token Plan usage and reset time. Supports M2.7, Speech, Video, Image, and Music models.
gmncode-usage
通过 HTTP 接口查询 GMNCODE / gmncode.cn 中转站的大模型用量,包括 dashboard 汇总、每日趋势、按模型拆分的 token 与费用数据。当用户要求查看 GMNCODE token 用量、每日模型消耗、API/中转站花费、dashboard 用量,或希望用脚本/HTTP 接口直接获取 GMNCODE 使用数据而不是手动打开网页时使用。