← Back to Skills Marketplace
durtydhiana

Apple Media Officialpm 0.1.1

by DurtyDhiana · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
172
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install apple-media-officialpm-0-1-1
Description
Discover and control Apple media/AirPlay devices (HomePod, Apple TV, AirPlay speakers) from macOS. Use when you want to scan for AirPlay devices, map names→I...
README (SKILL.md)

Apple Media (AirPlay + Apple TV control)

Author: Parth Maniar — @officialpm

This skill is a thin workflow wrapper around two tools:

  • pyatv (atvremote) for discovering Apple TVs/HomePods and (when supported/paired) remote-control style commands.
  • Airfoil (via the existing airfoil skill) for reliable speaker connect/disconnect + volume control across AirPlay speakers (including HomePods).

Setup

This skill uses pyatv installed via pipx.

Install/repair (pinned to Python 3.12 to avoid Python 3.14 asyncio issues):

pipx install pyatv || pipx upgrade pyatv
pipx reinstall pyatv --python python3.12

Verify:

atvremote --help | head

Quick start

1) Scan the network for devices

# Fast scan (5s)
./scripts/scan.sh 5

# Faster scan when you know IP(s)
./scripts/scan-hosts.sh "10.0.0.28,10.0.0.111" 3

# Or JSON output
node ./scripts/scan-json.js 5

You’ll see devices like:

  • HomePods (e.g., "Living Room", "Bedroom")
  • Apple TV
  • AirPlay-capable TVs

2) Control HomePod / speaker volume (recommended path)

Use Airfoil for speaker control (reliable for HomePods):

# List speakers Airfoil can see
../airfoil/airfoil.sh list

# Connect and set volume
./scripts/connect.sh "Living Room"
./scripts/volume.sh "Living Room" 35

# Disconnect (direct)
../airfoil/airfoil.sh disconnect "Living Room"

3) Apple TV remote commands (pyatv)

First, scan to find the Apple TV name or id, then run commands:

# Examples (device name can be Apple TV or other targets)
atvremote -n "TV" playing
atvremote -n "TV" play_pause
atvremote -n "TV" turn_on
atvremote -n "TV" turn_off

If you get auth/protocol errors, pairing/credentials are needed (device-dependent).

Notes / gotchas

  • pyatv HomePod control often requires authentication and may not support all remote-control commands out of the box.
    • When pyatv fails for HomePod playback/volume, prefer Airfoil for volume + speaker routing.
  • atvremote scan is the source of truth for IP/ID discovery.

Bundled scripts

scripts/scan.sh

Runs atvremote scan with a configurable timeout.

./scripts/scan.sh 5

scripts/scan-json.js

Parses atvremote scan output into a compact JSON summary (name, address, model, services).

node ./scripts/scan-json.js
Usage Guidance
This skill is coherent with its description but requires several external tools that are not enforced in the registry metadata—install pipx + pyatv (atvremote), Node.js (for scan-json.js), and Airfoil (and ensure the referenced ../airfoil/airfoil.sh exists). Before running: (1) review the sibling airfoil script to ensure it behaves as you expect, (2) run scans on a trusted/local network because they enumerate local IPs and device identifiers, and (3) be prepared to perform device pairing (pyatv may prompt for credentials) — no secrets are sent by the skill itself. If you want stronger guarantees, ask the author to declare required binaries in the skill metadata and to include or link the expected airfoil helper script location.
Capability Analysis
Type: OpenClaw Skill Name: apple-media-officialpm-0-1-1 Version: 1.0.0 The apple-media skill bundle is a legitimate set of wrapper scripts for the pyatv (atvremote) utility and the Airfoil application to manage Apple media devices on macOS. The scripts (scan.sh, scan-hosts.sh, scan-json.js) perform network discovery and parsing of device information without any evidence of data exfiltration, unauthorized execution, or malicious prompt injection.
Capability Assessment
Purpose & Capability
The skill's code and SKILL.md align with the stated purpose: scanning AirPlay/Apple TV devices and delegating speaker control to Airfoil. Minor mismatch: the registry metadata declares no required binaries/env but the instructions and scripts require external tools (pipx + pyatv/atvremote, node for JSON parsing, Airfoil and a separate airfoil skill script). Those dependencies are reasonable for the described functionality but are not declared in the top-level requirements.
Instruction Scope
Instructions and bundled scripts limit themselves to local network scanning (atvremote scan), parsing scan output, and delegating to an airfoil control script. The Node parser reads stdin or a local file and does not execute shell commands. The scripts do not read unrelated system files or attempt to exfiltrate data to external endpoints.
Install Mechanism
There is no install spec; this is an instruction-and-script bundle. The README suggests installing pyatv via pipx and Airfoil via Homebrew/Cask. No remote download/install URLs are embedded in the skill files themselves.
Credentials
The skill requests no environment variables or credentials and the code does not attempt to access secrets. It will surface local IPs from network scans (expected behavior) and may require pairing/auth for some devices, which is normal for pyatv usage.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and contains only helper scripts; it does not persist credentials or modify system-wide agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install apple-media-officialpm-0-1-1
  3. After installation, invoke the skill by name or use /apple-media-officialpm-0-1-1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Apple Media 1.0.0 initial release - Discover and list Apple TVs, HomePods, and AirPlay speakers on your network. - Map device names to IPs/IDs for streamlined control. - Control playback and volume using pyatv (`atvremote`) and Airfoil integration. - Includes scripts for fast device scans and JSON output. - Supports device connection, disconnection, and volume adjustment via Airfoil. - Provides workflow instructions for setup, discovery, and control.
Metadata
Slug apple-media-officialpm-0-1-1
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Apple Media Officialpm 0.1.1?

Discover and control Apple media/AirPlay devices (HomePod, Apple TV, AirPlay speakers) from macOS. Use when you want to scan for AirPlay devices, map names→I... It is an AI Agent Skill for Claude Code / OpenClaw, with 172 downloads so far.

How do I install Apple Media Officialpm 0.1.1?

Run "/install apple-media-officialpm-0-1-1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Apple Media Officialpm 0.1.1 free?

Yes, Apple Media Officialpm 0.1.1 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Apple Media Officialpm 0.1.1 support?

Apple Media Officialpm 0.1.1 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Apple Media Officialpm 0.1.1?

It is built and maintained by DurtyDhiana (@durtydhiana); the current version is v1.0.0.

💬 Comments