$npx -y skills add kennethleungty/claude-music --skill statsStats — session and lifetime listening stats
| 1 | This skill is part of the claude-music plugin. Only invoke when the user explicitly uses the slash command. |
| 2 | |
| 3 | # Stats |
| 4 | |
| 5 | Show current session and lifetime listening stats. |
| 6 | |
| 7 | Run `"${CLAUDE_PLUGIN_ROOT}/scripts/music-controller.sh" full-stats`. Response has `session` and `lifetime` objects. |
| 8 | |
| 9 | **♪ Session ♪** — If playing: show genre, station, duration (calc from `session_start` unix timestamp to now), station count. If stopped: "No active session." |
| 10 | |
| 11 | **♪ 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). |
| 12 | |
| 13 | If `total_sessions` is 0: "No listening history yet — play some music! ♪" |