Cc Session Stats — Productivity skill for Claude Code
See how much time you actually spend with Claude Code.
How to install Cc Session Stats
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yurukusa/cc-session-stats and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cc Session Stats does
See how much time you actually spend with Claude Code. Session durations, daily patterns, health warnings.
Alternatives in Productivity
- Linear - Ticket Management — You are tasked with managing Linear tickets, including creating tickets from thoughts documents, updating exis 10k ★
- Ccplugins — Claude Code Plugins that actually save time 2.7k ★
- Tradingview MCP — Real-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick p 2.6k ★
README
cc-session-stats
See how much time you actually spend with Claude Code.
**Try it in your browser:** [yurukusa.github.io/cc-session-stats](https://yurukusa.github.io/cc-session-stats/)
npx cc-session-stats
What it shows
- Total sessions and hours
- Average session duration
- Longest session (your personal record)
- Hours by day of week
- Active hours heatmap
- Project breakdown
- Consecutive day streak
- Health warnings when usage looks concerning
Sample output
Claude Code Session Stats v1.0
═══════════════════════════════════════
Scanning: ~/.claude/projects/
▸ Overview
Sessions: 3396
Total hours: 101h
Active days: 47 / 50 days
First seen: 2026-01-10
Last seen: 2026-02-28
▸ Averages
Per session: 0.0h
Per day: 2.1h
Last 7 days: 23.4h across 8 days
▸ Longest Session
2.7h on 2026-02-28 — cc-loop
▸ Hours by Day of Week
Sun ███████████████ 20.3h
Mon █████████████░░ 17.2h
...
▸ Streak
Longest consecutive days: 35
▸ Health Warnings
⚠ 35 consecutive days of AI usage. Rest days exist for a reason.
▸ Tips
→ Schedule at least one AI-free day per week.
→ Stretch your hip flexors. They're angry. Trust me.
JSON output
For CI pipelines, dashboards, or programmatic use:
npx cc-session-stats --json
Outputs structured JSON to stdout:
{
"version": "1.0",
"totalSessions": 3405,
"totalHours": 102.12,
"activeDays": 47,
"totalDaysSpan": 50,
"firstSeen": "2026-01-10",
"lastSeen": "2026-02-28",
"averages": { "perSession": 0.03, "perDay": 2.17 },
"longestSession": { "hours": 3.89, "date": "2026-02-28", "project": "cc-loop" },
"hoursByDayOfWeek": { "Sun": 20.27, "Mon": 17.2, "..." : "..." },
"topProjects": [{ "name": "~", "hours": 89.47 }, "..."],
"streak": 35,
"healthWarnings": ["35 consecutive days of AI usage. Rest days exist for a reason."],
"last7Days": { "hours": 24.72, "activeDays": 8 }
}
``
Related Skills
Launch MCP Demo
This is probably the simplest MCP demo to show you what it actually does. I think this is a cool tech and will
Jobbox
Every command your agent runs is wrapped; the slow ones put themselves in the BACKGROUND and tell you when the
Agentic Agent Dashboard
Real-time call center workforce dashboard — an autonomous team wallboard showing every agent's live status, ca
Chronos
Show where this session's time actually went - active time, per-tool breakdown, repeated calls, slowest calls,
Claude Timings Wrapper
Tracks idle, typing, and agent work time across Claude Code sessions using PTY wrapping and native hooks. Prov
Claude Code Dashboard
A lightweight localhost dashboard that monitors multiple Claude Code sessions in real-time. See token usage, c
Related Agents
Pipeline Icp Mapper
Growth-pipeline Agent 3. Use to map a startup's product, competitor landscape, and user base to platforms — wh
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Pattern Consolidator
Sleep-time memory compute. Reads daily notes + subagent logs from the last 7 days, identifies recurring patter