Bilibili To Doc banner
programmerloverun programmerloverun

Bilibili To Doc

AI community

Description

🎬 哔哩哔哩视频转文档 | Claude Code Skill: 自动将B站视频AI字幕提取为结构化Markdown文档

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

bilibili-to-doc — 哔哩哔哩视频转文档

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Claude Code Skill](https://img.shields.io/badge/Claude%20Code-Skill-blue)](https://claude.ai/code)

一个 [Claude Code](https://claude.ai/code) Skill,自动将 B 站视频的 AI 字幕提取并整理成结构化 Markdown 文档。非常适合快速将技术教程、知识分享类视频转化为可检索的笔记 / 参考文档。

A [Claude Code](https://claude.ai/code) skill that automatically extracts Bilibili video AI subtitles and reorganizes them into well-structured Markdown documents. Perfect for turning tech tutorials and educational videos into searchable, shareable written notes.


效果展示 / Demo

**输入**:一个 B 站视频链接

**输出**:一份结构化的教程文档,包含目录、代码块、表格、要点总结

Before (原始字幕) After (结构化文档)
碎片化的逐句字幕,含时间戳 有章节标题、代码块、表格的 Markdown 文章
📄 点击查看输出示例
# 【IT老齐772】ETL中间件 SeaTunnel 快速上手

## 一、SeaTunnel 概述
### 1.1 什么是 SeaTunnel
SeaTunnel 是 Apache 孵化开源的 ETL 工具...

### 1.2 核心优势:简单易用
只要会写 SQL 语句,就能完成 ETL 的工作。

## 二、案例演示:MySQL → Redis 准实时同步
...

## 三、环境准备
### 3.2 Docker Compose 编排
- 1 个主节点(Master):负责管理和资源调度
- 2 个工作节点(Worker):具体执行数据处理任务

## 四、任务配置(HOCON 格式)
```hocon
{
  source { MySQL-CDC { ... } }
  transform { Sql { ... } }
  sink { Redis { ... } }
}



---

## 安装 / Installation

### 前置依赖 / Prerequisites

- [Claude Code](https://claude.ai/code) CLI
- Python 3.10+
- `yt-dlp`(用于下载字幕 / for downloading subtitles)
- 浏览器(Chrome/Safari/Firefox/Edge 任一,用于读取 cookies 以访问 B 站)

```bash
pip3 install yt-dlp

安装 Skill

# 克隆仓库到 Claude Code skills 目录
git clone https://github.com/programmerloverun/bilibili-to-doc.git ~/.claude/skills/bilibili-to-doc

安装后,在 Claude Code 对话中发送 B 站视频链接即可自动触发。


使用方法 / Usage

基本使用 / Basic

你:把这个B站视频整理成文档 https://www.bilibili.com/video/BV1v5TuzJE4v
Claude:正在下载字幕... 正在生成文档... ✅ 已保存到桌面

触发关键词 / Trigger Phrases

中文 English
"提取B站视频" "extract Bilibili video"
"B站视频转文档" "convert Bilibili to doc"