bilibili-course-notes
Skill5 starsChanged 56 days agoMITView on GitHub
B站网课转笔记 / Bilibili lecture & course notes. 用户要把一节 B 站网课、讲座、公开课(BV 号、b23.tv 短链或分享文字)整理成学习笔记,或要把一整套分P 课程逐 P 做成笔记时使用。输出 Markdown:8 分钟以上的视频带「带时间的章节大纲」,要点附原话和时间,逐字稿每行带 [mm:ss];分P 课程每 P 一个文件,开始前先报每 P 时长和要花的积分。不登录 B 站、不要 Cookie、不下载视频。没有 Key 可免费看一条摘要;完整笔记需要 LinkDigest API Key(注册送 10 积分)。
- Reads credentials
In this repository40 other files it gives its agents.
- bilibili-subtitle-textSkill
- bilibili-video-summarySkill
- bilibili-video-to-textSkill
- douyin-batch-to-textSkill
- douyin-creator-cardSkill
- douyin-search-to-textSkill
- douyin-subtitle-textSkill
- douyin-video-summarySkill
- douyin-video-to-textSkill
- hongguo-drama-researchSkill
- instagram-to-textSkill
- linkdigest-script-rewriteSkill
- linkdigestSkill
- linkdigest-video-transcriptSkill
- linkdigest-viral-breakdownSkill
- linkdigest-wechat-article-readerSkill
- linkdigest-xhs-note-ocrSkill
- linkdigest-xiaohongshu-douyin-readerSkill
- linkdigest-youtube-summarySkill
- long-video-transcriptSkill
- overseas-pain-pointsSkill
- podcast-to-textSkill
- tiktok-transcriptSkill
- toutiao-to-textSkill
- twitter-to-textSkill
- video-to-articleSkill
- video-to-mindmapSkill
- video-to-notesSkill
- video-transcript-translateSkill
- viral-video-remakeSkill
- weibo-to-textSkill
- xiaohongshu-batch-exportSkill
- xiaohongshu-consumer-insightSkill
- xiaohongshu-daily-draftSkill
- xiaohongshu-douyin-compareSkill
- xiaohongshu-douyin-last-30-daysSkill
- xiaohongshu-note-summarySkill
- xiaohongshu-note-to-textSkill
- xiaohongshu-pain-point-radarSkill
- xiaohongshu-search-to-textSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
逐字稿: every line with [mm:ss].
- Distinctive: line 52
Only the link is sent to linkdigest.dev.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
B站网课 → 学习笔记(大纲 · 要点 · 逐字稿 · 分P)
A lecture on Bilibili is an hour of speech and slides. Agents cannot fetch it (Bilibili answers server requests with HTTP 412), and a raw transcript is not notes. This skill turns one lecture — or a whole multi-part course — into Markdown notes a student can study from.
Decide first
| The user wants | Run |
| Notes for one lecture | python3 {baseDir}/scripts/bili2notes.py "<link>" -o note.md |
| Only what was said, cheapest | add --depth script |
| Slide / board text too | add --depth full --on-screen (dearer: frames are read) |
| Parts 1–10 of a 分P course | python3 {baseDir}/scripts/bili2notes.py "<link>" --parts 1-10 --out-dir notes/ |
| Every part | --parts all (the script lists each part's length and the credit total and asks before starting; --yes skips the question) |
| Re-render notes from a saved API reply, offline | --from-json reply.json |
The link can be a full bilibili.com/video/BV… address, a ?p=N part link, a b23.tv short link, a bare BV id, or the whole share text copied from the app.
What a note contains
- Header: title, uploader, date, length, and for a 分P video "第 N P / 共 M P".
- 大纲 (videos of 8 minutes and longer read since 2026-11-10): sections with start–end times, a title and one to three lines each. Section times are taken from the transcript's own timestamps and checked in code, so every time can be found in the video.
- 要点: the key points, each followed by the quoted line and time it came from when one was found.
- 逐字稿: every line with
[mm:ss].
Real output: examples/bilibili/sample-note.md — 跟李沐学AI《Transformer论文逐段精读》(87 min): 17 outline sections, 15 key points, 527 transcript lines.
Tell the user
- Speech recognition misspells names and terms (in that lecture "attention" once came out as "tension"); check them against the video.
- A long lecture's last outline section can be coarse; split it by the transcript if it covers much more than its title.
- Exit codes: 3 key refused · 4 not enough credits (the message names what the balance can read instead) · 5 the video cannot be read (deleted, private, members-only) · 7 timed out (rerun; the job is not charged twice).
Cost and limits
Billed per started minute of video and cheaper the less is read: a 10-minute video is 5 credits speech-only (--depth script), an 87-minute lecture is 45 credits transcript-first (the default). Transcript-first reads up to 60 minutes per video on the free plan and 2 hours on paid plans. A video anyone has already read at that depth is free. Links that cannot be read are not charged.
Privacy
Only the link is sent to linkdigest.dev. No Bilibili account, cookie or login is used; the video is read through the player Bilibili publishes for other sites and deleted after reading. https://linkdigest.dev/privacy · support@linkdigest.dev
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

