Tooluck logoTooluck
SKILL.md

bilibili-source

Agent skill fromdaymade/claude-code-skills

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.

How to install bilibili-source

install bilibili-source
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills

# or add only this skill to Claude Code: copy the folder

bilibili-source/

# into

~/.claude/skills/bilibili-source/ (all projects)

.claude/skills/bilibili-source/ (one project)

bilibili-source/SKILL.md

MITFull file
1# bilibili-source
2
3Fetch **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.
4
5## Quick start
6
7```bash
8scripts/bili-fetch.sh BV1xxxxxxxxx
9```
10
11Returns one JSON object with everything from a single `view/detail` API call:
12
13```json
14{
15 "bvid": "BV1xxxxxxxxx",
16 "aid": 1234567890,
17 "fetched_at": "2026-06-07T13:54:17Z",
18 "url": "https://www.bilibili.com/video/BV1xxxxxxxxx",
19 "title": "<video title>",
20 "up": { "name": "<UP name>", "mid": 12345678, "fans": 45600 },
21 "pubdate": "2026-01-10T00:50:47Z",
22 "tname": "<partition, may be empty>",
23 "tags": ["<tag>", "<tag>"],
24 "videos": 1,
25 "duration_s": 372,
26 "stat": { "view": 48000, "like": 1200, "coin": 180, "favorite": 950,
27 "share": 64, "reply": 210, "danmaku": 130 },
28 "pages": [ { "cid": 12345678, "page": 1, "part": "<part title>", "duration": 372 } ]
29}
30```
31
32`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).
33
34## Scripts
35
36| Script | What it does | Login |
37|--------|--------------|-------|
38…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates