hc-tec/my-collection-skills/bilibili-favorites
Claude Code and agent skill by hc-tec/my-collection-skills
- community
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-favoritesSKILL.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 acceptsCOOKIECLOUDUUID/COOKIECLOUDPASSWORD) - Optional:
COOKIECLOUD_SERVER_URL(default:http://127.0.0.1:8088) - Or set
BILIBILI_COOKIE(rawCookie:header string) - Or pass
--cookie 'SESSDATA=...; ...'to a script (highest priority)
Quick Start
Probe login / current user:
List favorite folders (auto-detect uid from cookies):
List items inside a folder (recently collected first):
Fetch video transcript (subtitles; best for summarization):
JSON mode (for piping / automation):
- Add
--jsonto any script.
How To Answer Common Requests
- "帮我看看 B 站的收藏夹"
- Run
docker compose run --rm runner python skills/bilibili-favorites/scripts/bili_folders.py --jsonand show folderid/title/media_countso 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 viaskills/whisper-transcribe-docker(local, Docker), or - Use
skills/openai-whisper/skills/openai-whisper-apias 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: seereferences/research.mdfor 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
- SKILL.md in the repositoryCheckingskills/bilibili-favorites/SKILL.md
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
[](https://verified-skill.com/skills/hc-tec/my-collection-skills/bilibili-favorites)