← 返回 Skills 市场
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install teach-gen
功能描述
根据教案、教材或课件生成交互式教学HTML网页
使用说明 (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]}
支持的动画标签
[动画: 公式推导]- 逐步展开数学公式[动画: 几何变换]- 图形旋转、缩放、平移[动画: 函数图像]- 动态绘制函数曲线[动画: 概念图解]- 流程图、思维导图[交互: 参数滑块]- 用户可调参数
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install teach-gen - 安装完成后,直接呼叫该 Skill 的名称或使用
/teach-gen触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
teach-gen 1.0.0
- 初始版本发布
- 自动将教案、教材或课件生成交互式教学HTML网页
- 支持多种输入格式:PDF、Word、PPT、Markdown
- 针对数学、物理、化学优化,内置公式推导和图形动画
- 响应式现代设计,输出为独立HTML文件可离线使用
- 提供多种动画与交互标签,适配不同学科与教学需求
元数据
常见问题
交互式教学网页生成器 是什么?
根据教案、教材或课件生成交互式教学HTML网页. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。
如何安装 交互式教学网页生成器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install teach-gen」即可一键安装,无需额外配置。
交互式教学网页生成器 是免费的吗?
是的,交互式教学网页生成器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
交互式教学网页生成器 支持哪些平台?
交互式教学网页生成器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 交互式教学网页生成器?
由 Eric JIE(@erich1566)开发并维护,当前版本 v1.0.0。
推荐 Skills