Skip to content
Development
Command

/export

Export Claude Code session history as CSV or JSON

From plugin
claudetop
2126 skills6 commands3 hooks
> /plugin marketplace add liorwn/claudetop
> /plugin install claudetop@claudetop

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`

@liorwn
Ships withclaudetop

htop for your Claude Code sessions — real-time cost, cache efficiency, model comparison, and smart alerts

Stars on GitHub

Momentum

stars in total
212
Star history of liorwn/claudetop on GitHub, a chart by star-history.com

Other commands on claudetop.

dashboard

dashboard

Command

Open the claudetop web dashboard showing spending charts and session history

@liorwn@liorwnInstall Command
stats

stats

Command

Show Claude Code spending analytics (today/week/month/all/tag/branch)

@liorwn@liorwnInstall Command
usage

usage

Command

Show Claude plan usage windows (5h session, 7d all models, per-model weekly like Fable/Opus/Sonnet, extra-usage credits)

@liorwn@liorwnInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command