Automate the retrieval of your Claude Max subscription usage limits and reset times via the Claude Code CLI.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-claude-usage
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-claude-usage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Claude Usage skill provides a programmatic way to interact with the Claude Code TUI to fetch real-time data on plan consumption. By leveraging the expect utility, it bypasses the interactive nature of the terminal interface to extract critical metrics about your current session and weekly quotas. This integration is a valuable addition to your suite of Openclaw Skills, ensuring you never hit unexpected rate limits during development.
It specifically targets the /usage command within Claude Code, which is traditionally only available through manual interaction. By automating this process, developers can maintain a clear view of their AI resource availability without leaving their primary terminal environment.
Ensure you have the expect utility installed on your system and that your Claude Code CLI is fully authenticated. This is a prerequisite for this particular entry in the Openclaw Skills collection.
# Install expect on macOS using Homebrew
brew install expect
# Verify Claude Code authentication status
claude auth status
Once installed, you can trigger the skill whenever you need to verify your subscription health.
The skill processes and returns a structured view of the following metrics extracted from the TUI:
| Metric | Description |
|---|---|
| Current session | Percentage of usage used in the active session and the immediate reset time. |
| Current week (all models) | Aggregate usage across all Claude models for the current billing week. |
| Current week (Sonnet only) | Specific usage tracking for the Claude 3.5 Sonnet model. |
| Extra usage | Status of paid or free usage buffers beyond the standard plan limits. |
Loading
A structured, 7-phase incident response framework for diagnosing and fixing OpenClaw system regressions and configuration failures.

A sophisticated multi-agent orchestration skill that automates the research, writing, and review of full-length technical books directly from code repositories.

Query any public GitHub repository to get AI-powered documentation and source code answers without needing an API key.

A high-speed CLI wrapper for Twitter/X that enables developers and AI agents to interact with the platform using GraphQL APIs.

A curated knowledge base and research tool for discovering, documenting, and sharing real-world automation scenarios powered by OpenClaw.

A streamlined environment for building and running ROSE-based source code analysis tools within a Docker container to ensure toolchain compatibility.








































