โ† Back to Skills Marketplace
osskn4w7

๐Ÿ“บ Bilibili Skill

by OSSKn4w7 ยท GitHub โ†— ยท v1.0.0 ยท MIT-0
cross-platform โš  suspicious
686
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install bilibili-skill
Description
B ็ซ™ (Bilibili) CLI ๅทฅๅ…ท - ๅ‘ๅธƒๅŠจๆ€ใ€็ฎก็†่ง†้ข‘ใ€ๆœ็ดขๅ†…ๅฎนใ€่Žทๅ–ๅผนๅน•
README (SKILL.md)

Bilibili Skill for OpenClaw

๐Ÿ“บ ่ฎฉ AI Agent ๆŽงๅˆถ B ็ซ™๏ผๆ”ฏๆŒๅ‘ๅธƒๅŠจๆ€ใ€็ฎก็†่ง†้ข‘ใ€ๆœ็ดขๅ†…ๅฎนใ€่Žทๅ–ๅผนๅน•็ญ‰ใ€‚

๐Ÿš€ ๅฟซ้€Ÿๅผ€ๅง‹

ๅฎ‰่ฃ…ไพ่ต–

pip3 install bilibili-api-python click Pillow pycryptodome beautifulsoup4 brotli qrcode apscheduler --break-system-packages

้…็ฝฎ่ฎค่ฏ

ๅœจ่ฐƒ็”จๅ‘ฝไปคๆ—ถๆไพ› Cookies๏ผš

bilibili-cli.py \
  --sessdata "ไฝ ็š„ SESSDATA" \
  --bili_jct "ไฝ ็š„ bili_jct" \
  --buvid3 "ไฝ ็š„ buvid3" \
  dynamic publish --content "Hello B ็ซ™๏ผ"

ๆˆ–่€…ๅฐ† Cookies ไฟๅญ˜ๅˆฐๆ–‡ไปถ๏ผš

# Cookies ๅทฒไฟๅญ˜ๅœจ /root/.openclaw/workspace/bilibili-cookies.md

๐Ÿ“‹ ๅฏ็”จๅ‘ฝไปค

ๅŠจๆ€ๆ“ไฝœ

ๅ‘ๅธƒๅŽŸๅˆ›ๅŠจๆ€:

bilibili-cli.py \
  --sessdata "$SESSDATA" --bili_jct "$BILI_JCT" --buvid3 "$BUVID3" \
  dynamic publish --content "ๅŠจๆ€ๅ†…ๅฎน" --img /path/to/image.jpg

ๅˆ ้™คๅŠจๆ€:

bilibili-cli.py \
  --sessdata "$SESSDATA" --bili_jct "$BILI_JCT" \
  dynamic delete --dyn-id 1179226104862343192

่ฝฌๅ‘ๅŠจๆ€:

bilibili-cli.py \
  --sessdata "$SESSDATA" --bili_jct "$BILI_JCT" \
  dynamic repost --dyn-id 123456 --content "่ฝฌๅ‘่ฏ„่ฎบ"

่ง†้ข‘ๆ“ไฝœ

่Žทๅ–่ง†้ข‘ไฟกๆฏ:

bilibili-cli.py video info --bvid BV1uv411q7Mv --json-output

่Žทๅ–่ง†้ข‘็ปŸ่ฎก:

bilibili-cli.py video stats --bvid BV1uv411q7Mv

็‚น่ตž่ง†้ข‘:

bilibili-cli.py \
  --sessdata "$SESSDATA" --bili_jct "$BILI_JCT" \
  video like --bvid BV1uv411q7Mv --status true

็”จๆˆทๆ“ไฝœ

่Žทๅ–็”จๆˆทไฟกๆฏ:

bilibili-cli.py user info --uid 3706946142079013 --json-output

่Žทๅ–็”จๆˆทๆŠ•็จฟ:

bilibili-cli.py user videos --uid 3706946142079013 --ps 10

ๆœ็ดขๆ“ไฝœ

ๆœ็ดข่ง†้ข‘:

bilibili-cli.py search video --keyword "Python ๆ•™็จ‹" --page 1 --json-output

ๆœ็ดข็”จๆˆท:

bilibili-cli.py search user --keyword "่€็•ช่Œ„" --json-output

็›ดๆ’ญๆ“ไฝœ

่Žทๅ–็›ดๆ’ญ้—ดไฟกๆฏ:

bilibili-cli.py live info --room-id 22708562 --json-output

๐Ÿค– AI Agent ้›†ๆˆ

OpenClaw MCP ้…็ฝฎ

