agentsclimarketplace

Apple music player

Skill IvanCampos/agents/skills/apple-music-player

All things related to my Codex agents running on MacOS

Install
npx -y skills add IvanCampos/agents --skill apple-music-player

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Play random songs or specific tracks in Music.app from the local Music library. Use when a user asks to play a random song by artist, random track from an album, random track from a playlist, or a specific track by name (optionally with artist).

SKILL.md

1.6 KB, as published. Nobody here has run it

Apple Music Player

Overview

Play a random track from the Music app's local library by artist, album, or playlist, using a bundled script that wraps AppleScript and handles errors.

Quick Start

  • Artist: scripts/play_random_music.sh --artist "JAY-Z"
  • Album: scripts/play_random_music.sh --album "TRON: Ares"
  • Playlist: scripts/play_random_music.sh --playlist "My Favorites"
  • Track: scripts/play_random_music.sh --track "Rock the Boat" --artist "XG"
  • Foreground (optional): append --foreground to bring Music to front.

Behavior Notes

  • Operates on the local Music library only; it does not search Apple Music.
  • Artist, album, and track matching use "contains" so partial names work.
  • Playlist matching requires an exact playlist name.
  • Performance path keeps Music in background by default; use --foreground only when needed.

Workflow

  1. Prefer using the script in scripts/ rather than retyping AppleScript.
  2. If no matches are found, surface the script's error message to the user.
  3. If the user needs Apple Music search/playback, ask them to add the album or track to the Library first.

Resources

scripts/

  • scripts/play_random_music.sh: performance-optimized AppleScript runner to play by artist/album/playlist/track with optional foreground activation.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.