usage_report
Generate per-project reports of tool-usage metrics and token consumption. Track context injection by tool, session, and client, view billed tokens from Claude and Codex, and review recent tool call trails and verification outcomes.
Instructions
Per-project tool-usage + token report. Layers: (1) codehelper OUTPUT — how much context each tool injected, by tool/session/client (claude-code/cursor/codex) — measurable for EVERY client; (2) Claude + Codex MODEL TOKENS — real billed tokens per session, parsed from Claude Code transcripts (/.claude) and Codex rollouts (/.codex); Cursor doesn't expose these locally. Also surfaces the last change-verification (verify/diagnostics) outcome and a recent-call trail. Read-only; never indexes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refs | No | How many recent tool calls to include in the trail (default 20; 0 disables) | |
| repo | No | Repository name (optional; defaults to current MCP workspace) | |
| format | No | Response text encoding: text (default, human-readable) | json | |
| verbose | No | Expand the recent-call trail to show each call's input + output preview (to review tool quality) |