# Send Check the latest videos and updates of Bilibili ups and see if they have updated today 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. 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.
```
### 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bilibili-update-viewer",
    "name": "Check the latest videos and updates of Bilibili ups and see if they have updated today",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/Jianguo99/bilibili-update-viewer",
    "canonicalUrl": "https://clawhub.ai/Jianguo99/bilibili-update-viewer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/bilibili-update-viewer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bilibili-update-viewer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      ".gitignore",
      "bilibili_api.py",
      "get_mid.py",
      "README.md",
      "requirements.txt",
      "SKILL.md"
    ],
    "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-update-viewer"
    },
    "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-update-viewer",
    "downloadUrl": "https://openagent3.xyz/downloads/bilibili-update-viewer",
    "agentUrl": "https://openagent3.xyz/skills/bilibili-update-viewer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bilibili-update-viewer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bilibili-update-viewer/agent.md"
  }
}
```
## Documentation

### B站UP主查看器

查看B站UP主的最新视频和动态，支持检查UP主今天是否更新。
如果遇到访问太频繁的问题，直接和用户说访问太频繁，不要尝试别的方式。

### 1. 安装依赖

pip install -r {baseDir}/requirements.txt

### 2. 设置环境变量

需要B站Cookies才能访问API。获取方法：登录 bilibili.com → F12 → Network → 复制任意请求的 Cookie 字段。

export BILIBILI_COOKIES="你的B站cookies"

### 第一步：获取UP主的 mid

a. 如果用户直接给了 mid（纯数字），直接进入第二步。

b. 如果用户给的是UP主用户名，先从本地缓存查找：

python3 {baseDir}/get_mid.py "用户名"

如果输出了 mid 数字，直接使用该 mid 进入第二步。
如果输出 NOT_FOUND，则通过搜索获取：

python3 {baseDir}/update_viewer.py --search "用户名" --count 1

从搜索结果中提取 mid 数字，进入第二步。

### 第二步：根据用户意图执行对应命令

根据用户的问题选择合适的命令：

场景A - 用户问"今天更新了吗"、"有没有新视频"等：

python3 {baseDir}/update_viewer.py --mid {MID} --videos --count 3

运行后，从输出中查看每条视频的「发布」时间，判断是否有今天的日期（{今天的日期}），然后告诉用户今天是否有更新。如果有，列出今天更新的视频标题和链接。

场景B - 用户想查看最新视频列表：

python3 {baseDir}/update_viewer.py --mid {MID} --videos

场景C - 用户想查看最新动态：

python3 {baseDir}/update_viewer.py --mid {MID} --dynamics

### update_viewer.py

参数说明必需--midUP主的 mid与 --search 二选一--search, -s根据用户名搜索UP主与 --mid 二选一--videos, -v显示最新视频否--dynamics, -d显示最新动态否--count, -n显示数量（默认3）否

### 注意事项

Cookies 有效期有限，失效后需重新获取
请求频率不宜过高，建议间隔 1 秒以上
需要设置 BILIBILI_COOKIES 环境变量
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Jianguo99
- 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-update-viewer)
- [Send to Agent page](https://openagent3.xyz/skills/bilibili-update-viewer/agent)
- [JSON manifest](https://openagent3.xyz/skills/bilibili-update-viewer/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/bilibili-update-viewer/agent.md)
- [Download page](https://openagent3.xyz/downloads/bilibili-update-viewer)