apple-music

apple-music is a skill for Claude Code from HybridAIOne/hybridclaw. It costs 24 tokens per session (1,892 once invoked), scanned A, original, MIT.

A control tool for the Apple Music app on macOS, Apple's desktop operating system. It can manage playback, show the current song, open music links, and start playlists.

In plain words
What is it for?
Playing, pausing, skipping, or resuming music; checking what is playing; opening songs or albums; and starting playlists.
Why use it?
It lets a coding agent operate Music on the Mac for simple listening tasks without changing the music library or playlists unless asked.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Playing, pausing, skipping, or resuming music; checking what is playing; opening songs or albums; and starting playlists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridaione/hybridclaw/apple-music
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HybridAIOne/hybridclaw --skill apple-music
Clone the repo
git clone --depth 1 https://github.com/HybridAIOne/hybridclaw

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apple-music

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridaione/hybridclaw/apple-music/github.svg)](https://agentmods.dev/skills/hybridaione/hybridclaw/apple-music)
Your own site
<a href="https://agentmods.dev/skills/hybridaione/hybridclaw/apple-music"><img src="https://agentmods.dev/badge/skills/hybridaione/hybridclaw/apple-music/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apple-music

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridaione/hybridclaw/apple-music"><img src="https://agentmods.dev/badge/skills/hybridaione/hybridclaw/apple-music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01892
Opus 5 $0.00012 $0.00946
Sonnet 5 $0.00005 $0.00378
Haiku 4.5 $0.00002 $0.00189

Measured 13d ago against content hash df1dcbfaf9c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

apple-music scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/play-url.sh, scripts/search.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apple-music/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apple Music

Use this skill for the macOS Music app and Apple Music playback workflows.

Scope

  • play, pause, skip, or resume playback
  • inspect what is currently playing
  • open the Music app or a music URL
  • trigger simple host-side playback actions on the Mac

Default Strategy

  1. Confirm whether the user wants local Mac playback control or just information about Apple Music content.
  2. Distinguish generic transport requests from content-specific requests.
  3. For content-specific requests such as an artist radio, station, playlist, album, or song, resolve a directly playable target first and hand that target to the Music app itself.
  4. For generic playback control on macOS, prefer small osascript actions against the Music app.
  5. Do not modify playlists or library state unless the user asks.
  6. If the user already asked you to play, pause, skip, or open something in Music, do not ask for a separate "yes" just to be safe. Attempt the host-side action and rely on the runtime approval flow if the command needs approval.
  7. When you already have an exact Apple Music URL for playback, prefer the bundled play-url.sh helper instead of inventing a new open or UI-automation sequence.
  8. If you need to resolve a content target from a plain-language query first, use the bundled search.sh helper. Do not invent additional helper names.

Core Commands

Open the app:

open -a Music

Playback controls:

osascript -e 'tell application "Music" to playpause'
osascript -e 'tell application "Music" to pause'
osascript -e 'tell application "Music" to next track'
osascript -e 'tell application "Music" to previous track'

Now playing:

osascript -e 'tell application "Music" to get player state'
osascript -e 'tell application "Music" to if player state is playing then get {name of current track, artist of current track, album of current track}'

Use these only for generic transport actions like "play", "pause", "resume", "next", or "what is playing". Do not use them to satisfy a request for specific content such as "Play Phil Collins Radio".

Read the full file on GitHub · 208 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 208 lines · 24 tokens per session scan A df1dcbfaf9c1

Subscribe to this mod's changes

apple-music is a skill published in the GitHub repository HybridAIOne/hybridclaw (132 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 1,892 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.