music

music is a skill for Claude Code, Codex from autonomous-ai/autonomous-os. It costs 18 tokens per session (1,067 once invoked), scanned A, original, Apache-2.0.

A tool that plays or stops music from YouTube through the device’s speaker.

In plain words
What is it for?
Use it to play a requested song, artist, or suitable music choice, and to stop music that is playing.
Why use it?
It handles the YouTube search and playback command so users do not need to find and start a song themselves.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to play a requested song, artist, or suitable music choice, and to stop music that is playing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/autonomous-ai/autonomous-os/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 autonomous-ai/autonomous-os --skill music
Clone the repo
git clone --depth 1 https://github.com/autonomous-ai/autonomous-os

Made for: Claude Code, Codex.

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 music

README.md
[![agentmods](https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/music/github.svg)](https://agentmods.dev/skills/autonomous-ai/autonomous-os/music)
Your own site
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/music"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/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 music

Your own site · 80×15
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/music"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/music.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00018 $0.01067
Opus 5 $0.00009 $0.00534
Sonnet 5 $0.00004 $0.00213
Haiku 4.5 $0.00002 $0.00107

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

Security

Grade A, and why

music scanned grade A with 1 finding 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 10d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

The Go server intercepts `[HW:/audio/play:...]` / `[HW:/audio/stop:...]` **in your reply text** and forwards to HAL. This is the ONLY way to play music — never use `exec`, `mpv`, `vlc`, `yt-dlp`, or `curl /audio/play`.
skills/music/SKILL.md · 82 lines

How it starts

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

Music

Play music through the device's speaker by searching YouTube. Use this when the user asks to play, sing, or listen to music.

Workflow

  1. Specific song / artist → play directly.
  2. Vague request ("play music", "sing something") → check habit patterns first:
    cat /root/local/users/{name}/habit/patterns.json 2>/dev/null
    
    If music_patterns exists and current hour is within peak_hour ± 1 → use preferred_genre to pick a song, no need to ask. Otherwise → ask: "What are you in the mood for?". The file is bootstrapped lazily by wellbeing on its first threshold nudge; do not invoke habit Flow A from here.
  3. Reply format:
    [HW:/audio/play:{"query":"Bohemian Rhapsody Queen","person":"alice"}][HW:/emotion:{"emotion":"excited","intensity":0.8}] Playing Bohemian Rhapsody!
    
  4. Stop: [HW:/audio/stop:{}] Music stopped.

API schema (/audio/play)

Field Required Description
query YES YouTube search string (include artist for better match)
person no Who requested, lowercase (e.g. "alice") — omit if unknown

Do NOT use track, artist, title, song — those return 422.

Genre → Emotion (pair with every /audio/play)

Genre keywords Emotion
jazz, blues, soul, funk, swing happy
classical, orchestra, piano, violin curious
hip hop, rap, trap, r&b, rock, metal excited
anything else happy

Examples

Input Output
"Play Bohemian Rhapsody" [HW:/audio/play:{"query":"Bohemian Rhapsody Queen","person":"alice"}][HW:/emotion:{"emotion":"excited","intensity":0.8}] Playing Bohemian Rhapsody!
"Sing me a song" [HW:/emotion:{"emotion":"curious","intensity":0.6}] What kind of vibe — chill, upbeat, or something specific?
"Something chill" [HW:/audio/play:{"query":"chill acoustic playlist","person":"alice"}][HW:/emotion:{"emotion":"happy","intensity":0.8}] Here's some chill vibes!
"Stop the music" [HW:/audio/stop:{}] Music stopped.

Read the full file on GitHub · 82 lines

Files

What ships with it

1 file 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. 10d ago First seen · 82 lines · 18 tokens per session scan A c86526d5d8c0

Subscribe to this mod's changes

music is a skill published in the GitHub repository autonomous-ai/autonomous-os (317 stars, last pushed today), licensed Apache-2.0. It adds 18 tokens to every session and 1,067 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

story-review

A review workflow for finding story problems from several viewpoints, including issues with structure, characters, wording, and fictional world rules. It can use multiple reviewer agents or work alone.

zenstory-ai/oh-story-claudecode · 74 tokens

video-frames

Extract a single frame from a local video at the first frame, a timestamp, or a zero-based frame index using FFmpeg.

iflytek/skillhub · 30 tokens

ideation

Generate project ideas through creative constraints. Use when the user says 'I want to build something', 'give me a project idea', 'I'm bored', 'what should I make', 'inspire me', or any variant of 'I have tools but no direction'. Works for code, art, hardware, writing, tools, and anything that can be made.

moltis-org/moltis · 75 tokens

ppt-design

A workflow for designing presentation slides as editable HTML pages, with an optional conversion to editable PowerPoint files. It defines slide layouts, an outline, visual rules, and how images are embedded.

GCWing/BitFun · 139 tokens

create-openbitfun-cinematic-wallpaper-skin

Apply the cinematic animated-wallpaper style recipe to a OpenBitFun Appearance skin. Use after loading the parent create-openbitfun-skin Skill when the user provides animated character artwork and wants a host-managed video background, source-derived glass materials, image-led cards, illustrated dialogs, reproducible…

GCWing/BitFun · 75 tokens