hc-tec/my-collection-skills/bilibili-favorites

Claude Code and agent skill by hc-tec/my-collection-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetch and inspect Bilibili favorites (收藏夹/收藏内容) and video transcripts (字幕/逐字稿) using your own logged-in cookies (CookieCloud supported). Use when the user asks to查看/导出 B站收藏夹、最近收藏了哪些视频、或"这个 BV/视频讲了什么"(needs transcript).

Install

npx vskill@latest install hc-tec/my-collection-skills/bilibili-favorites

SKILL.md

Bilibili Favorites

Use the scripts in scripts/ to read your Bilibili favorites via web APIs (API-first; no RSSHub).

Cookie auth (recommended)

  • CookieCloud (no copy/paste): set COOKIECLOUD_UUID + COOKIECLOUD_PASSWORD (also accepts COOKIECLOUDUUID / COOKIECLOUDPASSWORD)
  • Optional: COOKIECLOUD_SERVER_URL (default: http://127.0.0.1:8088)
  • Or set BILIBILI_COOKIE (raw Cookie: header string)
  • Or pass --cookie 'SESSDATA=...; ...' to a script (highest priority)

Quick Start

Probe login / current user:

bash
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_me.py

List favorite folders (auto-detect uid from cookies):

bash
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folders.py
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folders.py --include-collected

List items inside a folder (recently collected first):

bash
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folder_items.py --media-id <folderId> --order mtime --limit 50

Fetch video transcript (subtitles; best for summarization):

bash
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_video_transcript.py --url 'https://www.bilibili.com/video/BV...' --timestamps

JSON mode (for piping / automation):

  • Add --json to any script.

How To Answer Common Requests

  • "帮我看看 B 站的收藏夹"
  • Run docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folders.py --json and show folder id/title/media_count so the user can pick a folder.
  • "最近我都收藏了哪些视频?"
  • Pick folder(s) and run docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folder_items.py --media-id <folderId> --order mtime --limit 20.
  • "这个 BV/视频讲了啥内容?"
  • Run docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_video_transcript.py --url ... and summarize from the transcript (not from video frames).
  • If the script exits with code 2 / prints "No subtitles found", the video has no subtitle track:
  • Download audio via skills/media-audio-download, then transcribe via skills/whisper-transcribe-docker (local, Docker), or
  • Use skills/openai-whisper / skills/openai-whisper-api as an alternative STT path.

Troubleshooting

  • "No cookies found": set CookieCloud env vars or BILIBILI_COOKIE, or pass --cookie.
  • "Failed to auto-detect uid": cookies are not logged in (refresh CookieCloud sync).
  • Non-zero Bilibili API code: see references/research.md for endpoint list + fallback plan (WBI signing / Playwright capture).

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
7
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hc-tec/my-collection-skills/bilibili-favorites/badge)](https://verified-skill.com/skills/hc-tec/my-collection-skills/bilibili-favorites)

Something wrong with this skill or its page? Tell us.