Showcase your AI pair usage — SVG cards, résumés, and more.
| SVG Card | Résumé (PDF) |
|---|---|
npx @eat-pray-ai/wingman card |
npx @eat-pray-ai/wingman resume |
| Agent | Data Source | Format |
|---|---|---|
| Claude Code | ~/.claude/projects/*/*.jsonl |
JSONL |
| opencode | ~/.local/share/opencode/opencode.db |
SQLite |
| Gemini CLI | ~/.gemini/tmp/*/chats/session-*.json |
JSON |
| Codex | ~/.codex/state_5.sqlite |
SQLite |
| GitHub Copilot | VS Code workspaceStorage/ + globalStorage/state.vscdb |
JSON + SQLite |
| Cursor | usage-events*.csv (recommended); state.vscdb fallback |
CSV + SQLite |
| MORE | Coming soon! | TBD |
# Generate an SVG stats card (last 90 days)
npx @eat-pray-ai/wingman card
# Generate a rendercv-compatible YAML résumé (last 180 days)
npx @eat-pray-ai/wingman resume# All agents, last 90 days (default)
wingman card
# Specific agents, custom output
wingman card --agents claude-code,opencode -o my-stats.svg
# Date range
wingman card --since 2026-01-01 --until 2026-03-30
# Last 7 days with specific theme
wingman card --days 7 --theme github-dark
# Cursor: recommended usage-events CSV (or drop usage-events*.csv in cwd)
wingman card --agents cursor --cursor-usage-csv ./usage-events-2026-07-25.csv| Flag | Short | Default | Description |
|---|---|---|---|
--output |
-o |
wingman.svg |
Output file path |
--theme |
-t |
github-dark |
Theme name |
--agents |
all detected | Comma-separated agent filter | |
--since |
90 days ago | Start date (YYYY-MM-DD) | |
--until |
today | End date (YYYY-MM-DD) | |
--days |
90 |
Last N days shorthand | |
--sections |
all | Comma-separated sections to include | |
--cursor-usage-csv |
auto / none | Cursor usage-events CSV (recommended) |
The default github-dark theme renders:
- Header — title + date range
- Top Stats — tokens (input/output/cache breakdown), estimated cost, sessions
- Agent Legend — color-coded bars showing share per agent
- Charts — donut chart (token types) + sparkline (daily activity) + model breakdown bars
- Activity Heatmap — GitHub-style contribution grid for daily usage
- Inventory — plugins, MCP servers, and skills detected across agents
- Footer — branding
# All agents, last 180 days (default)
wingman resume
# Custom name and headline
wingman resume --name "My Team" --headline "AI Development"
# Specific output path
wingman resume -o my-resume.yaml| Flag | Short | Default | Description |
|---|---|---|---|
--output |
-o |
resume.yaml |
Output file path |
--name |
Wingman |
Résumé name | |
--headline |
Your AI agents, one résumé |
Résumé headline | |
--agents |
all detected | Comma-separated agent filter | |
--since |
180 days ago | Start date (YYYY-MM-DD) | |
--until |
today | End date (YYYY-MM-DD) | |
--days |
180 |
Last N days shorthand | |
--cursor-usage-csv |
auto / none | Cursor usage-events CSV (recommended) |
The generated YAML follows the rendercv schema with sections:
- Summary — agent count, total tokens, sessions, cost
- Experience — one entry per agent (sorted by usage), with model breakdowns
- Education — models grouped by AI lab (Anthropic, Google, OpenAI, etc.)
- Technologies — plugins, MCP servers, skills inventory
Render ai résumé at rendercv.com.
Agent Adapters → UsageRecord[] → Aggregator → ShowcaseData → Renderer → SVG / YAML
- Agent adapters read local data from each AI coding agent (JSONL, SQLite, JSON)
- Aggregator groups by agent, calculates totals, builds per-model and daily breakdowns
- Pricing engine fetches model costs from models.dev (24h disk cache) to estimate spend
- Renderers produce output:
- Theme renderer → self-contained SVG string (embeddable anywhere)
- Résumé renderer → rendercv-compatible YAML
npm install
npm run dev -- card --days 30 # run directly via tsx
npm run dev -- resume # generate résumé YAML
npm run build # bundle to dist/
npx tsc --noEmit # type-check
npm test # vitestSee AGENTS.md for code style and architecture details.
- Create
src/agents/my-agent.tsimplementingAgentAdapter - Register in
src/agents/registry.ts
- Create
src/themes/my-theme/index.tsimplementingThemeRenderer - Register in
src/themes/registry.ts
MIT