# Monitor Claude Code and Codex local usage logs for spend, model mix, and session burn with ccusage

> Use ccusage when an agent operator needs to turn local Claude Code or Codex usage logs into spend and usage reports instead of manually reading raw JSONL files.

- Skill: `agentskillexchange/monitor-claude-code-and-codex-local-usage-logs-for-spend-mod` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/monitor-claude-code-and-codex-local-usage-logs-for-spend-mod`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/monitor-claude-code-and-codex-local-usage-logs-for-spend-mod/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/monitor-claude-code-and-codex-local-usage-logs-for-spend-mod

---


# Monitor Claude Code and Codex local usage logs for spend, model mix, and session burn with ccusage

Use ccusage when an agent operator needs to turn local Claude Code or Codex usage logs into spend and usage reports instead of manually reading raw JSONL files.

## Prerequisites

Local Claude Code or Codex usage logs, ccusage, and shell access on the machine that stores the logs.

## Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

- Source: https://github.com/ryoppippi/ccusage

## Documentation

- https://github.com/ryoppippi/ccusage#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/monitor-claude-code-and-codex-local-usage-logs-for-spend-model-mix-and-session-burn-with-ccusage/)