ๅœจ ~/.openclaw/openclaw.json ไธญๆทปๅŠ ๏ผš

{
  "mcp": {
    "servers": {
      "bilibili": {
        "command": "python3",
        "args": ["/root/.openclaw/workspace/external/bilibili-mcp-server/bilibili.py"],
        "transport": "stdio"
      }
    }
  }
}

็Žฏๅขƒๅ˜้‡ๆ–นๅผ

export BILIBILI_SESSDATA="0bc2bad7%2C1788944530%2Ce3acf%2A31..."
export BILIBILI_BILI_JCT="94c0e8c198bc26f5c58c11490bd8ef62"
export BILIBILI_BUVID3="BEDF1095-927E-9F61-3920-7364E75F194027291infoc"

็„ถๅŽๅœจๅ‘ฝไปคไธญไฝฟ็”จ๏ผš

bilibili-cli.py \
  --sessdata "$BILIBILI_SESSDATA" \
  --bili_jct "$BILIBILI_BILI_JCT" \
  --buvid3 "$BILIBILI_BUVID3" \
  dynamic publish --content "Hello!"

๐Ÿ“Š ๅŠŸ่ƒฝๅฏนๆฏ”

ๅŠŸ่ƒฝ MCP Server CLI ๅทฅๅ…ท
ๆœ็ดขๅ†…ๅฎน โœ… โœ…
็”จๆˆทๆŸฅ่ฏข โœ… โœ…
่ง†้ข‘่ฏฆๆƒ… โŒ โœ…
ๅ‘ๅธƒๅŠจๆ€ โŒ โœ…
ๅˆ ้™คๅŠจๆ€ โŒ โœ…
่Žทๅ–ๅผนๅน• โœ… โŒ
็‚น่ตž่ง†้ข‘ โŒ โœ…
็›ดๆ’ญๆŸฅ่ฏข โŒ โœ…

ๆŽจ่: ไธค่€…็ป“ๅˆไฝฟ็”จ๏ผ

  • MCP Server ็”จไบŽๆœ็ดข/ๆŸฅ่ฏข๏ผˆAI ่‡ช็„ถ่ฐƒ็”จ๏ผ‰
  • CLI ๅทฅๅ…ท็”จไบŽๅ‘ๅธƒ/ๅˆ ้™ค๏ผˆ่„šๆœฌๅŒ–ๆ“ไฝœ๏ผ‰

๐Ÿ”ง ้ซ˜็บง็”จๆณ•

ๆ‰น้‡ๅ‘ๅธƒๅŠจๆ€

#!/usr/bin/env python3
import subprocess
import time

cookies = "--sessdata 'xxx' --bili_jct 'xxx' --buvid3 'xxx'"
contents = [
    "็ฌฌไธ€ๆกๅŠจๆ€",
    "็ฌฌไบŒๆกๅŠจๆ€",
    "็ฌฌไธ‰ๆกๅŠจๆ€"
]

for content in contents:
    cmd = f"bilibili-cli.py {cookies} dynamic publish --content '{content}'"
    subprocess.run(cmd, shell=True)
    time.sleep(3)  # ้ฟๅ…้ฃŽๆŽง

่Žทๅ–่ง†้ข‘ๅผนๅน•๏ผˆ้€š่ฟ‡ MCP๏ผ‰

from mcp import Client
from bilibili import get_video_danmaku

danmaku = get_video_danmaku("BV1uv411q7Mv")
print(danmaku)

โš ๏ธ ๆณจๆ„ไบ‹้กน

  1. ้€Ÿ็އ้™ๅˆถ: ้ฟๅ…ๅฟซ้€Ÿ่ฟž็ปญ่ฐƒ็”จ๏ผˆๅปบ่ฎฎ้—ด้š” 2-3 ็ง’๏ผ‰
  2. ้ฃŽๆŽง็ญ–็•ฅ: ๅคง้‡ๆ“ไฝœๅฏ่ƒฝ้œ€่ฆไปฃ็†
  3. Cookie ๆœ‰ๆ•ˆๆœŸ: SESSDATA ไผš่ฟ‡ๆœŸ๏ผŒ้œ€ๅฎšๆœŸๆ›ดๆ–ฐ
  4. ๅˆๆณ•ไฝฟ็”จ: ไป…็”จไบŽๅญฆไน ๅ’Œๆต‹่ฏ•๏ผŒ็ฆๆญขๆปฅ็”จ

๐Ÿ“š ็›ธๅ…ณ่ต„ๆบ

๐ŸŽฏ ไฝฟ็”จ็คบไพ‹

