Skills for Real Engineers. Straight from my .agents directory.
data-export
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
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 to install data-export
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-devtools/skills/data-export/
# into
~/.claude/skills/data-export/ (all projects)
.claude/skills/data-export/ (one project)
1# Data Export23Export Agent Monitor data in various formats.45## Input67The user provides: **$ARGUMENTS**89This may be:10- A data type: "sessions", "events", "analytics", "costs", "all"11- A format: "json", "csv", "markdown" (default: json)12- A filter: "last 7 days", "session {id}", "completed only"13- Combined: "sessions csv last 30 days"1415## Procedure16171. **Parse the request** to determine:18 - Data scope: which data to export19 - Format: output format20 - Filters: time range, status, session ID21222. **Fetch data** from `http://localhost:4820`:23 - Sessions: `GET /api/sessions?limit=1000`24 - Events: `GET /api/events?limit=5000`25 - Analytics: `GET /api/analytics`26 - Costs: `GET /api/pricing/cost`27 - Full export: `GET /api/settings/export`28293. **Transform to requested format**:3031 ### JSON Format32 Pretty-printed JSON with metadata header:33 ```json34 {35 "export": {36 "source": "Claude Code Agent Monitor",37 "exported_at": "2025-04-11T12:00:00Z",38 "filters": { "type": "sessions", "range": "last 7 days" },39 "count": 4240 },41 "data": [...]42 }43 ```4445 ### CSV Format46 Standard CSV with headers, proper quoting, and ISO timestamps:47 ```48 id,name,status,model,started_at,ended_at,duration_minutes,cost_usd49 ```5051 ### Markdown Format52 Human-readable tables with summary statistics:53 ```markdown54 # Agent Monitor Export — Sessions (Last 7 Days)55 | ID | Name | Status | Model | Duration | Cost |56 |...57…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
