# Send Bilibili Subtitle Downloader 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": "bilibili-subtitle-download-skill",
    "name": "Bilibili Subtitle Downloader",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/DavinciEvans/bilibili-subtitle-download-skill",
    "canonicalUrl": "https://clawhub.ai/DavinciEvans/bilibili-subtitle-download-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/bilibili-subtitle-download-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bilibili-subtitle-download-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/cheese_downloader.py",
      "scripts/download_and_chunk.py"
    ],
    "downloadMode": "redirect",
    "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/bilibili-subtitle-download-skill"
    },
    "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/bilibili-subtitle-download-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/bilibili-subtitle-download-skill",
    "agentUrl": "https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent.md"
  }
}
```
## Documentation

### Bilibili 字幕下载器技能

此技能通过使用专用的 Python 脚本和子智能体 (sub-agent) 编排，自动化提取和总结 Bilibili 视频字幕的流程。

### 工作流程

提取字幕: 运行自带的脚本来下载并分块字幕。普通视频，均为 BV 号开头
python3 skills/bilibili-subtitle-downloader/scripts/download_and_chunk.py <BV_ID>


登录检查: 如果脚本输出 QR_CODE_READY:<PATH>，它将等待用户扫描二维码。您应该将此图像发送给用户。
保存 Cookie: 成功登录后，脚本会自动将 Cookie 保存到 ~/.openclaw/workspace/bilibili_cookie.txt。



处理输出: 解析脚本输出的 RESULT_JSON，以获取分块文件列表。分块文件命名格式：

普通视频 (BV号): bili_temp/<BV_ID>/<BV_ID>_chunk_0.txt
课程剧集 (EP号): bili_temp/<EP_ID>/chunk_0.txt

### Bilibili 课程 (Cheese) 工作流程

提取课程/剧集信息: 使用课程专属脚本获取元数据和字幕。课程或者视频，往往由 SS 或者 EP 开头
python3 skills/bilibili-subtitle-downloader/scripts/cheese_downloader.py <SS_ID or EP_ID>


登录: 脚本将生成一个 bilibili_login_qr.png。扫描它以登录。
SS_ID 模式: 如果提供 SS_ID（如 ss123），脚本将打印课程信息和所有剧集列表，需要使用具体的 EP_ID 来获取字幕。
EP_ID 模式: 如果提供 EP_ID（如 ep456），脚本将下载字幕并切分保存到 bili_temp/ep456/ 目录，输出 RESULT_JSON。

### 子智能体指令

在生成用于总结的子智能体时，请使用以下提示词 (prompt) 模式：

请阅读以下 Bilibili 视频字幕分块，并提供全面、准确的总结。
要求：

捕获所有关键的技术细节、具体的数据点和逻辑步骤。
使用标题保持清晰的结构。
明确主旨和可执行的要点。
风格：专业、信息丰富且详细。

字幕文件： [PATH_TO_CHUNK]

### 资源

脚本: scripts/download_and_chunk.py - 处理 Bilibili API 交互和基于 Token 的安全分块。
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: DavinciEvans
- Version: 1.0.0
## 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-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/bilibili-subtitle-download-skill)
- [Send to Agent page](https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent)
- [JSON manifest](https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/bilibili-subtitle-download-skill/agent.md)
- [Download page](https://openagent3.xyz/downloads/bilibili-subtitle-download-skill)