็คบไพ‹ 1: ๅ‘ๅธƒ Ollama ๆŽจ่ๅŠจๆ€

bilibili-cli.py \
  --sessdata "$SESSDATA" --bili_jct "$BILI_JCT" --buvid3 "$BUVID3" \
  dynamic publish --content "๐Ÿฆ™ Ollama๏ผš่ฎฉๅคงๆจกๅž‹ๅœจไฝ ๆœฌๅœฐ็”ต่„‘่ฟ่กŒ๏ผ

2026 ๅนดไบ†่ฟ˜ๅœจๆŠŠๆ•ฐๆฎๅ‘็ป™ไบ‘็ซฏ AI๏ผŸOllama ่ฎฉไฝ ไธ€้”ฎ่ฟ่กŒ Llamaใ€Mistral ็ญ‰ๅคงๆจกๅž‹๏ผ

โœ… ๅฎŒๅ…จๅ…่ดน โœ… ้š็งๅฎ‰ๅ…จ โœ… ็ฆป็บฟๅฏ็”จ

ๅฎ‰่ฃ…่ถ…็ฎ€ๅ•๏ผš
curl -fsSL https://ollama.com/install.sh | sh
ollama run llama3.2

5 ๅˆ†้’Ÿๅฐฑๆœ‰่‡ชๅทฑ็š„็งๆœ‰ AI ๅŠฉๆ‰‹๏ผ๐ŸŽ‰

#Ollama #AI #ๅคง่ฏญ่จ€ๆจกๅž‹ #ๅผ€ๆบ #ๆœฌๅœฐ AI"

็คบไพ‹ 2: ๆœ็ดข UP ไธป

bilibili-cli.py search user --keyword "่€็•ช่Œ„" --json-output

่พ“ๅ‡บ๏ผš

{
  "result": [
    {
      "uname": "่€็•ช่Œ„",
      "mid": 546195,
      "fans": 2500000,
      "videos": 500,
      "level": 6
    }
  ]
}

็คบไพ‹ 3: ่Žทๅ–่ง†้ข‘ไฟกๆฏ

bilibili-cli.py video info --bvid BV1uv411q7Mv

่พ“ๅ‡บ๏ผš

ๆ ‡้ข˜๏ผš็ˆ†่‚ 98 ๅฐๆ—ถ๏ผๅœจ MC ไธญ่ฟ˜ๅŽŸ็ณ–่ฐƒๅฐ้•‡
UP ไธป๏ผš็ณ–่ฐƒ
ๆ’ญๆ”พ๏ผš1234567
็‚น่ตž๏ผš98765
ๆ—ถ้•ฟ๏ผš3600 ็ง’

Skill ็‰ˆๆœฌ: 1.0.0 ๆœ€ๅŽๆ›ดๆ–ฐ: 2026-03-13 ็ปดๆŠค่€…: ๅฐ็ˆช ๐Ÿพ

