export

Export Claude Code session history as CSV or JSON

claudetop-export

Export session history for analysis in spreadsheets or external tools.

If no format specified, default to csv.

claudetop-stats export $ARGUMENTS

Show the first 10 lines of output. Tell the user they can redirect to a file: claudetop-stats export csv > ~/costs.csv