manimgx
БесплатноБез исполняемых скриптовНе проверенWrite, inspect and render ManimGX scenes: math and 3D animations in Manim Community Edition's Python API, run by the nodetool.manimgx nodes. Use for…
от nodetool-ai★ 674 звезды на GitHubОб этом скилле
Animate with ManimGX
ManimGX renders animations written in Manim Community Edition's Python API on a
Rust GPU engine. A scene is a Python module; the nodetool.manimgx nodes run
it on the machine NodeTool runs on. They need manimgx installed there
(ManimGX in the desktop Package Manager, or uv tool install manimgx with
Python 3.13 or newer) and are absent from the hosted cloud, because a scene is
a program.
| Node | Takes | Gives |
|---|---|---|
nodetool.manimgx.InspectScene |
code, scene_name, times, timeout |
ok, problems, report, storyboard, duration |
nodetool.manimgx.RenderScene |
code, scene_name, width, height, fps, preset, crf, timeout |
video, storyboard, report, subtitles, duration |
nodetool.manimgx.GenerateScene |
prompt, model, max_attempts, send_storyboard, width, height, fps, timeout |
video, code, storyboard, report, attempts |
timeout is the limit in seconds for each ManimGX run (default 300).
GenerateScene runs the whole loop below inside one node with a language
model, for up to max_attempts rounds (default 3, at most 8). Each round is a
paid model call, and send_storyboard (on by default) sends the storyboard
pictures to it, which needs a vision model. Confirm the model with the user
before running it. Write the scene yourself when you can see the storyboard and
fix it.
The loop
- Write the module. Start from the template under Authoring.
- Inspect it with
InspectScene.ok: falsemeans the scene failed:reportholds the traceback trimmed to the scene's lines and a "did you mean" hint.problems: truemeans it ran but the 2D layout checks found clipped content, overlapping text or labels too small to read. Each problem is numbered inreportand outlined on the storyboard. Look at the storyboard pictures, not only the report. 3D scenes get pictures and a timeline without layout checks. - Fix and inspect again until
okis true andproblemsis false. To check particular moments, passtimes: "1.5,end". - Render with
RenderSceneat the size and frame rate asked for. Drafts at 1280x720 and 30 fps render in seconds. The default is 1920x1080 at 30 fps. - Deliver the video and the scene's code. Save the code where the person
can edit it, such as the
codeof aRenderScenenode in their workflow.
From a code action or a Code node, call the nodes as functions:
import "@nodetool-ai/sandbox-nodetool/flow";
import { inspectScene, renderScene } from "@nodetool-ai/sandbox-flow/nodetool.manimgx";
const check = await inspectScene({ code, title: "Circle area" });
if (check.ok && !check.problems) {
const film = await renderScene({ code, width: 1280, height: 720, fps: 30, title: "Circle area" });
}
Extra keys such as title above are the node's dynamic inputs.
Inputs from the workflow
Every node takes dynamic inputs. Their values reach the scene as a dict:
from nodetool_inputs import inputs
Numbers, strings, lists and dicts arrive as JSON. Image, audio and video
inputs arrive as file paths: m.ImageMobject(inputs["logo"]) for an image,
self.add_sound(inputs["voice"]) for audio.
A scene is Python that runs as the server user, with that user's file and network access. Only its environment is restricted, so it never sees the server's secrets. Treat scene code as trusted code: do not run a scene from a source the user has not vouched for.
Authoring
import manimgx as m
from nodetool_inputs import inputs
class CircleArea(m.Scene):
def construct(self) -> None:
circle = m.Circle(radius=1, color=m.BLUE, fill_opacity=0.3)
formula = m.MathTex(r"A = \pi r^2").next_to(circle, m.RIGHT, buff=0.6)
m.VGroup(circle, formula).center()
self.play(m.Create(circle), m.Write(formula))
self.wait(1)
- Import
manimgx as m. Put the animation in aScenesubclass'sconstruct. With more than one scene in the module, setscene_name. - Time advances only through
self.play(...)andself.wait(...).self.add(...)adds without animating. - Compose placement with
VGroup,arrange,next_to,to_edgeandcenter, so labels follow their subjects. The frame is about 14.2 units wide and 8 tall, centred on the origin. Textfor prose.MathTexwith raw strings for LaTeX mathematics, or Typst. No LaTeX installation is needed.- For changing values, animate a
ValueTrackerand derive geometry from it. An updater uses elapsed time or current state, never a frame count, so the motion keeps its timing at anyfps. - For 3D, derive from
m.ThreeDScene:self.set_camera_orientation(phi=65 * m.DEGREES, theta=-45 * m.DEGREES),Surface,Sphere,Cube,ThreeDAxes,self.begin_ambient_camera_rotation(rate=0.5). self.next_section("name")splits a film into sections. Subcaptions andself.say(...)p
Установить manimgx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл manimgx?
Write, inspect and render ManimGX scenes: math and 3D animations in Manim Community Edition's Python API, run by the nodetool.manimgx nodes. Use for equations, proofs, plots, geometry, 3D surfaces and explainer animations.
Как установить скилл manimgx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manimgx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic