claude-usage

Query Claude Relay Service API endpoints to monitor usage and costs.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/WangJie-cn/clawdbot-skills --skill claude-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-usage
Source: https://github.com/WangJie-cn/clawdbot-skills/tree/main/claude-usage
Command: npx skills add https://github.com/WangJie-cn/clawdbot-skills --skill claude-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you track and understand your spending on the Claude Relay Service, preventing unexpected costs and providing insights into API consumption.

Core Features & Use Cases

  • API Usage Monitoring: Query daily and total usage statistics for your API keys.
  • Cost Tracking: Monitor current daily costs, total accumulated costs, and costs broken down by model.
  • Use Case: You need to check how much you've spent on Claude API calls today and which models are consuming the most budget.

Quick Start

Run the check-usage script with your API key to see your current Claude usage.

Frequently Asked Questions about claude-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor Claude API usage and costs?

You monitor Claude API usage by querying specific API endpoints with your API key to retrieve daily spending, total accumulated costs, and model-specific cost breakdowns.

What is the best way to track daily spending on the Claude Relay Service?

Tracking daily spending on the Claude Relay Service involves querying its API endpoints with an API key to retrieve current daily cost statistics and usage breakdowns.

Do I need an API key to check Claude usage statistics?

Yes, an API key is required to authenticate and retrieve user and model-specific statistics from the Claude Relay Service API endpoints.

Can I see a cost breakdown per model for my Claude API calls?

Yes, querying the API endpoints retrieves a cost breakdown per model, allowing you to see which models are consuming the most budget in your Claude API usage.

How does Claude API cost tracking work for preventing unexpected costs?

Claude API cost tracking works by querying API endpoints to monitor daily spending and total accumulated costs, providing consumption insights to prevent unexpected expenses.