Math Explainer
Generate math explanation videos (animated with Manim) and interactive web pages from a user's request. Use when the user asks to explain, teach, visualize, or animate a math/physics concept, wants a "math video", "讲解视频", "数学动画", "动画演示", a Manim animation, an interactive math demo, an interactive webpage/可视化/网页演示, or to turn a formula/theorem/problem into a visual explainer. By default produces BOTH a Manim-rendered MP4 video and a paired self-contained interactive HTML page sharing the same concept, notation, parameters, and palette. Covers planning the script, writing Manim scenes, rendering
Install
npx skills add mingchen666/Reviva --skill math-explainergit clone --depth 1 https://github.com/mingchen666/Reviva.git /tmp/Reviva
mkdir -p ~/.claude/skills
cp -r /tmp/Reviva/electron/builtin-assets/skills/math-explainer ~/.claude/skills/math-explainerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Math Explainer — 数学讲解视频 + 交互式网页生成 把一个数学/物理概念,**同时**变成两件互补的产物: - **讲解视频**(用 Manim 渲染成 MP4):线性讲清「为什么」,带观众走完推导主线。 - **交互式网页**(自包含 HTML):让观众**自己拖参数、即时看变化**,动手探索同一个概念。 > **默认两件都做**(除非用户明确只要其中一个)。两者共享同一套设计(同一概念、记号、参数、配色),互为补充:视频负责讲明白,网页负责玩明白。 参考实现:[ManimCommunity/manim](https://github.com/ManimCommunity/manim)(本 Skill 基于 Manim Community v0.20+ 编写)。 > 给执行者的提醒:**严格按阶段顺序走,不要跳步。** 每个阶段都有“做什么 / 怎么做 / 如何自检”。不确定 API 就去读 `references/manim-guide.md`,不要凭记忆瞎写。能渲染一张静帧用眼睛看的地方,一定先看再继续。 --- ## 0. 核心心法(必读,照做) 1. **默认同时产出视频 + 交互网页**,且二者**共享同一套设计**(概念、记号、参数与取值范围、配色、关键视觉)。先在分镜里把这套“共享设计规范”定下来,视频和网页都照它做,确保观感与符号一致。 2. **讲「为什么」,不要只展示「是什么」(最高红线)。** 必须让观众**看着结论被推导出来**,而不是把结论和漂亮图形摆出来就完事。流畅 ≠ 讲清楚。推导/论证要占全片 ≥ 50%。详见 `references/pedagogy-and-storyboard.md` §0,证明范例见 `templates/example_pythagoras_proof.py`。 3. **先设计,后编码。** 没有分镜脚本(storyboard)就不要写代码。见阶段 B。 4. **一屏只讲一件事。** 进入下一个知识点前,把上一屏不需要的东西 `FadeOut` 掉。**永远不要让元素重叠或飘出画面。** 5. **没有视觉能力也要保证效果(视频 + 网页都有文字化检查)。** 不要依赖“看图调整”。 - 视频:① 用 `templates/mathviz.py` 的 `SafeScene` + `fit_content()/arrange()/clear_screen()` 机械排版;② 渲染后搜日志 `[layout]`,确认 `DONE 共发现 0 处`;③ 跑 `check_text.py` 防方框。详见 `manim-guide.md` §3.5。 - 网页:写完跑 `check_web.py`,必须 `[PASS]`(查公式/id/滑块/canvas/布局/JS 语法)。 有视觉能力可额外读 PNG / 浏览器查看做二次确认;没有也能靠上述文字结果交付。 6. **用模板,别从零写。** 复制 `templates/` 里的骨架再改,能避开 90% 的低级错误。 7. **失败先查表。** 报错先翻 `references/manim-guide.md` 的「常见错误速查」,不要乱试。 8. **交付前自检。** 视频要确认 MP4 存在且能播、且**遮住旁白也能看懂推理**;网页要确认在浏览器能打开、公式能渲染、交互有效。 ---
Details
- Skill name
math-explainer- Repository
- mingchen666/Reviva
- Path
electron/builtin-assets/skills/math-explainer/SKILL.md- Repo updated
- 15 November 2026
FAQ
What does the Math Explainer skill do?
Generate math explanation videos (animated with Manim) and interactive web pages from a user's request. Use when the user asks to explain, teach, visualize, or animate a math/physics concept, wants a "math video", "讲解视频", "数学动画", "动画演示", a Manim animation, an interactive math demo, an interactive webpage/可视化/网页演示, or to turn a formula/theorem/problem into a visual explainer. By default produces BOTH a Manim-rendered MP4 video and a paired self-contained interactive HTML page sharing the same concept, notation, parameters, and palette. Covers planning the script, writing Manim scenes, rendering
How do I install the Math Explainer skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add mingchen666/Reviva --skill math-explainer. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Math Explainer popular?
It lives in mingchen666/Reviva, which has 341 GitHub stars and 39 forks.
Related skills
Web Access
341mingchen666/Reviva
所有联网操作必须通过此 skill 处理,包括:搜索、网页抓取、登录后操作、网络交互等。 触发场景:用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容(小红书、微博、推特等)、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。
AI Animation Skill
341mingchen666/Reviva
将科普内容文本转换为可视化PPT风格网页的完整工作流。当用户输入科普内容并希望生成演示页面时触发。支持两种模式:(1) 默认模式:将科普内容生成为仿PPT轮播的单页HTML动画网页;(2) 流程图模式:使用Animation模板将已生成的AI_Animation.html按平面UI样式重构。模板已内置于Skill中。触发词包括"生成PPT"、"生成演示网页"、"生成流程图"等。
Bili Note
341mingchen666/Reviva
Turn Bilibili videos that are already registered and parsed in MindSpace, or Bilibili opus/article posts, into evidence-linked Markdown learning notes. Use whenever the user asks to 提取、提炼、总结、整理 B站/Bilibili 视频、课程、动态、图文或专栏,保存学习笔记,结合评论区补充观点,或从已解析视频中查找带时间戳的内容和关键画面。Video tasks require an authorized mediaId from the current attachment context; this skill never installs or runs its own ASR models.
Mistake Analyzer
341mingchen666/Reviva
Analyze incorrect answers from text, documents, or images; identify root causes of mistakes; classify error types; explain correct reasoning; and generate targeted improvement suggestions, wrong-question notebook entries, or similar practice questions. Use when the user provides a wrong answer, asks why they were wrong, uploads a marked question, or wants help reviewing mistakes.
Geometry Assistant
341mingchen666/Reviva
Use when rendering high-school solid-geometry problem data into an interactive 3D standalone HTML artifact with known-condition highlights, step-by-step constructions, faces, polygons, line-plane angles, or dihedral angles.
Attention Control
149aaddrick/attention-control
Shape output for a reader with ADHD, then write each sentence in controlled English: action first, one word one meaning, active voice, simple tenses, state restated every turn. Invoke with /attention-control; stays on until "stop attention control".
Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.