# Send MuPiBox Media DB to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/mupibox-media-db",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mupibox-media-db",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/mupibox_media_manager.py"
    ],
    "downloadMode": "redirect",
    "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### MuPiBox Media DB

Manage the MuPiBox media database (data.json) via the backend API.

### Requirements

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)
Python 3
Bundled script available at ./scripts/mupibox_media_manager.py

### API basics

Read: GET /api/data
Write: POST /api/add, POST /api/edit, POST /api/delete

### Example commands

Script path: ./scripts/mupibox_media_manager.py. Default API endpoint is http://mupibox:8200 (override with --base-url).

# Show list
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --limit 30

# Filter (for example spotify + music)
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> list --type spotify --category music --limit 100

# Manual backup
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> backup

### Add entries

# 1) Raw JSON
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\
  --json '{"type":"spotify","category":"audiobook","artist":"Example Artist","id":"SPOTIFY_ID"}'

# 2) Spotify URL with automatic ID extraction
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> add \\
  --type spotify --category audiobook --artist "Example Artist" \\
  --spotify-url "https://open.spotify.com/album/SPOTIFY_ID"

### Remove entries

# By index
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --index 42

# By Spotify ID
python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> remove --spotify-id SPOTIFY_ID

### Move / reorder

python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> move --from 20 --to 3

### Update fields

python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> set --index 10 \\
  --field artist="New Artist" \\
  --field category="audiobook" \\
  --field shuffle=true

--field accepts JSON values (true, false, numbers, strings).

### Restore

python3 ./scripts/mupibox_media_manager.py --base-url <BASE_URL> restore \\
  --file ~/.mupibox-db-backups/data-YYYYMMDD-HHMMSS-before-add.json

### Agent workflow

For add: resolve missing IDs/metadata first, then add.
For remove: identify entry via list first, then remove.
For move: confirm target positions, then move.
Verify changes using list.

### Quality checks for Spotify audiobooks

Prefer album IDs over playlist IDs (unless playlists are explicitly requested).
Avoid box sets/compilations when a single canonical release is intended.
Choose consistent versions when duplicates exist.
Ask for clarification if uncertain instead of adding blindly.

### Safety

No external side effects outside the MuPiBox API.
The bundled script creates a local backup before mutations.
Restore only from trusted backup files.
On failure, report the latest backup file.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: tomquist
- Version: 1.0.2
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mupibox-media-db)
- [Send to Agent page](https://openagent3.xyz/skills/mupibox-media-db/agent)
- [JSON manifest](https://openagent3.xyz/skills/mupibox-media-db/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mupibox-media-db/agent.md)
- [Download page](https://openagent3.xyz/downloads/mupibox-media-db)