bilibili-note

bilibili-note is a skill for Claude Code, Codex from HYYH-code/agent-skills. It costs 73 tokens per session (2,647 once invoked), scanned A, original, MIT.

A tool that turns Bilibili or YouTube videos into structured Chinese learning notes in an Obsidian knowledge vault, while preserving original subtitles and separate translations.

In plain words
What is it for?
Use it to save video transcripts, create Chinese study notes, connect reusable concepts, update vault indexes and logs, and track uncertainty in automatic captions or translations.
Why use it?
It keeps source evidence, translations, summaries, and links between ideas organized, reducing the risk of losing or confusing important source details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to save video transcripts, create Chinese study notes, connect reusable…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hyyh-code/agent-skills/bilibili-note
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HYYH-code/agent-skills --skill bilibili-note
Clone the repo
git clone --depth 1 https://github.com/HYYH-code/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bilibili-note

README.md
[![agentmods](https://agentmods.dev/badge/skills/hyyh-code/agent-skills/bilibili-note.svg)](https://agentmods.dev/skills/hyyh-code/agent-skills/bilibili-note)
Your own site
<a href="https://agentmods.dev/skills/hyyh-code/agent-skills/bilibili-note"><img src="https://agentmods.dev/badge/skills/hyyh-code/agent-skills/bilibili-note.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,647 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.02647
Opus 5 $0.00036 $0.01324
Sonnet 5 $0.00015 $0.00529
Haiku 4.5 $0.00007 $0.00265

Measured 6d ago against content hash a4e74a06c7aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

bilibili-note scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 28 executable files (bilibili_note_v2.py, bilibili_note_v3.py, bilibili_note.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bilibili-note/SKILL.md · 319 lines

How it starts

The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bilibili Note

默认 Ingest 契约

默认执行完整 ingest,而不是只生成一篇 Markdown。执行前读取 vault 的 WIKI.mdwiki/hot.mdwiki/index.mdwiki/log.md;执行完成前必须验证:

  1. 人类区 full 中文学习笔记:个人写作/视频笔记/
  2. 内容层原始字幕:.raw/transcripts/,保持原语言、时间轴和证据属性,不得用翻译覆盖。
  3. 内容层中文翻译稿:.raw/transcripts/,与原始字幕独立保存,并标注 language: zh-CNtranslated_fromconfidencesource_url
  4. 机器区来源笔记:wiki/sources/,链接视频、原始字幕、中文译稿和人类区笔记。
  5. 仅把可复用判断蒸馏到 wiki/concepts/ 等目录;新概念必须挂入至少一张 wiki/maps/
  6. 按 vault 规则更新 wiki/index.mdwiki/log.md,必要时更新 wiki/hot.md

证据纪律

  • 平台英文字幕若存在,必须原样保存为证据层;不得润色、翻译或重排后冒充原文。
  • 中文译稿是派生产物,绝不反向覆盖英文字幕。
  • 自动字幕、专名、内部项目名、价格和数字应明确标记 confidence: mediumlow
  • 无法取得英文原始字幕时,必须在来源笔记和最终报告中说明证据缺口。

默认落位

个人写作/视频笔记/<slug>-zh.md
.raw/transcripts/<slug>-<date>-en.md
.raw/transcripts/<slug>-<date>-zh.md
wiki/sources/<slug>-<date>.md

概述

将 Bilibili / YouTube 视频转录并生成结构化的 Obsidian 笔记。当前推荐使用 V3 模块化入口

python bilibili_note_v3.py <url>

V3 不依赖旧版 bilibili_note.py,集成了独立的 video services、transcription、cache 和 note processing 模块,并默认启用转录缓存与临时资源自动清理。

支持两种模式:

  • 极简版(显式降级):快速生成核心内容,适合只想浏览时使用
  • 完整版(默认):包含语义化重写、知识关联、待办事项,并进入完整 ingest 管线

快速开始

极简版笔记(显式降级)

python bilibili_note_v3.py https://www.bilibili.com/video/BV1234567890 --minimal

生成内容:

  • 💡 一句话总结
  • 🎯 核心要点
  • ❓ 回答的问题
  • 📊 视频结构
  • 🎬 关键时刻
  • 📝 原始转录(折叠)
  • 🔗 相关资源

完整版笔记(默认)

python bilibili_note_v3.py https://www.bilibili.com/video/BV1234567890

额外包含:

  • 🧠 语义化正文(重写后的内容)
  • 🗺️ 内容结构图
  • 📸 视觉信息索引
  • 🔗 知识关联(手动补充)
  • 🤔 质疑与思考(手动补充)
  • ✅ 待办事项(手动补充)
  • 📊 视频元数据(折叠)

转录策略

默认策略(推荐)

自动选择最佳方案:

  1. 优先尝试视频平台字幕 API(快速、免费)
  2. 失败后使用 StepFun 云端 ASR(准确、快速)
  3. 最终回退到本地 Whisper(稳定、离线)

强制本地转录

python bilibili_note_v3.py <url> --local

跳过云端 API,直接使用本地 Whisper 模型(适合隐私需求或无网络环境)。

仅使用字幕

python bilibili_note_v3.py <url> --api-only

只使用视频平台的字幕,如果没有字幕则直接失败(最快速)。

模板系统

可用模板

  • minimal - 极简版,只保留核心内容
  • full - 完整版,包含所有结构化字段
  • default - 根据模式自动选择(默认 full;--minimal 时用 minimal)

Read the full file on GitHub · 319 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 319 lines · 73 tokens per session scan A a4e74a06c7aa

Subscribe to this mod's changes

bilibili-note is a skill published in the GitHub repository HYYH-code/agent-skills (2 stars, last pushed 12d ago), licensed MIT. It adds 73 tokens to every session and 2,647 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens