Development
Command
/export
Export Claude Code session history as CSV or JSON
Install
> /plugin marketplace add liorwn/claudetop > /plugin install claudetop@claudetop
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/export
Context preview
What this command does when you run it.
Export Claude Code session history as CSV or JSON
Command definition
export.mddescription: Export Claude Code session history as CSV or JSON argument-hint: "<csv|json> [--today|--week|--month|--tag <name>]" allowed-tools: - Bash
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`
Ships withclaudetop
htop for your Claude Code sessions — real-time cost, cache efficiency, model comparison, and smart alerts
Get the whole plugin
Other commands on claudetop.
- /branch
Show Claude Code costs per git branch / PR
Open command - /dashboard
Open the claudetop web dashboard showing spending charts and session history
Open command - /pricing
Update Claude model pricing to latest rates
Open command - /stats
Show Claude Code spending analytics (today/week/month/all/tag/branch)
Open command

