[FEATURE] Headless / exportable /stats (--json and image export)

Status Closed — not planned
Maintainer reply None cached
Activity 1 comment · opened Jun 12, 2026 · closed Jul 24, 2026

Problem / use case

/stats only renders inside the interactive TUI — there is no non-interactive output, so it can't be automated (e.g., a weekly scheduled job that posts your stats card to Slack). I had to reverse-engineer ~/.claude/stats-cache.json to reproduce the card.

Proposed

A non-interactive claude stats that supports:

  • --json for machine-readable metrics, and
  • an image export (e.g. --output png) of the card,

so the exact /stats snapshot can be generated and sent programmatically on a schedule.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