← 返回 Skills 市场
izorro

bilibili-upload

作者 zorro · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
752
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install bilibili-upload
功能描述
Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection.
使用说明 (SKILL.md)

Bilibili Upload 📺

Upload local video files to Bilibili (哔哩哔哩).

Features

  • Upload videos with custom title, description, and tags
  • Support selecting different partitions (tid)
  • Uses biliup for reliable uploading
  • Handles Windows encoding issues automatically

Requirements

  • Python 3.8+
  • biliup package (installed automatically: pip install biliup)

Installation

  1. The skill will install biliup automatically on first use
  2. Run biliup login in terminal to scan QR code and login
  3. Login cookies are saved locally for future use

Usage

First Time Login (required once)

chcp 65001
$env:PYTHONIOENCODING = "utf-8"
biliup login

Scan the QR code with Bilibili App to login. Cookies are saved automatically for future use.

Basic Upload

chcp 65001
$env:PYTHONIOENCODING = "utf-8"
python {skill_dir}/upload.py ^
"full/path/to/your/video.mp4" ^
--title "Your Video Title" ^
--desc "Video description" ^
--tags "tag1,tag2,tag3" ^
--tid 138

Example (after login)

python ~/.openclaw/workspace/skills/bilibili-upload/upload.py ^
"C:\Users\hyzu\Documents\openclaw\
ews_briefing_20260311.mp4" ^
--title "2026年3月11日新闻简报" ^
--desc "每日新闻简报,带金色字幕,AI自动生成" ^
--tags "新闻,每日新闻,简报,AI生成" ^
--tid 138

The script automatically handles:

  • Path expansion (supports ~ for home directory)
  • Windows UTF-8 encoding to avoid Unicode errors
  • Error checking for missing video file

Common Partition IDs

ID Partition
138 日常
124 生活
171 科技
95 娱乐
188 美食
208 影视
210 体育
201 动画
15 音乐
189 知识

Notes

  • On Windows, always set code page to UTF-8 before login/upload: chcp 65001
  • Set PYTHONIOENCODING=utf-8 to avoid Unicode encoding errors
  • Login needs interactive terminal to display QR code, must do it manually once
  • After login, cookies are saved automatically and future uploads can be automated
  • If you don't see video immediately after upload, it's probably still in Bilibili's review queue

Script

The upload script is located at: {skill_dir}/upload.py

Where {skill_dir} is the installation directory of this skill. The script accepts any full path from the user, and automatically handles path expansion.

安全使用建议
This skill appears to simply call the third-party 'biliup' uploader to upload local video files. Before using it: (1) ensure you trust the 'biliup' package from PyPI and consider auditing its source or installing it yourself (pip install biliup) rather than relying on an automatic installer; (2) be aware authentication is via an interactive QR code and 'biliup' will save login cookies locally (inspect where those cookies live if you care about token storage); (3) the skill invokes a subprocess ('biliup'), so the security depends on that external tool — run in a sandbox or isolated environment if you have concerns; (4) the SKILL.md claims automatic install but the provided script does not perform pip installation, so ensure 'biliup' is present on PATH before running.
功能分析
Type: OpenClaw Skill Name: bilibili-upload Version: 1.0.0 The skill is a straightforward wrapper for the legitimate 'biliup' command-line tool to upload videos to Bilibili. The Python script (upload.py) uses secure subprocess handling (passing arguments as a list) to prevent shell injection and includes standard routines for handling Windows UTF-8 encoding. No evidence of data exfiltration, malicious persistence, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the implementation: upload.py builds and runs a 'biliup upload' command. Minor inconsistency: registry metadata lists no required binaries, but the runtime depends on the 'biliup' command (SKILL.md instructs pip install biliup). This is expected for an instruction-only skill but should be documented in metadata.
Instruction Scope
SKILL.md instructs the user to install and run 'biliup login' interactively to scan a QR code; the included script only validates the video path, sets local UTF-8 settings on Windows, and invokes 'biliup'. The instructions do not ask the agent to read unrelated files or exfiltrate data.
Install Mechanism
There is no install spec (instruction-only). SKILL.md says 'biliup' will be installed automatically on first use, but upload.py does not perform installation itself — installation relies on the environment or user running 'pip install biliup'. No downloads or obscure URLs are present in the skill files.
Credentials
The skill declares no required environment variables or credentials. It sets PYTHONIOENCODING in-process on Windows to avoid Unicode issues. Authentication is handled by 'biliup' via an interactive QR login which stores cookies locally; that is proportionate to the upload purpose.
Persistence & Privilege
The skill does not request 'always' privilege and does not modify other skills or system-wide agent settings. Persistent state (login cookies) is created/managed by 'biliup' and is normal for an uploader.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bilibili-upload
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bilibili-upload 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of bilibili-upload skill. - Upload local video files to Bilibili with configurable title, description, tags, and partition (tid). - Supports automatic login using biliup with QR code; saves cookies for future uploads. - Automatically handles Windows UTF-8 encoding issues. - Provides usage instructions and partition ID table for easy reference.
元数据
Slug bilibili-upload
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

bilibili-upload 是什么?

Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 752 次。

如何安装 bilibili-upload?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bilibili-upload」即可一键安装,无需额外配置。

bilibili-upload 是免费的吗?

是的,bilibili-upload 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

bilibili-upload 支持哪些平台?

bilibili-upload 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 bilibili-upload?

由 zorro(@izorro)开发并维护,当前版本 v1.0.0。

💬 留言讨论