{
  "schemaVersion": "1.0",
  "item": {
    "slug": "apple-media-officialpm",
    "name": "Apple Media",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/officialpm/apple-media-officialpm",
    "canonicalUrl": "https://clawhub.ai/officialpm/apple-media-officialpm",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/apple-media-officialpm",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apple-media-officialpm",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "CHANGELOG.md",
      "README.md",
      "SKILL.md",
      "scripts/connect.sh",
      "scripts/scan-hosts.sh",
      "scripts/scan-json.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/apple-media-officialpm"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/apple-media-officialpm",
    "agentPageUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Apple Media (AirPlay + Apple TV control)",
        "body": "Author: Parth Maniar — @officialpm\n\nThis skill is a thin workflow wrapper around two tools:\n\npyatv (atvremote) for discovering Apple TVs/HomePods and (when supported/paired) remote-control style commands.\nAirfoil (via the existing airfoil skill) for reliable speaker connect/disconnect + volume control across AirPlay speakers (including HomePods)."
      },
      {
        "title": "Setup",
        "body": "This skill uses pyatv installed via pipx.\n\nInstall/repair (pinned to Python 3.12 to avoid Python 3.14 asyncio issues):\n\npipx install pyatv || pipx upgrade pyatv\npipx reinstall pyatv --python python3.12\n\nVerify:\n\natvremote --help | head"
      },
      {
        "title": "1) Scan the network for devices",
        "body": "# Fast scan (5s)\n./scripts/scan.sh 5\n\n# Faster scan when you know IP(s)\n./scripts/scan-hosts.sh \"10.0.0.28,10.0.0.111\" 3\n\n# Or JSON output\nnode ./scripts/scan-json.js 5\n\nYou’ll see devices like:\n\nHomePods (e.g., \"Living Room\", \"Bedroom\")\nApple TV\nAirPlay-capable TVs"
      },
      {
        "title": "2) Control HomePod / speaker volume (recommended path)",
        "body": "Use Airfoil for speaker control (reliable for HomePods):\n\n# List speakers Airfoil can see\n../airfoil/airfoil.sh list\n\n# Connect and set volume\n./scripts/connect.sh \"Living Room\"\n./scripts/volume.sh \"Living Room\" 35\n\n# Disconnect (direct)\n../airfoil/airfoil.sh disconnect \"Living Room\""
      },
      {
        "title": "3) Apple TV remote commands (pyatv)",
        "body": "First, scan to find the Apple TV name or id, then run commands:\n\n# Examples (device name can be Apple TV or other targets)\natvremote -n \"TV\" playing\natvremote -n \"TV\" play_pause\natvremote -n \"TV\" turn_on\natvremote -n \"TV\" turn_off\n\nIf you get auth/protocol errors, pairing/credentials are needed (device-dependent)."
      },
      {
        "title": "Notes / gotchas",
        "body": "pyatv HomePod control often requires authentication and may not support all remote-control commands out of the box.\n\nWhen pyatv fails for HomePod playback/volume, prefer Airfoil for volume + speaker routing.\n\n\natvremote scan is the source of truth for IP/ID discovery."
      },
      {
        "title": "scripts/scan.sh",
        "body": "Runs atvremote scan with a configurable timeout.\n\n./scripts/scan.sh 5"
      },
      {
        "title": "scripts/scan-json.js",
        "body": "Parses atvremote scan output into a compact JSON summary (name, address, model, services).\n\nnode ./scripts/scan-json.js"
      }
    ],
    "body": "Apple Media (AirPlay + Apple TV control)\n\nAuthor: Parth Maniar — @officialpm\n\nThis skill is a thin workflow wrapper around two tools:\n\npyatv (atvremote) for discovering Apple TVs/HomePods and (when supported/paired) remote-control style commands.\nAirfoil (via the existing airfoil skill) for reliable speaker connect/disconnect + volume control across AirPlay speakers (including HomePods).\nSetup\n\nThis skill uses pyatv installed via pipx.\n\nInstall/repair (pinned to Python 3.12 to avoid Python 3.14 asyncio issues):\n\npipx install pyatv || pipx upgrade pyatv\npipx reinstall pyatv --python python3.12\n\n\nVerify:\n\natvremote --help | head\n\nQuick start\n1) Scan the network for devices\n# Fast scan (5s)\n./scripts/scan.sh 5\n\n# Faster scan when you know IP(s)\n./scripts/scan-hosts.sh \"10.0.0.28,10.0.0.111\" 3\n\n# Or JSON output\nnode ./scripts/scan-json.js 5\n\n\nYou’ll see devices like:\n\nHomePods (e.g., \"Living Room\", \"Bedroom\")\nApple TV\nAirPlay-capable TVs\n2) Control HomePod / speaker volume (recommended path)\n\nUse Airfoil for speaker control (reliable for HomePods):\n\n# List speakers Airfoil can see\n../airfoil/airfoil.sh list\n\n# Connect and set volume\n./scripts/connect.sh \"Living Room\"\n./scripts/volume.sh \"Living Room\" 35\n\n# Disconnect (direct)\n../airfoil/airfoil.sh disconnect \"Living Room\"\n\n3) Apple TV remote commands (pyatv)\n\nFirst, scan to find the Apple TV name or id, then run commands:\n\n# Examples (device name can be Apple TV or other targets)\natvremote -n \"TV\" playing\natvremote -n \"TV\" play_pause\natvremote -n \"TV\" turn_on\natvremote -n \"TV\" turn_off\n\n\nIf you get auth/protocol errors, pairing/credentials are needed (device-dependent).\n\nNotes / gotchas\npyatv HomePod control often requires authentication and may not support all remote-control commands out of the box.\nWhen pyatv fails for HomePod playback/volume, prefer Airfoil for volume + speaker routing.\natvremote scan is the source of truth for IP/ID discovery.\nBundled scripts\nscripts/scan.sh\n\nRuns atvremote scan with a configurable timeout.\n\n./scripts/scan.sh 5\n\nscripts/scan-json.js\n\nParses atvremote scan output into a compact JSON summary (name, address, model, services).\n\nnode ./scripts/scan-json.js"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/officialpm/apple-media-officialpm",
    "publisherUrl": "https://clawhub.ai/officialpm/apple-media-officialpm",
    "owner": "officialpm",
    "version": "0.1.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/apple-media-officialpm",
    "downloadUrl": "https://openagent3.xyz/downloads/apple-media-officialpm",
    "agentUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apple-media-officialpm/agent.md"
  }
}