Expose session statistics in Stop hook

Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Apr 10, 2026 · closed Apr 13, 2026

Claude Code should expose session statistics when the Stop hook fires (session exit), allowing users to display summary stats.

Requested statistics:

  • Number of messages sent/received
  • Tokens used (input and output)
  • Session duration
  • Files modified (created, edited, deleted)

This would enable users to build custom status reporting or analytics on session completion.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