Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Bilibili Source Fetcher

Fetch real, citable Bilibili video metadata, live engagement stats, and full danmaku text from a BVID, av number, b23.tv link, or URL — no login required.

Data & AnalyticsIntermediate1,323212AI score 9/10Last updated: Aug 8, 2026

What it does

Pulls verifiable, timestamped data for any Bilibili (B站) video in a single API call:

  • Title, UP (creator) name and follower count, publish date, partition, tags, duration
  • Live stats: views, likes, coins, favorites, shares, replies, danmaku count
  • Per-part cid values plus the full danmaku (bullet-comment) text
  • Subtitles are supported too, but require your own Bilibili login cookies

The guiding rule is "never fabricate a number." If a value can't be fetched it writes 未获取/未核实, and every live metric must be cited with its fetched_at timestamp. The bundled scripts also handle the usual network traps: stripping local proxies, sending a browser User-Agent + Referer to dodge HTTP 412, and retrying with backoff.

Who it's for

  • Researchers ingesting Bilibili sources into a knowledge base
  • Marketers and creators doing "why did this video perform" post-mortems
  • Anyone verifying a Chinese creator's claimed view or follower numbers
  • Analysts tracking Chinese content trends who need hard numbers, not estimates

Examples

  1. Case study writing: run scripts/bili-fetch.sh BV1xxxxxxxxx and cite 48,000 views / 1,200 likes / 180 coins together with the fetched_at timestamp.
  2. Audience reaction analysis: run scripts/bili-danmaku.sh BV1xxxxxxxxx to dump every time-synced comment and see exactly where viewers reacted.
  3. Drift check: after a long gap, run scripts/bili-selftest.sh to get a PASS/FAIL row per capability before trusting any output.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the bilibili-source folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/bilibili-source/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/bilibili-source ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal (Terminal on macOS, WSL or Git Bash on Windows).
  2. Clone the repository:
    git clone https://github.com/daymade/claude-code-skills.git
    
  3. Copy the skill into your Claude Code skills folder:
    mkdir -p ~/.claude/skills
    cp -r claude-code-skills/bilibili-source ~/.claude/skills/
    
  4. Make the scripts executable:
    chmod +x ~/.claude/skills/bilibili-source/scripts/*.sh
    
  5. Ensure curl and jq are installed (brew install jq on macOS, sudo apt install jq on Ubuntu). Install yt-dlp as well if you want subtitles.
  6. Restart Claude Code, then ask something like "fetch the stats for this Bilibili video: BV1xxxxxxxxx" and the skill triggers automatically.
  7. Verify everything works by running ~/.claude/skills/bilibili-source/scripts/bili-selftest.sh and checking for PASS rows.