By reidsolon
Track and display agent/skill invocation stats per session with a dashboard-style /session-stats command
Track and display agent/skill invocation stats per session with a dashboard-style /session-stats command.
Add the marketplace to your settings, then enable:
{
"extraKnownMarketplaces": {
"session-stats": {
"source": {
"source": "github",
"repo": "YOUR_USERNAME/session-stats-plugin"
}
}
},
"enabledPlugins": {
"session-stats@session-stats": true
}
}
claude --plugin-dir ~/Desktop/session-stats-plugin
/session-stats
Displays a dashboard like:
╭─ Session Stats ──────────────────────────────────────╮
│ │
│ Session 05a8d9db │
│ Duration 45m 30s │
│ Activity 3 agents · 6 skills · 4 tasks │
│ │
│ AGENTS │
│ laravel-expert 2 ━━━━━━━━━━━━━━━ │
│ claude-code-guide 1 ━━━━━━━ │
│ │
│ SKILLS │
│ git-actions 3 ━━━━━━━━━━━━━━━ │
│ backend-testing 2 ━━━━━━━━━━ │
│ lego-modules 1 ━━━━━ │
│ │
│ TIMELINE │
│ 05:44 ▹ skill lego-modules │
│ 05:46 ▸ agent laravel-expert │
│ 05:49 ✓ task Implement user endpoint │
│ 05:50 ▹ skill git-actions │
│ │
╰──────────────────────────────────────────────────────╯
Add to your ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/scripts/session-stats.py\" --compact",
"padding": 0
}
}
Shows: agents:3 | top:laravel-expert | skills:6 | tasks:4
| Event | What's Captured |
|---|---|
SessionStart | Session ID, model, source |
PreToolUse (Skill) | Skill name, arguments |
PreToolUse (Agent) | Agent type, description |
SubagentStart | Agent ID, agent type |
SubagentStop | Agent ID, transcript path |
TaskCompleted | Task subject, teammate |
Stop | Hook active status |
SessionEnd | Reason |
Logs are stored at ${CLAUDE_PLUGIN_DATA}/session-activity.jsonl (one JSON object per line).
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub reidsolon/claude-session-stats-plugin --plugin session-statsUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Editorial "Web Designer" bundle for Claude Code from Antigravity Awesome Skills.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses