Linyuebanzi Teaching Animation logo

Linyuebanzi Teaching Animation

Community
lqshow
linyuebanzi-teaching-animation

把单个学科概念(中文/英文都行,如"声现象""杠杆原理""光合作用")自动做成动态教学内容。两种产出都由 HyperFrames 渲染、共用同一个 index.html(mode 变量切换):① 配音教学视频 — 分镜 + Minimax TTS 中文配音 + 字幕 + 完整 MP4(1080p, ~90s, 发视频号/给孩子看);② 无声循环动图 — 同一内容的紧凑无声版 MP4(1080p, ~32s, 循环, 公众号正文内嵌自动播放)。共用一份 7 段分镜和同一套主题配色(声/光/力/电/热/生物/数学各有色系),视频和动图风格完全统一。当用户提"教学视频""配音视频""教学动图""无声动图""循环视频""公众号内嵌动图""concept → animation"或给一个学科概念要做成动态内容时,使用本 skill。

Overview

Publisherlqshow
Repositorylinyuebanzi-skills
Skill namelinyuebanzi-teaching-animation
Stars
77
Forks
12
Bundled files
20
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.

  • 20 bundled files

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

  • Open source

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

Installation

Install the Linyuebanzi Teaching Animation 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/lqshow/linyuebanzi-skills/tree/main/skills/linyuebanzi-teaching-animation
  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/lqshow/linyuebanzi-skills.git /tmp/linyuebanzi-skills
mkdir -p .claude/skills
cp -r /tmp/linyuebanzi-skills/skills/linyuebanzi-teaching-animation .claude/skills/linyuebanzi-teaching-animation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Linyuebanzi Teaching Animation 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 Linyuebanzi Teaching Animation 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 Linyuebanzi Teaching Animation 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.

Teaching Animation (配音教学视频 + 无声循环动图)

概述

输入一个概念 (例 "声现象") → 两种动态产出,都是 HyperFrames 渲染的 MP4,共用同一个 index.html:

产出规格用途
配音视频1080p、~90s、中文旁白 + 字幕完整讲解,发视频号 / 给孩子看
无声动图1080p、~32s、无声、循环公众号正文内嵌自动播放

关键: 两种产出共用同一个 index.html,靠 HyperFrames 变量 mode(video/silent)切换—— 搭一次内容,两种都能出。silent 模式紧凑时间轴、无字幕、不淡出(循环无缝),质感和动效 与视频版完全一致。

共用: 7 段结构 (1 标题 + 5 子概念 + 1 总结)、同一套主题配色 (references/color-palettes.md)、同一份分镜脚本 (references/storyboard-guide.md)。

触发路由

用户说做什么
"教学视频" / "配音" / "讲解版"搭 index.html → build_video.sh
"教学动图" / "无声" / "循环" / "公众号内嵌"搭 index.html → build_silent.sh
"视频和动图都要"搭一次 index.html,两个脚本都跑

不确定时, 先问清楚概念 + 适用学段 (默认初二物理), 其他别问。

统一流程 (两种产出共用前 4 步)

bash
# 第 0 步: 写分镜 (见 references/storyboard-guide.md)
#   把概念拆成 7 段, 写 storyboard.json: 每段 title / narration (旁白 30-50 字, 口语化,
#   不读公式) / visual (画面描述) / transition。配色按主题族选 (color-palettes.md)。
#   拆解质量决定一切 — 对照教材知识点, 参考 examples/sound-video/storyboard.json。

# 1. TTS 配音 (需要 MINIMAX_API_KEY; 无 key 时 --provider say 走通预览)
export MINIMAX_API_KEY=...            # 可选: MINIMAX_GROUP_ID / MINIMAX_API_HOST / MINIMAX_TTS_MODEL
python3 scripts/minimax_tts.py storyboard.json --outdir audio/
#   → audio/seg-0N.mp3 + audio/durations.json (时间轴来源, 无声版也需要它做骨架)

# 2. 生成骨架 (时间轴/配色/audio/SEGMENTS/silent机制 全部自动填好, 不要手搭)
python3 scripts/scaffold_video.py <project_dir>

# 3. 填场景内容: s2-s6 的 SVG 示意图 (零件拷 references/svg-parts.md) + 卡片文案
#    + scene2()-scene6() 入场编排。规则见 references/video-authoring.md

# 4. 出片 (二选一或都要):
bash scripts/build_video.sh  <project_dir>   # → 配音视频  renders/<name>.mp4
bash scripts/build_silent.sh <project_dir>   # → 无声动图  renders/<name>-silent.mp4

build_video.sh: lint + WCAG 对比度审计 + render(video 模式) + 场景中点蒙太奇。 build_silent.sh: 临时改 data-duration + render(silent 模式,紧凑 32s 无声) + 蒙太奇。 两个脚本读同一个 index.html,只是渲染的 mode 变量不同。

