If you're running Agent Monitor locally and want to understand where your AI budget is actually going, this compiles everything into a readable weekly digest. It hits the analytics API to pull session counts, token volumes, per-session costs, and tool usage, then structures it into week-over-week comparisons with daily breakdowns and actionable recommendations. The output is table-heavy with emoji section headers, which makes it easy to scan during standups or retrospectives. Most useful if you're tracking multiple agents or workflows and need to spot cost spikes, error patterns, or workflow inefficiencies before they become problems. It defaults to the current week but accepts "last week" or custom date ranges.

GitHub stars
455
last updated
Jun 11, 2026

Install

$ npx -y skills add hoangsonww/claude-code-agent-monitor --skill weekly-report --agent claude-code

Installs into .claude/skills of the current project.

Files

Weekly Report

Generate a comprehensive weekly productivity report from Agent Monitor data.

Input

The user provides: $ARGUMENTS

This may be:

  • "this week" or empty (default: current week Mon-Sun)
  • "last week" for the previous week
  • A date range: "2025-04-07 to 2025-04-13"

Procedure

  1. Fetch weekly data from http://localhost:4820:

    • GET /api/sessions?limit=200 — filter to target week (default sort: most recently updated first)
    • GET /api/analytics — aggregated analytics
    • GET /api/pricing/cost — cost data
  2. Build the weekly report:

    📊 Week at a Glance

    MetricThis WeekLast WeekChange
    SessionsNN↑/↓ N%
    Total HoursNN↑/↓ N%
    Tokens UsedNN↑/↓ N%
    Total Cost$X.XX$X.XX↑/↓ N%
    Completion RateN%N%↑/↓

    🏆 Highlights

    • Most productive day (by sessions completed)
    • Longest session and what it accomplished
    • Most used tools and any new tools adopted
    • Notable achievements (complex tasks completed, errors resolved)

Sponsors

Details

Repository
github.com/hoangsonww/claude-code-agent-monitor
Categories
DevOps & CI/CD, AI & Agent Building
License
MIT
First seen
Jun 11, 2026

More from hoangsonww/claude-code-agent-monitor

All 24
1hoangsonww avatarworkflow-optimizerhoangsonww/claude-code-agent-monitor>0skills.sh installs
2microsoft avatarazure-cloud-migratemicrosoft/azure-skillsAssess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/606.9Kskills.sh installs
3google avatargoogle-agents-cli-evalgoogle/agents-cliThis skill should be used when the user wants to "run an evaluation", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval r558.9Kskills.sh installs
4xixu-me avatarxgetxixu-me/skillsUse when tasks involve Xget URL rewriting, registry/package/container/API acceleration, integrating Xget into Git, download tools, package managers, container b517.1Kskills.sh installs
5scrapegraphai avatarjust-scrapescrapegraphai/just-scrapeSearch, scrape, crawl, extract structured data, and monitor web pages via the ScrapeGraph AI CLI. Use when the user asks to search the web, scrape a webpage, gr245Kskills.sh installs
6firebase avatarfirebase-app-hosting-basicsfirebase/agent-skillsDeploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angul176.9Kskills.sh installs