Bili Knowledge Tree logo

Bili Knowledge Tree

Community
ewkzcz
bili-knowledge-tree

素材对齐层:读画面保留清单和定时文字材料立出知识树,把每一张画面分派到它真正对应的知识点,产出 notes.plan.json 供三份交付物共用。不产出任何交付物文档。

Overview

Publisherewkzcz
Repositorybili-2-ppt
Skill namebili-knowledge-tree
Stars
38
Forks
7
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ewkzcz on GitHub. Read the source before you install it.

Installation

Install the Bili Knowledge Tree AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ewkzcz/bili-2-ppt/tree/master/bili-knowledge-tree
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ewkzcz/bili-2-ppt.git /tmp/bili-2-ppt
mkdir -p .claude/skills
cp -r /tmp/bili-2-ppt/bili-knowledge-tree .claude/skills/bili-knowledge-tree
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bili Knowledge Tree in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bili Knowledge Tree on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bili Knowledge Tree is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

从素材到知识树

这个子技能只负责素材对齐:把一堆画面和一段段口语稿,整理成一棵有序的知识树, 并决定每张画面归到哪个知识点。

它不采集画面(那是画面子技能的事),不写任何交付物文档,也不重画图示。 三份交付物(学习笔记PPT、知识博客文章、八股模拟面试)都从这棵树长出来。

输入

接收调度器或直接调用者提供的:

  • 画面层的 dedup_keep.json 保留清单和截图目录——只能用这份清单里的画面;
  • 字幕阶段的纠错稿 *.corrected.json 与术语表 glossary.json——只读纠错稿,不读原字幕, 不再做第二遍纠错;纠错稿里的 [?] 直接进 missing[];
  • manifest.json 里的覆盖说明和未验证项;
  • 工作目录 $WORK 和已知资料缺失项。

缺少画面保留清单时,先回去跑画面阶段。没有去重就没有这一步—— 等距采样必然带进大量重复画面,一份每个知识点都配五张几乎一样的图的学习材料没有意义。

处理流程

  1. 立知识树:读纠错稿,分出分类与小节,每节给出功能性短标题, 并按纠错稿的时间轴写上这一节对应的字幕时间段 spans[]({"part", "start", "end"},可以有多段);

  2. 脚本先分派画面:不逐张看图,先让脚本按时间段把保留清单里的画面分到各节:

    bash
    "$PY" "$SKILL_ROOT"/bili-knowledge-tree/scripts/assign_frames.py \
      --plan $WORK/plan/notes.plan.json --keep $WORK/keyframes/dedup/dedup_keep.json

    每张画面在屏幕上的区间和哪节的时间段重叠最多就归哪节,写进该节 frames[]; 每节出一张缩略图总览 $WORK/plan/frame_sheets/<节 id>.jpg,横跨两节或落在所有时间段外的画面 列进 $WORK/plan/frame_assign.json 的 review[],在总览里加红框;

  3. 主代理只看总览、只处理待复核的:每节看一张总览,删掉过渡态、加载中、和本节无关的画面; review[] 里的几张单独打开看,定下归哪节或丢掉。其余画面不再逐张打开;

  4. 写完 notes.plan.json:

    • theme:主题名,也是交付物文件名的前缀;
    • sections[]:每节的 id、功能性短标题、spans[](字幕时间段)、frames[](这一节用哪几张画面)、 points[](这一节要讲清的要点)、missing[](材料里确实缺的);
    • batches[]:切好的批次,每批一个连续的小节区间。

分派画面时注意:

  • 一个知识点配它真正对应的那张画面。画面和讲解对不上,读者会以为图在讲别的事;
  • 重复画面只用去重后保留的那一张;
  • 过渡态、加载中的、跟当前知识点无关的画面直接丢掉,不要为了「每节都有图」硬塞;
  • 某节确实没有对应画面时,如实留空并写进 missing[], 不要拿相邻小节的图凑数。

notes.plan.json 是中间产物,写到 $WORK/plan/,可以带画面文件路径和时间;它不进交付目录,也不进仓库。

术语先在这里统一

同一件事在素材里可能有好几种叫法,同一棵树上的各份交付物必须口径一致。 写法以字幕阶段的 glossary.json 为准(错别字、音译已经在那里纠正过,这里不重复纠错); 立树的时候把书面术语定下来,写进 points[],后面的阶段按这个口径写:

  • 同一个概念全文只能有一种写法,发现前后不一致时以正确的那个为准;
  • 素材里是口语讲法的,在这里换成书面术语,并把对应的英文原名带上;
  • 拿不准的写进 missing[],不要猜。

材料不足时

  • 能从别处核实的就核实后补齐;
  • 核不实的如实写进 missing[] 并说明缺什么,同时记进 $WORK/pending.jsonl,不要编造;
  • 不补讲者没讲的技术细节,不把口语里的约数写成精确值,不编量化数据。

交付物无感

交付物里不能看出内容和素材采集过程有关。 这棵树是中间产物,missing[] 里可以写「这一段素材里没讲」,但不要把这些话写进要交付的正文—— 缺口不进交付物正文,统一汇进 {主题}-待确认事项.md(见 references/pending-items.md)。 完整禁用词表见 references/delivery-banlist.json。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Bili Knowledge Tree AI skill do?

素材对齐层:读画面保留清单和定时文字材料立出知识树,把每一张画面分派到它真正对应的知识点,产出 notes.plan.json 供三份交付物共用。不产出任何交付物文档。

Why use Bili Knowledge Tree on TypingMind?

Because you install it once and use it with any model. Bili Knowledge Tree is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bili Knowledge Tree in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ewkzcz/bili-2-ppt/tree/master/bili-knowledge-tree. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Bili Knowledge Tree?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bili Knowledge Tree?

As many as you like. As long as a model supports skills, you can use Bili Knowledge Tree with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bili Knowledge Tree AI skill free?

Yes. It is published on GitHub by ewkzcz under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