Agent skill · data analytics · daymade
bilibili-source
Fetches real, citable Bilibili (B站) video data — stats, metadata, tags, and full danmaku text — via login-free API calls, never hand-typed or estimated. Use when citing view/like/favorite counts, analyzing why a video performed, or archiving a Bilibili source into a knowledge base. Accepts BVID, av numbers, b23.tv links, or full URLs; subtitles and 收藏夹 (favorites) enumeration need the user's Bilibili login.
Why this skill is useful
Adds scripts to fetch real-time, verifiable Bilibili video metrics that the AI wouldn't reliably generate on its own.
What it needs
Requires jq installed locally. About 5k tokens when loaded. Last updated 2026-08-07. 1,320 stars on the source repository.
What this skill does
bilibili-source Fetch real, verifiable data for a Bilibili video so you can cite it instead of guessing. Engagement numbers are the backbone of any honest "why did this do well" analysis, and hand-typed or estimated numbers are the fastest way a knowledge base rots. This skill makes the numbers cheap to fetch — so there is no excuse to invent them. Quick start Returns one JSON object with everything from a single view/detail API call: bili-fetch.sh accepts any form a user might paste — BVID, av number, b23.tv short link, or full URL — and normalizes it. For multi-part videos it returns every part's cid in pages[] (you need the per-part cid to fetch that part's danmaku or subtitles). Scripts Script What it does Login -------- -------------- ------- scripts/bili-fetch.sh <ref> Core: full metadata + live stats (run this first) No scripts/bili-danmaku.sh <ref> [P] Danmaku (bullet-comment) full text for a part No scripts/bili-subs.sh <ref> [browser] Subtitle/transcript track Yes scripts/bili-selftest.sh Test anonymous metadata, danmaku and selected API shapes No scripts/bili-access.py Diagnose identity, entitlement, subtitle shape and per-part media; replay/probe/verify-report Explicit cookie file only The shell fetch scripts execute (don't read them as reference). bili-danmaku.sh reuses bili-fetch.sh to resolve the part's cid, so they must stay siblings in scripts/. Danmaku are time-synced comments overlaid on the video — a Bilibili-specific signal of where and how viewers reacted, qualitatively richer than a flat reply count: Rules that keep the data honest Live metrics → always cite fetchedat. The same video re-fetched minutes later drifts (a view count can tick up by a few within a single session). That is not an error — it is proof the data is live. A bare "12,000 views" with no timestamp is meaningless and silently goes stale. NO FABRICATION. If a number can't be fetched, write "未获取/未核实" — never estimate. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills daymade/bilibili-source