Usage Guidance
This skill appears to be a legitimate Bilibili CLI wrapper, but it has important mismatches and risky recommendations you should review before installing. Key points: (1) It requires sensitive Bilibili cookies (SESSDATA, bili_jct, buvid3) even though the registry metadata doesn't declare them โ€” do not store these in plaintext under the shared workspace unless you accept the risk. (2) The README instructs adding an MCP server entry to your ~/.openclaw/openclaw.json that points to an external script in the workspace โ€” that lets the agent run that code and increases risk; only add this if you trust the source and have inspected the referenced code. (3) Avoid running ambiguous installer commands (the docs mention pip with --break-system-packages and example use of curl | sh in a posted message); install dependencies from trusted sources and avoid --break-system-packages. (4) Review the bilibili-cli implementation you will invoke (the skill expects /root/.openclaw/workspace/external/bilibili-api/bilibili-cli.py) โ€” ensure it's the authentic project and inspect it for unexpected network endpoints or telemetry. (5) If you proceed, keep cookies in a secure secrets store or environment scoped to the process, not an unencrypted workspace file, and consider manual, minimal configuration rather than auto-adding MCP servers. If you want higher confidence, ask the maintainer for a provenance link to the exact bilibili-cli they expect and for the skill manifest to be updated to declare the required env vars.
Capability Analysis
Type: OpenClaw Skill Name: bilibili-skill Version: 1.0.0 The skill bundle provides a legitimate integration for interacting with Bilibili via a CLI wrapper and an AI agent. It handles sensitive authentication tokens (SESSDATA, bili_jct) by reading them from environment variables or a local configuration file (`bilibili-cookies.md`), which is standard for such tools. The documentation (`README.md`, `SKILL.md`) includes clear risk warnings regarding account security and API rate limits. While `SKILL.md` contains a `curl | sh` command within a code block, it is explicitly presented as a sample string for a social media post (promoting Ollama) rather than an instruction for the agent to execute on the host system. The logic in `bilibili-wrapper.sh` is straightforward and lacks indicators of malicious intent or data exfiltration.
Capability Assessment
โš  Purpose & Capability
The skill's functionality (posting, deleting, searching on Bilibili) coherently requires Bilibili authentication and a CLI client; however the registry metadata lists no required environment variables or credentials while the SKILL.md and wrapper script clearly depend on SESSDATA / bili_jct / buvid3 (via env vars or a cookies file). This discrepancy between stated requirements and actual needs is incoherent and could mislead users about what secrets will be used.
โš  Instruction Scope
Runtime instructions and examples tell the agent/user to store and read cookies from a workspace file (/root/.openclaw/workspace/bilibili-cookies.md) or environment variables, to add an MCP server entry to ~/.openclaw/openclaw.json (modifying agent configuration), and include an example using subprocess.run(..., shell=True) for batch publishing. These steps cause the agent (or a user) to read and persist sensitive credentials and to wire an external MCP server into the agent โ€” actions beyond simple CLI invocation and worth vetting.
โ„น Install Mechanism
The skill is instruction-only (no automated install), which is low-risk, but the README/SKILL.md recommend pip installing multiple packages (including bilibili-api-python and others) and use of --break-system-packages. The recommended installs are from PyPI (expected) but the --break-system-packages flag is unusual and risky. No downloads from arbitrary URLs are programmed by the skill itself.
โš  Credentials
Although registry metadata lists no required env vars, the wrapper script and documentation require BILIBILI_SESSDATA, BILIBILI_BILI_JCT, and BILIBILI_BUVID3 (or a cookies file). Asking for three account cookies/keys is proportionate to the stated capability, but the fact they are not declared in the skill manifest and the recommended storage is an unencrypted workspace file increases risk of accidental credential exposure.
โš  Persistence & Privilege
The SKILL.md instructs adding a new MCP server entry to ~/.openclaw/openclaw.json pointing at an external script inside the workspace. That change would cause the agent to load/run external code via stdio transport. While the skill is not marked always:true, advising or automating modification of agent configuration to add an external MCP server expands the attack surface and should be treated with care.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bilibili-skill
  3. After installation, invoke the skill by name or use /bilibili-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
๐Ÿ“บ ๅˆๅง‹็‰ˆๆœฌ - AI Agent ๆŽงๅˆถ B ็ซ™ โœ… ๅŠŸ่ƒฝ: - ๅŠจๆ€ๅ‘ๅธƒ/ๅˆ ้™ค/่ฝฌๅ‘ - ่ง†้ข‘/็”จๆˆทๆŸฅ่ฏข - ๆœ็ดขๅŠŸ่ƒฝ - ็›ดๆ’ญๆŸฅ่ฏข - MCP Server ้›†ๆˆ โš ๏ธ ่ญฆๅ‘Š: - ๅฏ่ƒฝ่งฆๅ‘้ฃŽๆŽงๅฏผ่‡ด่ดฆๅท้™ๅˆถ - ไฝฟ็”จ้œ€่ฐจๆ…Ž๏ผŒๅปบ่ฎฎไป…็”จไบŽๅญฆไน /ๆต‹่ฏ• ๐Ÿ”— GitHub: https://github.com/OSSKn4w7/bilibili-skill
Metadata
Slug bilibili-skill
Version 1.0.0
License MIT-0
All-time Installs 5
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is ๐Ÿ“บ Bilibili Skill?

B ็ซ™ (Bilibili) CLI ๅทฅๅ…ท - ๅ‘ๅธƒๅŠจๆ€ใ€็ฎก็†่ง†้ข‘ใ€ๆœ็ดขๅ†…ๅฎนใ€่Žทๅ–ๅผนๅน•. It is an AI Agent Skill for Claude Code / OpenClaw, with 686 downloads so far.

How do I install ๐Ÿ“บ Bilibili Skill?

Run "/install bilibili-skill" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is ๐Ÿ“บ Bilibili Skill free?

Yes, ๐Ÿ“บ Bilibili Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ๐Ÿ“บ Bilibili Skill support?

๐Ÿ“บ Bilibili Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ๐Ÿ“บ Bilibili Skill?

It is built and maintained by OSSKn4w7 (@osskn4w7); the current version is v1.0.0.

๐Ÿ’ฌ Comments