← 返回 Skills 市场
manim expert
作者
Shirleyshenda
· GitHub ↗
· v1.0.2
· MIT-0
236
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install manim-expert
功能描述
将简单的Manim动画描述转化为详细的LaTeX提示词并生成可运行的Manim社区版代码。适用于数学教育、科学演示和技术文档制作。
使用说明 (SKILL.md)
Manim动画与LaTeX提示词专家
你是LaTeX提示词和Manim动画的专家,擅长Manim动画设计,并根据生成的python 脚本生成动画视频。
你的任务分三步:
第一步:将用户的简单描述转化为全面、富含LaTeX的提示词
要求:
- 指定每个视觉元素(颜色、位置、大小)
- 对所有方程使用正确的LaTeX格式化
- 提供顺序说明("首先...", "接下来...", "然后...")
- 保持场景之间的视觉连续性
- 包含时间信息
- 指定相机运动(注意:普通的Scene类使用的是标准Camera,它没有frame属性。只有MovingCameraScene才有camera.frame属性用于移动和缩放相机)
- 对数学对象进行一致的颜色编码
输出应该足够详细,以便AI生成可运行的Manim社区版代码。
第二步:生成Manim代码
根据第一步得到的提示词,生成相应的Manim社区版代码,并给出在本地运行这份代码的指令,代码都要生成在workspace目录下的annimations 文件夹里面。
第三步:检查代码
重点检查以下几项:
- 所有方程使用正确的LaTeX格式化
- 纯中文文本 → 使用Text()类
- 纯数学公式 → 使用MathTex()类
- 混合内容 → 分别渲染后用VGroup()组合
- 变量未定义问题
- 其它语法问题
在你收到这条指令后,先回答"好的",等待用户输入 Manim 动画需求后再生成。
第四步:运行代码
要求:
- 代码生成完毕之后,进入到文件目录,执行manim 运行命令,生成低质量MP4 动画视频
- 视频生成好之后,传给用户,让用户可以看到视频
在你收到这条指令后,先回答"好的",等待用户输入 Manim 动画需求后再生成。
工作流程
- 接收用户输入:等待用户提供Manim动画的简单描述
- 生成详细提示词:按照第一步要求创建全面的动画描述
- 生成代码:根据提示词编写完整的Manim社区版代码
- 提供运行指令:说明如何在本地环境中运行代码
- 代码检查:对生成的代码进行语法和逻辑检查
- 运行代码: 进入到生成的代码的文件目录,运行代码,生成低质量mp4视频
- 回传视频: 视频生成好之后,将视频传给用户
示例交互
用户输入: "创建一个展示勾股定理的动画"
你的响应:
- 首先生成详细的LaTeX提示词,包含所有视觉元素、时间线和相机运动
- 然后生成完整的Manim代码
- 然后提供运行指令和代码检查结果
- 然后进入到代码文件,运行代码生成视频
- 最后将生成好的视频,传给用户
注意事项
- 使用Manim社区版(manim)语法,而非商业版
- 确保代码兼容最新版本的Manim
- 提供清晰的注释说明关键步骤
- 考虑性能优化,避免过于复杂的动画导致渲染缓慢
安全使用建议
This skill appears coherent and not malicious, but note:
- It will generate Python/Manim code and expects to run `manim` and a LaTeX toolchain locally; ensure those tools are installed before expecting rendered video output.
- The skill assumes it can write files to a workspace folder and execute local commands; if you run it in an environment that restricts execution or file sharing, it won't be able to produce or return a video.
- As with any code-generation skill, review the generated Python code before running it, and run it in an isolated environment (virtualenv or container) if you are concerned about safety.
- Minor metadata inconsistencies exist (e.g., SKILL.md version vs registry version and a small typo 'annimations'), but these are not security issues. If you want the skill to actually produce videos inside this platform, confirm that the platform permits executing Manim and returning files.
功能分析
Type: OpenClaw Skill
Name: manim-expert
Version: 1.0.2
The skill bundle instructs the AI agent to generate Python code and immediately execute it using the 'manim' command-line tool (skill.md). While this behavior is aligned with the stated purpose of creating mathematical animations, the instruction for the agent to perform automated execution of its own generated code constitutes a high-risk Remote Code Execution (RCE) pattern. There is no evidence of intentional malice, data exfiltration, or obfuscation, but the execution flow lacks safety boundaries.
能力评估
Purpose & Capability
The name/description (convert Manim animation descriptions to runnable Manim Community Edition code) align with the included templates, references, and example script. Declared prerequisites (python, manim, latex) match the task. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to (a) generate detailed prompts and Manim code, (b) write code into a workspace/annimations folder, (c) run the local `manim` command to render a low-quality MP4, and (d) return the video to the user. These steps are appropriate for a code-to-video skill but assume the runtime environment permits writing files, executing Manim/LaTeX renders, and transmitting resulting files. If the platform disallows executing binaries or returning files, those steps will be impractical. No instructions attempt to read unrelated system files or environment variables.
Install Mechanism
There is no install spec (instruction-only with a small template and example files). Nothing is downloaded or executed at install time. This is the low-risk pattern for such a skill.
Credentials
The skill requests no environment variables, credentials, or config paths. Its runtime needs (Python, Manim, LaTeX) are reasonable and proportional to generating and rendering animations.
Persistence & Privilege
always is false and the skill does not request permanent system-level privileges or modify other skills' config. It only expects to create files in a workspace and run local rendering commands, which is expected for its purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install manim-expert - 安装完成后,直接呼叫该 Skill 的名称或使用
/manim-expert触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- 新增:现在自动运行生成的Manim代码并输出低质量MP4动画视频,视频完成后会直接传给用户。
- 更新:明确代码需生成在 workspace/annimations 文件夹。
- 增加第四步:细化工作流程,涵盖代码运行和视频回传。
- 补充示例流程,指明视频生成与回传环节。
v1.0.0
Initial release of manim-animation-expert.
- Transforms simple Manim animation requests into detailed LaTeX-based prompts and generates runnable Manim Community Edition code.
- Designed for mathematical education, scientific demonstration, and technical documentation.
- Features step-by-step workflow: prompt generation, code creation, and code validation.
- Supports specification of visual elements, time sequences, camera moves, and consistent color coding for mathematical objects.
- Ensures code uses correct Manim syntax (Community Edition) and adheres to best LaTeX formatting practices.
- Provides local run instructions and highlights code syntax/logic issues for easy troubleshooting.
元数据
常见问题
manim expert 是什么?
将简单的Manim动画描述转化为详细的LaTeX提示词并生成可运行的Manim社区版代码。适用于数学教育、科学演示和技术文档制作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。
如何安装 manim expert?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install manim-expert」即可一键安装,无需额外配置。
manim expert 是免费的吗?
是的,manim expert 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
manim expert 支持哪些平台?
manim expert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 manim expert?
由 Shirleyshenda(@shirleyshenda)开发并维护,当前版本 v1.0.2。
推荐 Skills