Skip to content
Productivity
Skill

/stats

Stats — session and lifetime listening stats

From plugin
claude-music
2321 skills2 agents3 hooks
Install
$ npx -y skills add kennethleungty/claude-music --skill stats --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/stats

Context preview

The summary Claude sees to decide when to auto-load this skill.

Stats — session and lifetime listening stats

SKILL.md

stats.SKILL.md
name: stats
disable-model-invocation: true
description: "Stats — session and lifetime listening stats"
model: haiku
effort: low
allowed-tools: Bash

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! ♪"

Ships withclaude-music

Great music in your Claude Code sessions, with an AI DJ that understands your vibes

Get the whole plugin
Stats
23
Stars
0
Forks
Maintained
Maintenance
Shell
Language
MIT
License
5mo ago
Last commit
5mo ago
Created

Repo: kennethleungty/claude-music

Other skills on claude-music.