cost-report

Analyzes Claude API usage costs and generates optimization recommendations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/This-HW/hantu_quant --skill cost-report-this-hw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cost-report
Source: https://github.com/This-HW/hantu_quant/tree/main/.claude/skills/cost-report
Command: npx skills add https://github.com/This-HW/hantu_quant --skill cost-report-this-hw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing Claude API usage costs and token consumption across models and agents to prevent budget overruns.

Core Features & Use Cases

  • Per-model and per-agent cost breakdown with trend analysis.
  • Monthly, weekly, and daily cost reporting with actionable optimization recommendations.
  • Data-driven cost optimization workflows and automated reporting integrations.

Quick Start

Generate a monthly Claude API cost report.

Frequently Asked Questions about cost-report

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

FAQPage Schema
How do I analyze Claude API token consumption and costs across different models?

You can analyze Claude API token consumption by parsing usage logs to compute per-model and per-agent cost breakdowns. This skill aggregates data to provide detailed expense reporting and trend analysis for your API usage.

Can I generate a monthly expense report for my Claude API usage?

Yes, you can generate a monthly Claude API expense report. The skill supports monthly, weekly, and daily cost scenarios by collecting and aggregating token consumption data into actionable reports.

What is the best way to optimize agent costs and prevent API budget overruns?

To optimize agent costs and prevent budget overruns, this skill analyzes per-agent cost breakdowns and generates data-driven optimization recommendations based on your specific API usage trends and token consumption patterns.

How does per-agent cost breakdown and trend analysis work for API usage?

Per-agent cost breakdown works by parsing your usage logs and computing totals for each agent. The skill then performs trend analysis on this aggregated data to identify patterns in your Claude API token consumption over time.

Do I need any specific dependencies or components to track API costs?

No specific dependencies or components are required to track API costs. The skill independently handles data collection, cost modeling, and reporting by parsing your existing Claude API usage logs.

Why should I use automated cost reporting for Claude API token consumption?

Automated cost reporting for Claude API token consumption provides actionable optimization recommendations and identifies usage trends. This helps you monitor expenses across agents and models to proactively prevent budget overruns.