Session Report
Generates an explorable HTML usage report from local Claude Code session transcripts, with anomaly callouts.
- CCM score
- 80 of 100
- skills.sh installs
- 5K
- GitHub stars
- 48.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers token totals, cache hit rates, subagent and skill usage, and the most expensive prompts across projects
- Runs a bundled
analyze-sessions.mjsover~/.claude/projectstranscripts, defaulting to the last 7 days with24h,30d, orallwindows - Embeds the results in a bundled self-contained template that renders sortable tables, bars, and drill-downs in the browser
- Designed for developers who want to see where their Claude Code token spend is going
Install
$ npx -y skills add anthropics/claude-plugins-official --skill session-report -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Session Report
Produce a self-contained HTML report of Claude Code usage and save it to the current working directory.
Steps
-
Get data. Run the bundled analyzer (default window: last 7 days; honor a different range if the user passed one, e.g.
24h,30d, orall). The scriptanalyze-sessions.mjslives in the same directory as this SKILL.md — use its absolute path:node <skill-dir>/analyze-sessions.mjs --json --since 7d > /tmp/session-report.jsonFor all-time, omit
--since. -
Read
/tmp/session-report.json. Skimoverall,by_project,by_subagent_type,by_skill,cache_breaks,top_prompts. -
Copy the template (also bundled alongside this SKILL.md) to the output path in the current working directory:
cp <skill-dir>/template.html ./session-report-$(date +%Y%m%d-%H%M).html
Details
- Repository
- github.com/anthropics/claude-plugins-official
- Categories
- Memory & Context, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the session-report skill do?
The session-report skill generates an explorable HTML report of Claude Code session usage, covering tokens, cache, subagents, skills and expensive prompts. It reads transcripts from ~/.claude/projects and saves the report to the current working directory. The default window is the last 7 days, and a different range can be requested.
How do I install the session-report skill?
Run npx -y skills add anthropics/claude-plugins-official --skill session-report -y in a project to install it. Once installed, the agent can produce a self-contained HTML usage report from your Claude Code transcripts.
Where does session-report sit among Memory & Context skills?
On the Memory & Context category page, session-report ranks in the top 50. Other skills in that category include handoff, caveman-compress, caveman-stats, caveman-learn and caveman-optimize. Session-report differs by focusing on usage analytics of past Claude Code sessions rather than carrying context forward.
What does the session-report skill need to run?
It needs a local Claude Code transcript history under ~/.claude/projects and Node.js, since the bundled analyze-sessions.mjs script runs it. The report is written as a file in your current working directory.
More from anthropics/claude-plugins-official
All 23- M5 Onboard4.2K
- Cardputer Buddy4.2K
- Example Skill215
- Frontend Design20.4K
- Claude Md Improver16.3K
- Claude Automation Recommender12.8K
- Playground9.3K
- Skill Creator9.1K
- Agent Development8.8K
- Skill Development8.7K
- Hook Development8.4K
- Mcp Integration8.3K
- Command Development8.3K
- Writing Hookify Rules8.2K
- Plugin Structure8.2K
- Plugin Settings8.1K
- Build Mcp Server8.1K
- Build Mcp App7.8K
- Build Mcpb7.6K
- Math Olympiad5.4K
- Configure5.2K
- Access5.1K
Similar to Session Report
More Memory & Contextccam-analyticsPluginhoangsonww/Claude-Code-Agent-Monitor1.2K starsDeep analytics and monitoring for Claude Code sessions — cost tracking, token usage breakdowns, usage trends, and productivity scoring powered by Agent Monitor.
caveman-statsSkilljuliusbrussee/caveman400.9K installsShows recorded token usage and mode attribution for the current session, with savings reported as unknown.
tldr-statsSkillparcadei/continuous-claude-v3478 installsLive dashboard of session token usage, API costs, TLDR compression savings, and hook activity for Claude Code.
McpspendMCP serverandreisirbu91-lab59 starsCost and usage data from MCPSpend: today's spend, monthly limits, top tools, and sessions.
cost-trackSkillruvnet/ruflo685 installsCaptures per-session Claude Code token usage and USD cost into the cost-tracking namespace for reporting.