← Back to Skills Marketplace
31
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install teach-gen
Description
根据教案、教材或课件生成交互式教学HTML网页
README (SKILL.md)
teach-gen: 交互式教学网页生成器
根据教案、教材或课件自动生成交互式教学HTML网页,支持公式推导动画、概念演示和现代化简约设计。
功能特性
- 📄 多格式输入: 支持 PDF、Word、PPT、Markdown
- 🎨 学科适配: 针对数学、物理、化学优化
- 🎬 智能动画: 公式推导、图形变换自动动画化
- 📱 响应式设计: 现代简约风格,适配各种设备
- 💾 单文件输出: 生成独立HTML,可离线使用
使用方法
基础用法
/teach-gen "输入文件路径" --subject math --grade high-school
参数说明
| 参数 | 说明 | 可选值 |
|---|---|---|
--subject |
学科 | math | physics | chemistry |
--grade |
学龄 | elementary | middle | high | college |
--theme |
主题 | light | dark | auto |
--output |
输出路径 | 默认: output.html |
示例
# 生成高中数学课件
/teach-gen "lesson.md" --subject math --grade high
# 生成物理演示页
/teach-gen "physics.pdf" --subject physics --grade college
# 使用深色主题
/teach-gen "chemistry.docx" --theme dark
输入格式要求
Markdown 格式
# 课程标题
[动画: 公式推导]
$$
\int_0^1 x^2 dx = \frac{x^3}{3}\Big|_0^1 = \frac{1}{3}
$$
[动画: 函数图像]
@graph{y = x^2, domain: [-2, 2]}
支持的动画标签
[动画: 公式推导]- 逐步展开数学公式[动画: 几何变换]- 图形旋转、缩放、平移[动画: 函数图像]- 动态绘制函数曲线[动画: 概念图解]- 流程图、思维导图[交互: 参数滑块]- 用户可调参数
Usage Guidance
This appears safe for normal use with trusted lesson files. Before installing, be aware that the generated HTML is not truly self-contained/offline because it imports CDN scripts, and avoid using untrusted source documents unless the generator is updated to sanitize embedded content.
Capability Analysis
Type: OpenClaw Skill
Name: teach-gen
Version: 1.0.0
The teach-gen skill is a legitimate utility designed to convert educational content into interactive HTML pages. The implementation in index.js performs standard file reading and writing operations to generate a standalone HTML file, utilizing reputable CDNs (jsdelivr) for math rendering and animations. No indicators of data exfiltration, malicious command execution, or prompt injection were found.
Capability Assessment
Purpose & Capability
The visible implementation is coherent with an HTML teaching-page generator, reading an input file and writing an HTML output. However, the documented PDF/Word/PPT and offline single-file claims are broader than the visible code supports.
Instruction Scope
The skill is user-invoked and its examples require the user to provide an input path and optional output path; there are no instructions to override user intent or run autonomously.
Install Mechanism
There is no install spec and no declared required binaries, while the included entrypoint is a Node.js script. This is a metadata completeness issue rather than suspicious behavior.
Credentials
Reading a user-specified lesson file and writing a user-specified HTML file is proportionate, but the generated HTML depends on external CDN scripts and should be opened only if the input content is trusted.
Persistence & Privilege
No credentials, background persistence, privilege escalation, or long-running agent behavior are shown in the provided artifacts.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install teach-gen - After installation, invoke the skill by name or use
/teach-gen - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
teach-gen 1.0.0
- 初始版本发布
- 自动将教案、教材或课件生成交互式教学HTML网页
- 支持多种输入格式:PDF、Word、PPT、Markdown
- 针对数学、物理、化学优化,内置公式推导和图形动画
- 响应式现代设计,输出为独立HTML文件可离线使用
- 提供多种动画与交互标签,适配不同学科与教学需求
Metadata
Frequently Asked Questions
What is 交互式教学网页生成器?
根据教案、教材或课件生成交互式教学HTML网页. It is an AI Agent Skill for Claude Code / OpenClaw, with 31 downloads so far.
How do I install 交互式教学网页生成器?
Run "/install teach-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 交互式教学网页生成器 free?
Yes, 交互式教学网页生成器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 交互式教学网页生成器 support?
交互式教学网页生成器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 交互式教学网页生成器?
It is built and maintained by Eric JIE (@erich1566); the current version is v1.0.0.
More Skills