Loading documentation...
Loading documentation...
Track tool usage across sessions with rich terminal visualizations. Pie charts, braille progress bars, and ASCII art headers make monitoring usage patterns intuitive and beautiful.
1usage_stats({ action: "view" })Returns a rich terminal visualization with:
1usage_stats({ action: "reset" })Clears all statistics for the current repository. Useful when starting a new project phase.
| Parameter | Type | Default | Description |
|---|---|---|---|
| action | "view" | "reset" | required | View stats or reset them |
| scope | "current" | "all" | "current" | Current repo or all repos |
| format | "table" | "json" | "table" | Output format |
Statistics are tracked per repository by default. This helps you understand usage patterns for specific projects.
1// Default - stats for current repo only2usage_stats({ action: "view", scope: "current" })1// Aggregate stats across all repos2usage_stats({ action: "view", scope: "all" })Human-readable ASCII table with bar charts. Best for quick overview in Claude/Cursor.
1usage_stats({ action: "view", format: "json" })Machine-readable JSON for integration with other tools or dashboards:
1{2 "repo": "/path/to/project",3 "period": "2025-12-28",4 "tools": {5 "grok_reason": { "calls": 12, "tokens": 24500, "cost": 0.49 },6 "gemini_brainstorm": { "calls": 8, "tokens": 18200, "cost": 0.36 },7 "perplexity_ask": { "calls": 6, "tokens": 12100, "cost": 0.24 }8 },9 "totals": { "calls": 63, "tokens": 67500, "cost": 1.09 }10}Usage stats now includes rich terminal visualizations:
~/.tachibot-usage.json. Core tools (think, nextThought) are free and don't add to cost.Control usage tracking behavior with environment variables:
1# Enable/disable usage tracking (default: true)2TACHIBOT_USAGE_TRACKING=true3 4# Show model tags in output (default: true)5TACHIBOT_SHOW_MODEL_TAGS=true6 7# Show receipt after tool calls (default: false)8TACHIBOT_SHOW_RECEIPT=true9 10# Enable/disable BigText ASCII headers (default: true)11TACHIBOT_BIG_HEADERS=falsescope: "all" to see which projects consume most