Skip to content
Development
Command

/export

Export Claude Code session history as CSV or JSON

From plugin
claudetop
2125 skills5 commands3 hooks
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.md
description: 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
Stats
211
Stars
10
Forks
Maintained
Maintenance
Shell
Language
MIT
License
1mo ago
Last commit
4mo ago
Created

Repo: liorwn/claudetop