{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mupibox-media-db",
    "name": "MuPiBox Media DB",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/tomquist/mupibox-media-db",
    "canonicalUrl": "https://clawhub.ai/tomquist/mupibox-media-db",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/mupibox-media-db",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mupibox-media-db",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/mupibox_media_manager.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. 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. 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/mupibox-media-db"
    },
    "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/mupibox-media-db",
    "agentPageUrl": "https://openagent3.xyz/skills/mupibox-media-db/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mupibox-media-db/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mupibox-media-db/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "MuPiBox Media DB",
        "body": "Manage the MuPiBox media database (data.json) via the backend API."
      },
      {
        "title": "Requirements",
        "body": "Access to a running MuPiBox backend instance (MuPiBox host is often http://mupibox/, API for this script defaults to http://mupibox:8200; override with --base-url)\nPython 3\nBundled script available at ./scripts/mupibox_media_manager.py"
      },
      {
        "title": "API basics",
        "body": "Read: GET /api/data\nWrite: POST /api/add, POST /api/edit, POST /api/delete"
      },
      {
        "title": "Example commands",
        "body": "Script path: ./scripts/mupibox_media_manager.py. Default API endpoint is http://mupibox:8200 (override with --base-url).\n\n# Show list\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --limit 30\n\n# Filter (for example spotify + music)\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --type spotify --category music --limit 100\n\n# Manual backup\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> backup"
      },
      {
        "title": "Add entries",
        "body": "# 1) Raw JSON\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\\n  --json '{\"type\":\"spotify\",\"category\":\"audiobook\",\"artist\":\"Example Artist\",\"id\":\"SPOTIFY_ID\"}'\n\n# 2) Spotify URL with automatic ID extraction\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\\n  --type spotify --category audiobook --artist \"Example Artist\" \\\n  --spotify-url \"https://open.spotify.com/album/SPOTIFY_ID\""
      },
      {
        "title": "Remove entries",
        "body": "# By index\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --index 42\n\n# By Spotify ID\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --spotify-id SPOTIFY_ID"
      },
      {
        "title": "Move / reorder",
        "body": "python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> move --from 20 --to 3"
      },
      {
        "title": "Update fields",
        "body": "python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> set --index 10 \\\n  --field artist=\"New Artist\" \\\n  --field category=\"audiobook\" \\\n  --field shuffle=true\n\n--field accepts JSON values (true, false, numbers, strings)."
      },
      {
        "title": "Restore",
        "body": "python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> restore \\\n  --file ~/.mupibox-db-backups/data-YYYYMMDD-HHMMSS-before-add.json"
      },
      {
        "title": "Agent workflow",
        "body": "For add: resolve missing IDs/metadata first, then add.\nFor remove: identify entry via list first, then remove.\nFor move: confirm target positions, then move.\nVerify changes using list."
      },
      {
        "title": "Quality checks for Spotify audiobooks",
        "body": "Prefer album IDs over playlist IDs (unless playlists are explicitly requested).\nAvoid box sets/compilations when a single canonical release is intended.\nChoose consistent versions when duplicates exist.\nAsk for clarification if uncertain instead of adding blindly."
      },
      {
        "title": "Safety",
        "body": "No external side effects outside the MuPiBox API.\nThe bundled script creates a local backup before mutations.\nRestore only from trusted backup files.\nOn failure, report the latest backup file."
      }
    ],
    "body": "MuPiBox Media DB\n\nManage the MuPiBox media database (data.json) via the backend API.\n\nRequirements\nAccess to a running MuPiBox backend instance (MuPiBox host is often http://mupibox/, API for this script defaults to http://mupibox:8200; override with --base-url)\nPython 3\nBundled script available at ./scripts/mupibox_media_manager.py\nAPI basics\nRead: GET /api/data\nWrite: POST /api/add, POST /api/edit, POST /api/delete\nExample commands\n\nScript path: ./scripts/mupibox_media_manager.py. Default API endpoint is http://mupibox:8200 (override with --base-url).\n\n# Show list\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --limit 30\n\n# Filter (for example spotify + music)\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --type spotify --category music --limit 100\n\n# Manual backup\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> backup\n\nAdd entries\n# 1) Raw JSON\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\\n  --json '{\"type\":\"spotify\",\"category\":\"audiobook\",\"artist\":\"Example Artist\",\"id\":\"SPOTIFY_ID\"}'\n\n# 2) Spotify URL with automatic ID extraction\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\\n  --type spotify --category audiobook --artist \"Example Artist\" \\\n  --spotify-url \"https://open.spotify.com/album/SPOTIFY_ID\"\n\nRemove entries\n# By index\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --index 42\n\n# By Spotify ID\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --spotify-id SPOTIFY_ID\n\nMove / reorder\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> move --from 20 --to 3\n\nUpdate fields\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> set --index 10 \\\n  --field artist=\"New Artist\" \\\n  --field category=\"audiobook\" \\\n  --field shuffle=true\n\n\n--field accepts JSON values (true, false, numbers, strings).\n\nRestore\npython3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> restore \\\n  --file ~/.mupibox-db-backups/data-YYYYMMDD-HHMMSS-before-add.json\n\nAgent workflow\nFor add: resolve missing IDs/metadata first, then add.\nFor remove: identify entry via list first, then remove.\nFor move: confirm target positions, then move.\nVerify changes using list.\nQuality checks for Spotify audiobooks\nPrefer album IDs over playlist IDs (unless playlists are explicitly requested).\nAvoid box sets/compilations when a single canonical release is intended.\nChoose consistent versions when duplicates exist.\nAsk for clarification if uncertain instead of adding blindly.\nSafety\nNo external side effects outside the MuPiBox API.\nThe bundled script creates a local backup before mutations.\nRestore only from trusted backup files.\nOn failure, report the latest backup file."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/tomquist/mupibox-media-db",
    "publisherUrl": "https://clawhub.ai/tomquist/mupibox-media-db",
    "owner": "tomquist",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mupibox-media-db",
    "downloadUrl": "https://openagent3.xyz/downloads/mupibox-media-db",
    "agentUrl": "https://openagent3.xyz/skills/mupibox-media-db/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mupibox-media-db/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mupibox-media-db/agent.md"
  }
}