Agent skill · Data & Analytics

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.

hoangsonwwgithub.com/hoangsonwwGitHub ↗
claude-codeMIT
Install
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill data-export --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Path: plugins/ccam-devtools/skills/data-export/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 869
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Data Export Export Agent Monitor data in various formats. ## Input The user provides: **$ARGUMENTS** This may be: - A data type: "sessions", "events", "analytics", "costs", "all" - A format: "json", "csv", "markdown" (default: json) - A filter: "last 7 days", "session {id}", "completed only" - Combined: "sessions csv last 30 days" ## Procedure 1. **Parse the request** to determine: - Data scope: which data to export - Format: output format - Filters: time range, status, session ID 2. **Fetch data** from `http://localhost:4820`: - Sessions: `GET /api/sessions?limit=1000` - Events: `GET /api/events?limit=5000` - Analytics: `GET /api/analytics` - Costs: `GET /api/pricing/cost` - Full export: `GET /api/settings/export` 3. **Transform to requested format**: ### JSON Format Pretty-printed JSON with metadata header: ```json { "export": { "source": "Claude Code Agent Monitor", "exported_at": "2025-04-11T12:00:00Z", "filters": { "type": "sessions", "range": "last 7 days" }, "count": 42 }, "data": [...] } ``` ### CSV Format Standard CSV with headers, proper quoting, and ISO timestamps: ``` id,name,status,model,started_at,ended_at,duration_minutes,cost_usd ``` ### Markdown Format Human-read

What's inside
Steps it walks through
  1. Input
  2. Procedure
  3. Output Format
More from Claude-Code-Agent-Monitor
All skills →
About this skill
What does the data-export skill do?

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.

How do I install it?

Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill data-export --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From hoangsonww/Claude-Code-Agent-Monitor, a repository with 869 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going