Skip to content
Back to skills

Toggle

ASecurity

Toggle play/pause for whatever media is playing system-wide on this Mac. Use when the user says pause the music, stop the song, resume, unpause, or toggle playback.

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 6, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add Bangs00/claude-media-control --skill toggle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Toggle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Toggle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bangs00-toggle/badge)](https://www.skillsdirectory.com/skills/bangs00-toggle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: toggle
description: Toggle play/pause for whatever media is playing system-wide on this Mac. Use when the user says pause the music, stop the song, resume, unpause, or toggle playback.
allowed-tools: Bash
---

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`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.