AgentReadyHomeAgent Listing

← Agent Listing

ccusage

Agent PluginsFreeOpen Source

CLI tool that analyzes Claude Code / Codex token usage and cost from local JSONL logs; ships a statusline hook.

🛡️ AgentReady threat assessment

MAESTRO 7-layer threat model + OWASP AIVSS risk score for ccusage, derived from its capabilities.

AIVSS 5.8 · Medium
View MAESTRO 7-layer threat model →

Overview

ccusage reads local Claude Code JSONL usage logs and reports daily, weekly, monthly, session, and 5-hour-block token usage and cost. It exposes a `ccusage statusline` command designed to be wired into Claude Code's statusLine hook, and is commonly embedded in other statusline plugins. Its surface is a locally-run script fed by hook input reading the session transcript.

Key features

Use cases