# Stats

> Stats — session and lifetime listening stats

- Skill: `kennethleungty/stats` (Agent Skill)
- Install (CLI): `npx skillmds@latest add kennethleungty/stats`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kennethleungty/stats/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kennethleungty (https://skillmd.com/u/kennethleungty)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kennethleungty/stats

---


This skill is part of the claude-music plugin. Only invoke when the user explicitly uses the slash command.

# Stats

Show current session and lifetime listening stats.

Run `"${CLAUDE_PLUGIN_ROOT}/scripts/music-controller.sh" full-stats`. Response has `session` and `lifetime` objects.

**♪ Session ♪** — If playing: show genre, station, duration (calc from `session_start` unix timestamp to now), station count. If stopped: "No active session."

**♪ Lifetime ♪** — Show: sessions, total listening (convert `total_minutes` to hr/min), stations visited, top genres (sorted by min desc, show as hours if >= 60), listening since (convert `first_session` timestamp to date).

If `total_sessions` is 0: "No listening history yet — play some music! ♪"

