bilibili-study

Bilibili 视频学习笔记生成工具。输入 B站视频链接或 UP 主名, 自动下载字幕并使用 LLM 生成**口语化、可朗读**的学习笔记。 输出格式简洁精炼,适合转化为语音播客或有声读物。

170 stars

Best use case

bilibili-study is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Bilibili 视频学习笔记生成工具。输入 B站视频链接或 UP 主名, 自动下载字幕并使用 LLM 生成**口语化、可朗读**的学习笔记。 输出格式简洁精炼,适合转化为语音播客或有声读物。

Teams using bilibili-study should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/bilibili-study/SKILL.md --create-dirs "https://raw.githubusercontent.com/adoresever/AGI_Ananas/main/26.2.07OpenClaw某站视频转学习笔记并朗读、pdf转视频Skills/bilibili-study/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/bilibili-study/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How bilibili-study Compares

Feature / Agentbilibili-studyStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Bilibili 视频学习笔记生成工具。输入 B站视频链接或 UP 主名, 自动下载字幕并使用 LLM 生成**口语化、可朗读**的学习笔记。 输出格式简洁精炼,适合转化为语音播客或有声读物。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Bilibili 视频学习笔记生成器

本 Skill 用于将 B站视频快速转化为口语化、可朗读的学习笔记。

## 功能特性

- **视频搜索**:支持按 UP 主名或关键词搜索 B站视频
- **字幕下载**:自动下载官方字幕,无字幕时可选 ASR 转录
- **语义切片**:按"5句/200字"策略切分,保持语义完整
- **口语笔记**:LLM 生成简洁、可朗读的学习笔记
- **多格式输出**:Markdown 笔记 + 原始字幕文本

## 使用方式

### 方式 1:提供视频链接

```
请帮我处理这个 B站视频:https://www.bilibili.com/video/BVxxx
```

### 方式 2:搜索 UP 主

```
搜索 UP 主"纳米机器人"的视频
```

### 方式 3:关键词搜索

```
搜索"GPT-4 提示词"相关的 B站教程
```

## 输出示例

处理完成后生成的文件结构:

```
study_notes/
└── {UP主名}/
    └── {日期}/
        ├── {视频标题}.md
        └── {视频标题}_original.txt
```

**笔记内容预览:**

```markdown
# GPT-4 提示词完全指南

> 来源:https://www.bilibili.com/video/BVxxx
> UP主:xxx | 时长:32分钟

## 核心要点

**第一,明确任务目标。** 直接告诉 AI 你要什么,不要让它猜。

**第二,提供示例。** 告诉它"像这样写",比描述风格更有效。

**第三,拆分任务。** 大问题拆成小步骤,一步步来。

## 详细内容

[00:00] 开场介绍...

[05:23] 首先,我们来...

## 总结

掌握 GPT-4 提示词的三个核心技巧:目标明确、给例子、拆任务。
```

## 技术实现

部分代码复用自 [ChatVid](https://github.com/anomalyco/ChatVid) 项目:
- B站搜索:`fetcher.py::search_bilibili`
- 字幕下载:`fetcher.py::download_subs_and_process_bilibili`
- 字幕解析:`processor.py::parse_vtt_to_semantic_chunks`
- 语义切片:`processor.py::semantic_chunking`

## 环境配置

1. 安装依赖:`pip install -r requirements.txt`
2. 配置 `.env` 文件(可选,提升下载稳定性)
3. 运行:`python -m src.cli <视频链接>`

Related Skills

opentwitter

170
from adoresever/AGI_Ananas

Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.

opennews

170
from adoresever/AGI_Ananas

Crypto news search, AI ratings, trading signals, and real-time updates via the OpenNews 6551 API. Supports keyword search, coin filtering, source filtering, AI score ranking, and WebSocket live feeds.

agent-reach

170
from adoresever/AGI_Ananas

Give your AI agent eyes to see the entire internet. Read and search across Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, Instagram, LinkedIn, Boss直聘, RSS, and any web page — all from a single CLI. Use when: (1) reading content from URLs (tweets, Reddit posts, articles, videos), (2) searching across platforms (web, Twitter, Reddit, GitHub, YouTube, Bilibili, XiaoHongShu, Instagram, LinkedIn, Boss直聘), (3) user asks to configure/enable a platform channel, (4) checking channel health or updating Agent Reach. Triggers: "search Twitter/Reddit/YouTube", "read this URL", "find posts about", "搜索", "读取", "查一下", "看看这个链接", "帮我配", "帮我添加", "帮我安装".

searxng-search

170
from adoresever/AGI_Ananas

使用自建SearXNG搜索引擎搜索互联网内容。触发词:搜索、查一下、帮我查、查找、搜一下、帮我搜索。

multi-search-engine

170
from adoresever/AGI_Ananas

Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.

weather

170
from adoresever/AGI_Ananas

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

wacli

170
from adoresever/AGI_Ananas

Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).

voice-call

170
from adoresever/AGI_Ananas

Start voice calls via the OpenClaw voice-call plugin.

video-frames

170
from adoresever/AGI_Ananas

Extract frames or short clips from videos using ffmpeg.

trello

170
from adoresever/AGI_Ananas

Manage Trello boards, lists, and cards via the Trello REST API.

tmux

170
from adoresever/AGI_Ananas

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

things-mac

170
from adoresever/AGI_Ananas

Manage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database). Use when a user asks OpenClaw to add a task to Things, list inbox/today/upcoming, search tasks, or inspect projects/areas/tags.