opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[Feature Request] Implement /stats command for visual usage insights (similar to Claude Code)

Open DevSissi opened this issue 2 weeks ago • 1 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Feature Request: I would like to request a visual statistics dashboard command (e.g., /stats), similar to the one implemented in Claude Code. Like this: Image

Proposed Functionality: When the user runs /stats, the interface should display a visual overview of their coding activity, including:

  1. Activity Heatmap: A GitHub-style contribution graph showing usage intensity over the last few months.
  2. Usage Metrics:
    • Total tokens used (e.g., "19.9m").
    • Favorite model usage.
    • Active days and current streaks.
  3. Session Insights:
    • Longest session duration.
    • Peak coding hours.
    • Fun comparisons (e.g., "You've used ~27x more tokens than War and Peace").

Why this is useful:

  • Transparency: Helps users track their API/Token consumption easily.
  • Gamification: Streaks and stats encourage users to stay engaged with the tool.
  • Insight: Helps users understand their peak productivity times.

This feature adds a polished, professional feel to the tool and greatly enhances the user experience.

DevSissi avatar Jan 03 '26 19:01 DevSissi