Skip to content
Development
Command

/export

Export Claude Code session history as CSV or JSON

From plugin
claudetop
2126 skills6 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
212
Stars
10
Forks
Active
Maintenance
Shell
Language
MIT
License
14d ago
Last commit
6mo ago
Created

Repo: liorwn/claudetop

Other commands on claudetop.