Compile Metrics — Development skill for Claude Code
Aggregate session delta files into the canonical usage-stats.toml.
How to install Compile Metrics
Installs to ~/.claude/commands/lucasxf-engineering-daybook-compile-metrics.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lucasxf/engineering-daybook/HEAD/.claude/commands/compile-metrics.md -o ~/.claude/commands/lucasxf-engineering-daybook-compile-metrics.md Restart Claude Code, or start a new session, for it to be picked up.
What Compile Metrics does
description: Aggregate session delta files into the canonical usage-stats.toml argument-hint:
**Compile Session Metrics Workflow**
Aggregates all per-session delta files from `.claude/metrics/sessions/` into the canonical `.claude/metrics/usage-stats.toml`. Run this on `develop` after feature PRs are merged.
Execute the following steps in order:
0. Sync Automation Registry
Before compiling, run the registry sync script to keep KNOWN_AGENTS, KNOWN_COMMANDS, and docu
Alternatives in Development
- Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
- Sniffly — Claude Code dashboard with usage stats, error analysis, and sharable feature 1.2k ★
- Maestro Ralph — Closed-loop policy over the canonical Session/Run chain 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
AgentsUsage
A lightweight Windows system tray application that parses local Claude CLI and Codex usage logs, hosting an em
Orch Stats
Show orchestrator metrics — gate denials, routing mix by class and tier, spawns per session, clarify misses —
Author Config Workbook
/author-config-workbook — Compile the canonical 10-section Salesforce Configuration Workbook
Claude Code Leaderboard
This CLI automatically monitors your token usage and posts your stats to the leaderboard after each Claude Cod
Tldr Stats
Real session token usage + lifetime savings + USD estimate. Shareable line via --share.
Catalyst Stats
Show a compact read-only report of the current session — approximate token usage (exact when transcript usage
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Cost Estimator
Estimates Cloudflare Workers costs before deploying. Reads wrangler.toml, counts D1 tables/rows, estimates KV/
Impl Serialization
Reviews implementation plans from a serialization and data format perspective. Use when evaluating serde usage