toggle

A Mac media-control command that toggles play and pause for whatever app is currently playing audio.

In plain words
What is it for?
Use it for commands such as pause, play, resume, unpause, or toggle the current music or media.
Why use it?
It avoids opening the media app or finding its controls just to pause or resume playback.

Skill for Claude CodeCodex

Part of the media plugin — 16 skills, 1 hook shipped together

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.

agentmods
npx agentmods add skills/bangs00/claude-media-control/toggle
Any agent
npx skills add Bangs00/claude-media-control --skill toggle
Clone the repo
git clone --depth 1 https://github.com/Bangs00/claude-media-control

Made for: Claude Code, Codex.

Or install media, the plugin that ships this one along with the rest of its 16 skills, 1 hook.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.00179
Opus 5 $0.00019 $0.00089
Sonnet 5 $0.00008 $0.00036
Haiku 4.5 $0.00004 $0.00018

Measured 2d ago against content hash 86813fee9a33, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

toggle 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 2d 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.

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/toggle/SKILL.md · 15 lines

What it actually says

Play/pause toggled. Resulting state (JSON):

!"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" toggle

Confirm to the user in one compact markdown line (not a code block): ▶︎|⏸ **<title>** — *<artist>* · <appName> (title bold, artist italic; ▶︎ when playing is true, when false).

  • If the JSON is null: nothing was playing to control.
  • If "degraded": true or a stderr hint appeared: add one short note pointing to /media:doctor.
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. 2d ago First seen · 15 lines · 39 tokens per session scan A 86813fee9a33

Subscribe to this mod's changes

toggle is a skill published in the GitHub repository Bangs00/claude-media-control (4 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 179 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

app-it

Turn a local project or a hosted web app (including a published Claude Artifact URL) into a macOS Dock-launchable .app. Use when the user wants a clickable Dock app, local app package, icon, App It install, hosted-URL or Artifact wrapper, or repeatable desktop launcher. Defaults to native Swift WebKit, shipped…

Christian-Katzmann/app-it · 91 tokens

app-it-windows

Create Windows beta desktop launchers for local web projects: WPF + WebView2 .exe, Start Menu shortcut, .ico, warm server, quit cleanup. Use when the user asks for app-it-windows, a Windows app, .exe launcher, Start Menu shortcut, Windows package, or desktop icon. CI-guarded but untested on Windows hardware; never…

Christian-Katzmann/app-it · 89 tokens

app-it-static

Turn a finished or buildable web app into a macOS Dock-launchable .app that serves built output instead of a dev server. Use when the user asks for app-it-static, a finished site/app launcher, a lightweight Dock app, or a dist/build/out bundle clickable from the Dock. Builds once, serves a snapshot via…

Christian-Katzmann/app-it · 89 tokens

music

Apple Music in your terminal. Play tracks, route to AirPlay speakers and AirPods, search 100 million songs, build playlists, play radio stations, discover new music, favorite tracks, seek within a song, browse your listening history, browse your library by artist, album, or track. This is the plugin's only entry…

anthonymaley/MusicTUI · 408 tokens

economist-style

Apply The Economist style guide to written content. Use when editing markdown, HTML, documentation, or any written text that needs professional editing for clarity, precision, and brevity. Detects weasel words, fillers, passive voice, and style issues.

TAJD/economist-style-guide-plugin · 54 tokens

quiz-me

Quiz the user on root cause and intended fix BEFORE writing any non-trivial code, then verify comprehension of every change after. Use when the user asks for a bug fix, refactor, or feature and wants to stay technically sharp instead of vibe-coding. Also use when the user says "quiz me", "don't let me vibe code", or…

emanzurv/quiz-me-skill · 82 tokens