换音色/改旁白后重跑 TTS,用 python3 scripts/sync_timeline.py <project_dir> 同步 时间轴 (不要手抄数字),再重新渲染。

场景内容标准: section-chip + SVG 示意图 (≥3 图形元素) + info-card + callout。 视频尺寸规范、SVG 画法、动效编排、silent 机制、实测 lint 坑都在 references/video-authoring.md。

环境: Node.js ≥22 + ffmpeg (npx hyperframes doctor 自检); Minimax TTS 走 HTTP API, 无额外 Python 依赖。

silent(无声)模式怎么工作

index.html 的 <html> 声明 mode 变量。渲染时 --variables '{"mode":"silent"}' 切到无声版:

  • 时间轴: 每段等长紧凑 (SILENT_SEG=4.6s, 共 ~32s), 不依赖音频长度
  • 无字幕: MODE !== "silent" 才生成字幕
  • 不淡出: 最后一段不淡出到底, 循环首尾无缝
  • 质感动效全保留: 渐变/颗粒/波形流动都在 (MP4 有帧间压缩, 不像 GIF 怕连续色调和运动)

为什么不出 GIF? GIF 无帧间压缩, 完整 7 段想要 720p 高清必然 >2MB (实测), 只能降到 480p 且小字发糊。公众号早已支持内嵌 MP4 自动播放, 无声 MP4 = 1080p 完整 + 8~10MB, 比任何 GIF 都清晰。所以动图产出用无声 MP4, 不用 GIF。

输出文件规范

<topic>/
├── storyboard.json           # 分镜 (第 0 步)
├── audio/
│   ├── seg-01..07.mp3         # TTS 分段配音
│   └── durations.json         # 时间轴来源
├── index.html                # HyperFrames 组合 (video/silent 双模式)
├── renders/
│   ├── <topic>.mp4            # 配音视频 (~90s)
│   └── <topic>-silent.mp4     # 无声循环动图 (~32s)
└── preview/
    ├── montage.png            # 配音视频蒙太奇
    └── montage-silent.png     # 无声动图蒙太奇

资源

  • assets/video-template/index.html — HyperFrames 模板 (组件 + video/silent 双模式 + 转场/字幕/波形引擎)
  • examples/sound-video/ — 声现象完整示例 (storyboard → 音频 → index.html → 配音视频 + 无声动图)
  • scripts/minimax_tts.py — Minimax 分段配音 + 时间轴
  • scripts/scaffold_video.py — 骨架生成 (第 2 步, 含 silent 机制)
  • scripts/sync_timeline.py — 重配音后同步时间轴
  • scripts/build_video.sh — 配音视频渲染 (lint + validate + render + 蒙太奇)
  • scripts/build_silent.sh — 无声循环动图渲染 (silent 模式)
  • references/storyboard-guide.md — 分镜拆解 + 旁白规范 (第 0 步必读)
  • references/video-authoring.md — 场景编写硬规则 + silent 机制 + 实测坑 (必读)
  • references/svg-parts.md — SVG 符号库 (电学/波形/图线/力学/光学, 画示意图先来这拷)
  • references/color-palettes.md — 7 套主题调色板 (60-30-10 + 莫兰迪, 含 CSS 变量)

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 Linyuebanzi Teaching Animation AI skill do?

把单个学科概念(中文/英文都行,如"声现象""杠杆原理""光合作用")自动做成动态教学内容。两种产出都由 HyperFrames 渲染、共用同一个 index.html(mode 变量切换):① 配音教学视频 — 分镜 + Minimax TTS 中文配音 + 字幕 + 完整 MP4(1080p, ~90s, 发视频号/给孩子看);② 无声循环动图 — 同一内容的紧凑无声版 MP4(1080p, ~32s, 循环, 公众号正文内嵌自动播放)。共用一份 7 段分镜和同一套主题配色(声/光/力/电/热/生物/数学各有色系),视频和动图风格完全统一。当用户提"教学视频""配音视频""教学动图""无声动图""循环视频""公众号内嵌动图""concept → animation"或给一个学科概念要做成动态内容时,使用本 skill。

Why use Linyuebanzi Teaching Animation on TypingMind?

Because you install it once and use it with any model. Linyuebanzi Teaching Animation 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 Linyuebanzi Teaching Animation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/lqshow/linyuebanzi-skills/tree/main/skills/linyuebanzi-teaching-animation. 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 Linyuebanzi Teaching Animation?

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 Linyuebanzi Teaching Animation?

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

Is the Linyuebanzi Teaching Animation AI skill free?

It is published on GitHub by lqshow. Check the repository for licensing terms. 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 👇