SkillAgentSearch skills...

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.

Install / Use

npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill data-export

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

85/100

Category

Operations

Supported Platforms

Claude Code

Tags

Our assessment of data-export

data-export scores 85/100 on our quality scale, 497th of 736 Operations skills we index.

Its SKILL.md is 2.1 KB long, split into 4 sections and no code examples: moderately detailed.

With 1,015 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
20/30
Structure
8/20
Description
15/15
Adoption
13/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 12 days ago, so data-export is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

data-export compared with similar skills

All 4 of these similar skills score higher than data-export; compare them before choosing.

SkillScoreStarsUpdatedFormat
data-export (this skill)by hoangsonww851.0k12d agoSKILL.md
algorithmic-artby anthropics100177.9k14d agoSKILL.md
pptxby anthropics100177.9k14d agoSKILL.md
designby nextlevelbuilder100130.2k15d agoSKILL.md
ui-ux-pro-maxby nextlevelbuilder100130.2k15d agoSKILL.md

Frequently asked questions

How do I install data-export?
Run npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill data-export. The install tabs above show the steps for each supported agent.
Which AI agents does data-export work with?
It is written for Claude Code, as a SKILL.md file. Other agents that read the same format can often use it too.
Is data-export safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is data-export still maintained?
The repository was last updated 12 days ago, so data-export is actively maintained.

name: data-export description: > 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.

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:

    {
      "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-readable tables with summary statistics:

    # Agent Monitor Export — Sessions (Last 7 Days)
    | ID | Name | Status | Model | Duration | Cost |
    |...
    **Total: 42 sessions, $12.34 cost**
    
  4. Output the data:

    • For small exports (<100 rows): output directly
    • For large exports: save to file and report the path
    • Include row count and any filter notes

Output Format

Deliver the exported data in the requested format. Always include:

  • Export metadata (when, what, filters applied)
  • Row/record count
  • Suggested filename for saving

Related Skills

View on GitHub
GitHub Stars1.0k
CategoryOperations
Updated12d ago
Forks238

Languages

JavaScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions