music

music is a skill for Claude Code, Codex from autonomous-ai/autonomous-os. It costs 18 tokens per session (1,442 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,442 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.01442
Opus 5.5 $0.00007 $0.00577
Sonnet 5.5 $0.00004 $0.00288
Haiku 4.5 $0.00002 $0.00144

Measured 2mo ago against content hash 5c46828ecd21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 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.

Spoken output: Everything outside HW markers in your reply is read aloud. For a play/stop request, start with the HW markers, then give one short confirmation and end the reply. Keep song-selection reasoning, transcript interpretation, and speaker attribution in the provider's native thinking channel (omit analysis if unavailable), without a text summary before/after tools or in the final answer; do not add a preamble, a draft confirmation, or a second confirmation.

Workflow

  1. Specific song / artist → play directly. When [voice-instruction] is present, use that request; a conflicting noisy [transcript] does not replace the song title. No habit or identity lookup is needed. Use a known speaker for person; otherwise omit the field silently.
  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":"{name}"}][HW:/emotion:{"emotion":"excited","intensity":0.8}] Playing Bohemian Rhapsody!
    
    {name} is the speaker identified in the injected context. If nobody is identified, drop the field entirely — [HW:/audio/play:{"query":"Bohemian Rhapsody Queen"}]. Never invent a name or reuse one from an example.
  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 The identified speaker's label, lowercase ({name} from the injected context) — omit the field when nobody is identified. Unmatched names are logged under the shared unknown bucket, so a made-up name buys nothing.

Read the full file on GitHub · 99 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. 2mo ago Changed · +2 lines 5c46828ecd21
  2. 2mo ago Changed · +15 lines 7d7942b8c469
  3. 3mo 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 (378 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,442 once invoked, about $0.0001 per session on Opus 5.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

music compared with skills from other repositories

music next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
musicautonomous-ai/autonomous-osSkill3781mo agoApache-2.0A18Claude Code, Codex
rosclaw-embodiedros-claw/rosclawSkill24124d agoMITA54Claude Code, Codex
defaultros-claw/rosclawSkill24124d agoMITA0Claude Code, Codex
add-resendnanocoai/nanoclawSkill31ktodayMITA16Claude Code
graphifyGraphify-Labs/graphifySkill155kyesterdayApache-2.0B76Claude Code
add-macos-statusbarnanocoai/nanoclawSkill31ktodayMITA49Claude Code
sandbaseiflytek/skillhubSkill5.5ktodayApache-2.0A67Claude Code