Skip to content
Back to skills

Output

ASecurity

Show or switch the Mac's audio output device (built-in speakers, AirPods, external displays, DACs). Use when the user asks where sound is playing, which output device is active, or wants audio routed to a different device.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned September 6, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Output?

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

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

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: output
description: Show or switch the Mac's audio output device (built-in speakers, AirPods, external displays, DACs). Use when the user asks where sound is playing, which output device is active, or wants audio routed to a different device.
argument-hint: [device name or number]
allowed-tools: Bash
---

Requested device: $ARGUMENTS

Current output device and everything available (JSON):

!`"${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" output`

Now do the following:

1. **No argument** → present the devices as a short markdown list, marking the
   current one, e.g. `🔊 **MacBook Pro Speakers** (current)`, then offer to
   switch.

2. **With a device request** → map what the user said to one entry in the
   `devices` list above (they may use loose words: "에어팟"/"earbuds" → the
   AirPods entry, "speakers" → the built-in speakers, "monitor"/"TV" → the
   display device). Then run:

   ```bash
   "${CLAUDE_PLUGIN_ROOT}/scripts/media.sh" output "<device name>"
   ```

   The script itself accepts an exact name, a unique case-insensitive
   substring, or the 1-based list position, and prints the updated list.

3. Confirm in one styled line: `🔊 Output → **AirPods Pro**`.

Error handling:

- **Exit 4** — no match or ambiguous; stderr names the candidates. Show them
  and ask which one (AskUserQuestion is not available here — just ask in
  text).
- **Exit 1 with "native helper"** — the feature needs the compiled helper;
  point to `/media:doctor`.
- A device that is not connected (e.g. AirPods in the case) does not appear
  in the list — switching cannot connect it; the user must connect it first.

Tip: the statusline can show the current output device (icon by device kind —
🎧 Bluetooth/headphones, 📺 HDMI/DisplayPort, 📶 AirPlay, 🔊 speakers) —
check "Output device" in the `/media:statusline` Items tab, or place it
anywhere with a numeric pattern (digit 6).

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.