hoangsonww/data-export
> Export Claude Code session and analytics data in JSON, CSV, or Markdown formats. Supports exporting sessions, events, costs, and analytics for external analysis or reporting. Use for data backup or integration.
npx skills add https://github.com/hoangsonww/Claude-Code-Agent-Monitor --skill data-export
Export Agent Monitor data in various formats.
The user provides: $ARGUMENTS
This may be:
http://localhost:4820:GET /api/sessions?limit=1000GET /api/events?limit=5000GET /api/analyticsGET /api/pricing/costGET /api/settings/exportPretty-printed JSON with metadata header:
{
"export": {
"source": "Claude Code Agent Monitor",
"exported_at": "2025-04-11T12:00:00Z",
"filters": { "type": "sessions", "range": "last 7 days" },
"count": 42
},
"data": [...]
}
Standard CSV with headers, proper quoting, and ISO timestamps:
id,name,status,model,started_at,ended_at,duration_minutes,cost_usd
Human-readable tables with summary statistics:
# Agent Monitor Export — Sessions (Last 7 Days)
| ID | Name | Status | Model | Duration | Cost |
|...
**Total: 42 sessions, $12.34 cost**
Deliver the exported data in the requested format. Always include:
Take hoangsonww/data-export from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.