Agent skill · Data & Analytics

usage-trends

Analyze Claude Code usage trends over time using the Agent Monitor's analytics API — daily session counts, daily event counts, token volumes by type, model distribution, tool usage rankings, and agent/event type distributions across 365-day retention windows.

hoangsonww869★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill usage-trends --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Path: plugins/ccam-analytics/skills/usage-trends/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

# Usage Trends Analyze usage patterns and trends from the Agent Monitor analytics data. ## Input The user provides: **$ARGUMENTS** Options: "last 7 days", "last 30 days", "last quarter", "peak hours", "tool trends", "model usage". ## Data Sources | Endpoint | Returns | |----------|---------| | `GET /api/analytics` | Comprehensive analytics object (see schema below) | | `GET /api/stats` | `{ total_sessions, active_sessions, active_agents, total_agents, total_events, events_today, ws_connections, agents_by_status, sessions_by_status }` | | `GET /api/sessions?limit=200` | Full session records with timestamps and metadata | ### Analytics response schema (`GET /api/analytics`) ```json { "overview": { "total_sessions", "active_sessions", "active_agents", "total_agents", "total_events" }, "tokens": { "total_input": N, "total_output": N, "total_cache_read": N, "total_cache_write": N }, "tool_usage": [{ "tool_name": "...", "count": N }], // top 20 "daily_events": [{ "date": "YYYY-MM-DD", "count": N }], // 365 days "daily_sessions": [{ "date": "YYYY-MM-DD", "count": N }], // 365 days "agent_types": [{ "subagent_type": "task"|"explore"|null, "count": N }], "event_types": [{ "event_type": "Pre

What's inside
Steps it walks through
  1. Input
  2. Data Sources
  3. Analytics response schema (GET /api/analytics)
  4. Trend Analyses to Produce
  5. 1. Daily Activity Trend
  6. 2. Token Volume Trends
  7. 3. Tool Usage Ranking
  8. 4. Model Distribution
  9. 5. Session Health Distribution
  10. 6. Event Type Distribution
  11. Output
More from Claude-Code-Agent-Monitor
All skills →
About this skill
What does the usage-trends skill do?

Analyze Claude Code usage trends over time using the Agent Monitor's analytics API — daily session counts, daily event counts, token volumes by type, model distribution, tool usage rankings, and agent/event type distributions across 365-day retention windows.

How do I install it?

Run `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill usage-trends --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