monthly-report

Aggregate Claude Code monthly usage data and compute business share ratios.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/tomoya0318/dotfiles --skill monthly-report-tomoya0318
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monthly-report
Source: https://github.com/tomoya0318/dotfiles/tree/main/dot_claude/skills/monthly-report
Command: npx skills add https://github.com/tomoya0318/dotfiles --skill monthly-report-tomoya0318

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Claude Code の月次利用実績を自動的に集計し、家事按分割合(事業割合)を算出するレポートを作成します。

Core Features & Use Cases

  • 月次レポートの自動生成
  • 事業用フォルダ設定に基づく分類と按分計算
  • 標準出力表示とファイル出力(TXT/CSV)の双方をサポート

Quick Start

指定月を YYYY-MM 形式で渡してスクリプトを実行するだけで、対象月のレポートが生成されます。

Frequently Asked Questions about monthly-report

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

FAQPage Schema
How do I generate a monthly report for Claude Code token usage?

Generating a monthly usage report requires passing a target month in YYYY-MM format to the script. It aggregates Claude Code token data, computes the business share ratio, and outputs the report to stdout or an optional file directory.

How does business classification work for Claude Code usage data?

Business classification works by matching project paths against a configured folders list. The script categorizes Claude Code usage as business or non-business based on this list, then computes the corresponding share ratio for the monthly report.

Can I export my monthly token usage report to a CSV file?

Yes, you can export your monthly token usage report to a CSV file. The script supports TXT and CSV file export when the REPORT_OUTPUT_DIR environment variable is configured, alongside default stdout display.

Do I need any external dependencies to run the monthly data aggregation script?

No external dependencies are required to run the monthly data aggregation script. The Skill operates independently with its built-in scripts component to parse data, sum tokens, and compute the business share ratio without third-party packages.

What is the best way to automate monthly reporting for Claude Code projects?

Automating monthly reporting for Claude Code projects is best handled by a dedicated aggregation script. It parses token usage, applies business classification from a configured folders list, and generates a report with optional TXT or CSV file export.