AgentsUsage
Description
A lightweight Windows system tray application that parses local Claude CLI and Codex usage logs, hosting an embedded web server. Easily track your token stats and daily metrics directly from the notification area or via a responsive dashboard on your phone. Includes quick tray controls to start, stop, or manage the running server.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
AgentsUsage
AgentsUsage is a local-first Go service for viewing Claude Code and Codex CLI token usage in one lightweight web dashboard. It reads usage metadata from local JSONL files, calculates API-equivalent cost estimates when a model has known pricing, and serves an embedded dashboard without Node.js, Electron, or a remote backend.
This repository is under active development. The first runnable milestone includes:
- Claude usage parsing from
~/.claude/projects/**/*.jsonl, including response-snapshot deduplication and cache read/write tokens. - Codex usage parsing from the allowlisted
~/.codex/sessions/**/*.jsonland~/.codex/archived_sessions/**/*.jsonltrees, including exactlast_token_usage, cumulative-counter fallback, and replay suppression. - Daily, 7-day, all-time, provider, and model aggregates.
- A recursive
fsnotifywatcher with periodic fallback scans. GET /api/status,GET /api/stats, and an embedded responsive dashboard.- JSON configuration with cross-platform home-directory expansion.
System tray controls and release packaging are the next implementation phase.
Run locally
Go 1.22 or newer is required.
go mod download
go run ./cmd/agentsusage
Open [http://localhost:8787](http://localhost:8787). By default, the server binds to `0.0.0.0`, so another device on the same trusted network can use `http://:8787`.
The first run creates a config file in the operating system's user config directory:
- Windows:
%AppData%\agentsusage\config.json - macOS:
~/Library/Application Support/agentsusage/config.json - Linux:
${XDG_CONFIG_HOME:-~/.config}/agentsusage/config.json
{
"server": {
"host": "0.0.0.0",
"port": 8787,
"autoStart": true
},
"paths": {
"claudeLogs": "~/.claude/projects",
"codexLogs": "~/.codex"
},
"refreshIntervalSeconds": 10
}
Use a custom config with:
go run ./cmd/agentsusage -config /path/to/config.json
If `server.autoStart` is fa
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11