Z Wanghong Handwritten Video logo

Z Wanghong Handwritten Video

Community
tjxj
z-wanghong-handwritten-video

将 z-wanghong-handwritten-ppt 生成的王虹学术手写 HTML 直接制作成 16:9 动画 MP4,字形锁定为原 PPT Skill 预览封面的手写字,完整保留字号、颜色、留白、图表和标注,输出零音频流。用户提到动画版王虹PPT、王虹手写动画、Notability手写视频、手写PPT转MP4、学术手写动画、纯画面手写视频、把王虹手写 HTML 做成视频或要求手写风 MP4 时必须使用。

Overview

Publishertjxj
Repositoryz-skills
Skill namez-wanghong-handwritten-video
Stars
548
Forks
102
Bundled files
10
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.

  • 10 bundled files

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

  • Open source

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

Installation

Install the Z Wanghong Handwritten Video 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/tjxj/z-skills/tree/main/z-wanghong-handwritten-video
  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/tjxj/z-skills.git /tmp/z-skills
mkdir -p .claude/skills
cp -r /tmp/z-skills/z-wanghong-handwritten-video .claude/skills/z-wanghong-handwritten-video
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Z Wanghong Handwritten Video 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 Z Wanghong Handwritten Video 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 Z Wanghong Handwritten Video 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.

王虹学术手写 HTML 动画视频

直接渲染原 HTML DOM,在原页面元素上增加帧驱动的写入、分步出现、荧光揭示、SVG 路径绘制和纸张转场。文字节点和排版仍由原 HTML 提供,渲染器在截图前加载原 PPT Skill 预览封面使用的同一字体文件,并校验 Chrome 实际命中的字形。不重新排版文字。

硬性边界

  • 输入必须是 z-wanghong-handwritten-ppt 生成并通过检查的 HTML。
  • 所有文字固定使用原 PPT Skill assets/preview-cover.png 里的字形,不使用候选字体。
  • 渲染器必须读取指定字体文件,并通过 Chrome 的实际字体记录验证标题和正文;校验失败立即停止。
  • 字号、字重、颜色、布局、图表和标注由原 HTML 决定。
  • 输出固定为 1920×1080、30fps、H.264、yuv420p。
  • 成片恰好一条视频流、零条音频流;不添加旁白、音乐、音效或静音占位音轨。
  • 同时输出 MP4 和同目录下的 cover.png。

工作流程

1. 先得到原版手写 HTML

用户提供文章、讲稿或技术主题时,先严格使用同仓库的 z-wanghong-handwritten-ppt 生成 HTML。不要在本 Skill 内重新设计页面。

用户已经提供该 Skill 的 HTML 时,直接进入检查。保留 HTML 所在目录和相对资源路径,避免复制单个文件造成 CSS、图片或脚本丢失。

2. 用原 Skill 检查 HTML

bash
python3 ../z-wanghong-handwritten-ppt/scripts/check_deck.py \
  "/absolute/path/to/deck/index.html"

检查失败时先修复原 HTML。动画渲染不得绕过缺失的 base.css、runtime.js 或 neat-annotations.css。

3. 安装一次渲染依赖

在本 Skill 目录运行:

bash
npm install

渲染器使用本机 Google Chrome 或 Chromium 打开原 HTML。macOS 上先在字体册下载预览封面所用的“翩翩体-简”。渲染器会检查系统字体目录;字体文件在其他位置时,使用 --font-file "/absolute/path/to/Hanzipen.ttc"。可通过 --chrome "/absolute/path/to/chrome" 指定浏览器。

4. 渲染无声 MP4

bash
scripts/render_html_video.sh \
  "/absolute/path/to/deck/index.html" \
  "/absolute/path/to/output/wanghong-handwritten-video.mp4" \
  --seconds-per-slide 4 \
  --font-file "/absolute/path/to/Hanzipen.ttc"

快速样片可以限制页数:

bash
scripts/render_html_video.sh \
  "/absolute/path/to/deck/index.html" \
  "/absolute/path/to/output/preview.mp4" \
  --seconds-per-slide 4 \
  --max-slides 6

渲染器按以下顺序处理每页:

  1. 原标题与标题线写入;
  2. 原页面的顶层内容组依次出现;
  3. 原荧光标记横向揭示;
  4. 原 SVG 线条按路径绘制;
  5. 结尾使用暖白纸张转场。

这些动作只修改透明度、位移、裁切和 SVG 描边进度。原 DOM 内容与计算后的排版保持原样,字形锁定为预览封面的指定字体。

5. 验收

包装脚本会自动检查编码、分辨率、帧率、像素格式、视频流和音频流,并执行完整解码测试。仍需人工查看:

  • cover.png 与原 PPT Skill 的 assets/preview-cover.png 是否使用相同字形;
  • 每页开始、内容完全显示、转场前各一帧;
  • 标题、图表、标注、脚注有无遮挡或裁切;
  • 结论是否至少完整停留 0.8 秒;
  • MP4 是否没有可见或隐藏的音频流。

需要逐帧核对时,使用原 PPT Skill 的 scripts/render.sh 先导出同一页静态 PNG,再与 MP4 对应完成帧对照。字形或排版出现差异时停止交付,检查指定字体文件、原 CSS 和 HTML 路径。

动效纪律

  • 一页只推进一个问题,动作服务于阅读顺序。
  • 页面主体保持稳定,避免镜头缩放、卡片弹跳、粒子和发布会式炫技。
  • 原 HTML 已有 CSS 动画时,渲染器把它们固定到最终视觉状态,再用统一帧进度控制进入顺序。
  • 不改写原 HTML 的文字和事实,不添加页面外的新结论。

随附资源

  • scripts/render_html_video.mjs:直接驱动原 HTML DOM 并逐帧编码。
  • scripts/render_html_video.sh:原 Skill 检查、渲染和媒体验收入口。
  • references/motion-injection.md:DOM 选择与动效规则。
  • examples/handwritten-html-motion-demo/:由原 HTML 直接生成的无声样片。
  • tests/test_renderer_contract.py:防止重新排版与音频回归。

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 Z Wanghong Handwritten Video AI skill do?

将 z-wanghong-handwritten-ppt 生成的王虹学术手写 HTML 直接制作成 16:9 动画 MP4,字形锁定为原 PPT Skill 预览封面的手写字,完整保留字号、颜色、留白、图表和标注,输出零音频流。用户提到动画版王虹PPT、王虹手写动画、Notability手写视频、手写PPT转MP4、学术手写动画、纯画面手写视频、把王虹手写 HTML 做成视频或要求手写风 MP4 时必须使用。

Why use Z Wanghong Handwritten Video on TypingMind?

Because you install it once and use it with any model. Z Wanghong Handwritten Video 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 Z Wanghong Handwritten Video in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tjxj/z-skills/tree/main/z-wanghong-handwritten-video. 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 Z Wanghong Handwritten Video?

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 Z Wanghong Handwritten Video?

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

Is the Z Wanghong Handwritten Video AI skill free?

It is published on GitHub by tjxj. 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 👇