{
  "schemaVersion": "1.0",
  "item": {
    "slug": "play-music",
    "name": "Play Local Music",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/awspace/play-music",
    "canonicalUrl": "https://clawhub.ai/awspace/play-music",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/play-music",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=play-music",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SETUP.md",
      "SKILL.md",
      "_meta.json",
      "music-server.py"
    ],
    "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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/play-music"
    },
    "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/play-music",
    "agentPageUrl": "https://openagent3.xyz/skills/play-music/agent",
    "manifestUrl": "https://openagent3.xyz/skills/play-music/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/play-music/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": "🎵 Play Music Skill",
        "body": "Controlled music player with pause/resume/stop support\nSingle entry point, background server for full control"
      },
      {
        "title": "Quick Start",
        "body": "Place music files in a music folder (default) or set MUSIC_DIR environment variable\nInstall pygame (recommended for full control): pip install pygame\nUse: ./play-music play"
      },
      {
        "title": "Single Entry Point",
        "body": "The skill has one clear entry point: ./play-music"
      },
      {
        "title": "Command Interface",
        "body": "./play-music help          - Show this help\n./play-music list          - List available songs\n./play-music play          - Play default song\n./play-music pause         - Pause currently playing music\n./play-music resume        - Resume paused music\n./play-music stop          - Stop currently playing music\n./play-music status        - Show playback status\n./play-music <filename>    - Play specific song (e.g., song.mp3)\n./play-music server-start  - Start music server manually\n./play-music server-stop   - Stop music server"
      },
      {
        "title": "Examples",
        "body": "# Play the default song\n./play-music play\n\n# Play a specific song\n./play-music song.mp3\n\n# Control playback\n./play-music pause\n./play-music resume\n./play-music stop\n\n# See what's available\n./play-music list"
      },
      {
        "title": "Features",
        "body": "✅ Single entry point - No confusion about which script to use\n✅ Full playback control - Play, pause, resume, stop\n✅ Resource-efficient - Server auto-starts when needed, auto-stops when music stops\n✅ Clean architecture - Client-server separation\n✅ Pygame-based - High quality audio playback\n✅ Cross-platform - macOS/Windows/Linux compatible"
      },
      {
        "title": "1. Install Pygame (Recommended)",
        "body": "For full pause/resume/stop control:\n\npip install pygame"
      },
      {
        "title": "2. Add Music Files",
        "body": "Place your music files in:\n\nDefault: ./music (relative to script location)\nCustom: Set MUSIC_DIR environment variable"
      },
      {
        "title": "3. Configuration",
        "body": "# Set custom music directory\nexport MUSIC_DIR=\"/path/to/your/music\"\n\n# Set default song name\nexport DEFAULT_SONG=\"my-song.mp3\""
      },
      {
        "title": "How It Works",
        "body": "The skill uses a clean client-server architecture:\n\nplay-music - Single entry point (Python script combining client functionality)\nmusic-server.py - Background server that handles music playback\nPygame mixer - For high-quality audio with full control\n\nResource-efficient design: The server auto-starts when you play music and auto-shuts down when you stop music. This saves system resources while maintaining the convenience of the client-server architecture."
      },
      {
        "title": "Troubleshooting",
        "body": "\"No music playing\" when trying to pause/resume/stop\nStart playing music first: ./play-music play\n\n\"Music directory not found\"\nCreate the directory: mkdir music or set MUSIC_DIR environment variable\n\n\"Pygame not installed\"\nInstall it: pip install pygame\n\nServer won't start\nCheck if port 12346 is available, or kill existing servers:\n\npkill -f \"music-server.py\"\n./play-music server-start"
      },
      {
        "title": "File Structure",
        "body": "play-music/\n├── play-music           # Single entry point (Python script)\n├── music-server.py      # Background server\n├── SKILL.md            # This documentation\n├── README.md           # User documentation\n├── _meta.json          # Skill metadata\n└── .gitignore          # Git ignore file\n\nClean and minimal - No redundant files, clear structure."
      },
      {
        "title": "Integration with OpenClaw",
        "body": "When this skill is registered with OpenClaw, use it for music playback tasks. The skill provides the knowledge and tools to control music playback with pause/resume/stop support."
      }
    ],
    "body": "🎵 Play Music Skill\n\nControlled music player with pause/resume/stop support\nSingle entry point, background server for full control\n\nQuick Start\nPlace music files in a music folder (default) or set MUSIC_DIR environment variable\nInstall pygame (recommended for full control): pip install pygame\nUse: ./play-music play\nSingle Entry Point\n\nThe skill has one clear entry point: ./play-music\n\nCommand Interface\n./play-music help          - Show this help\n./play-music list          - List available songs\n./play-music play          - Play default song\n./play-music pause         - Pause currently playing music\n./play-music resume        - Resume paused music\n./play-music stop          - Stop currently playing music\n./play-music status        - Show playback status\n./play-music <filename>    - Play specific song (e.g., song.mp3)\n./play-music server-start  - Start music server manually\n./play-music server-stop   - Stop music server\n\nExamples\n# Play the default song\n./play-music play\n\n# Play a specific song\n./play-music song.mp3\n\n# Control playback\n./play-music pause\n./play-music resume\n./play-music stop\n\n# See what's available\n./play-music list\n\nFeatures\n\n✅ Single entry point - No confusion about which script to use\n✅ Full playback control - Play, pause, resume, stop\n✅ Resource-efficient - Server auto-starts when needed, auto-stops when music stops\n✅ Clean architecture - Client-server separation\n✅ Pygame-based - High quality audio playback\n✅ Cross-platform - macOS/Windows/Linux compatible\n\nSetup\n1. Install Pygame (Recommended)\n\nFor full pause/resume/stop control:\n\npip install pygame\n\n2. Add Music Files\n\nPlace your music files in:\n\nDefault: ./music (relative to script location)\nCustom: Set MUSIC_DIR environment variable\n3. Configuration\n# Set custom music directory\nexport MUSIC_DIR=\"/path/to/your/music\"\n\n# Set default song name\nexport DEFAULT_SONG=\"my-song.mp3\"\n\nHow It Works\n\nThe skill uses a clean client-server architecture:\n\nplay-music - Single entry point (Python script combining client functionality)\nmusic-server.py - Background server that handles music playback\nPygame mixer - For high-quality audio with full control\n\nResource-efficient design: The server auto-starts when you play music and auto-shuts down when you stop music. This saves system resources while maintaining the convenience of the client-server architecture.\n\nTroubleshooting\n\n\"No music playing\" when trying to pause/resume/stop\nStart playing music first: ./play-music play\n\n\"Music directory not found\"\nCreate the directory: mkdir music or set MUSIC_DIR environment variable\n\n\"Pygame not installed\"\nInstall it: pip install pygame\n\nServer won't start\nCheck if port 12346 is available, or kill existing servers:\n\npkill -f \"music-server.py\"\n./play-music server-start\n\nFile Structure\nplay-music/\n├── play-music           # Single entry point (Python script)\n├── music-server.py      # Background server\n├── SKILL.md            # This documentation\n├── README.md           # User documentation\n├── _meta.json          # Skill metadata\n└── .gitignore          # Git ignore file\n\n\nClean and minimal - No redundant files, clear structure.\n\nIntegration with OpenClaw\n\nWhen this skill is registered with OpenClaw, use it for music playback tasks. The skill provides the knowledge and tools to control music playback with pause/resume/stop support."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/awspace/play-music",
    "publisherUrl": "https://clawhub.ai/awspace/play-music",
    "owner": "awspace",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/play-music",
    "downloadUrl": "https://openagent3.xyz/downloads/play-music",
    "agentUrl": "https://openagent3.xyz/skills/play-music/agent",
    "manifestUrl": "https://openagent3.xyz/skills/play-music/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/play-music/agent.md"
  }
}