Agent skill · agents365-ai
bbc-skill
Fetch Bilibili (哔哩哔哩) video comments for UP主 self-analysis. Use when the user asks to collect, download, export, or analyze comments on a Bilibili video (BV号 / URL / UID). Produces JSONL + summary.json suitable for further Claude Code analysis (sentiment, keywords, audience trends). Read-only; does not post/edit/delete.
What it needs
About 4k tokens when loaded.
What this skill does
bbc-skill — Bilibili Comment Collector Download all comments (top-level + nested + pinned) for a Bilibili video and produce data that Claude Code can analyze downstream. Update check Throttle to one check per 24 hours per installation; never mutate the skill directory without explicit user consent. 1. If <this-skill-dir>/.lastupdate exists and is less than 24 hours old, skip this step entirely. 2. Otherwise, fetch the latest tag from upstream: 3. Compare with this skill's metadata.version from the frontmatter. If the upstream tag is strictly newer (semver), tell the user one line and ask: "A newer version of this skill is available: vX.Y.Z → vA.B.C. Want me to git pull?" If they say yes, run git -C <this-skill-dir> pull --ff-only. Refresh .lastupdate either way so the prompt doesn't repeat for 24 hours. 4. If upstream is the same or older, refresh .lastupdate silently and continue. 5. On any failure (offline, not a git checkout — e.g. ClawHub-installed copy, read-only path, no permission), swallow the error silently and continue with the user's task. Do not mention the failure. When to use Trigger this skill when the user: Asks to get / fetch / download / export / collect / analyze comments of a specific Bilibili video (BV 号, URL, or video page). Asks to analyze audience feedback / sentiment / keywords / top comments / IP distribution of their own Bilibili videos. Provides a Bilibili URL like https://www.bilibili.com/video/BVxxxxxxxxxx/. Mentions their UP主 UID and wants batch analysis across their videos. Do not use for: posting / deleting comments, downloading videos, barrage (弹幕), live stream data, or private messages. Prerequisites 1. Python 3.9+ (stdlib only — zero pip install). 2. Bilibili cookie. The user must be logged in to bilibili.com. The recommended path: Install the Chrome/Edge extension Get cookies.txt LOCALLY (open-source, fully local, no upload). On a logged-in bilibili.com tab, click Export → save www.bilibili.comcookies.txt. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills agents365-ai/bbc-skill