cli — Claude Code rule for ManimGL commands
The cli rule guides Claude Code through running ManimGL scenes, adjusting render options, and entering interactive debugging. Useful when working with manimgl in a project.
AGPL-3.0 ★ 78,316 updated 2026-10-24
.claude/rules/cli.mdWhat cli does
The rule covers scene selection and common manimgl options for previewing or saving renders. It explains how to show the last frame, write video or GIF output, and adjust resolution and frame rate. Low-quality output suits test runs; high-quality settings are available for a finished render.
For interactive debugging, -se LINE opens a shell at a chosen line so you can inspect and modify the scene as it runs. The guidance also covers temporary config overrides, scene listings, and diagnostic flags. manimgl must be available in the project environment for these commands to work.
What it helps with
- Run a named scene from a Python file
- Inspect the final frame before rendering the full animation
- Enter an interactive session at a chosen line
- Save a scene as a GIF with selected quality
- Change render resolution or frame rate
Example prompts for the agent
- Show me how to run
MyScenefromscene.pyat low quality withmanimgl. - How do I open an interactive session at line
25ofscene.py? - Give me a command to save
MySceneas a high-quality GIF.
How to install cli
Manually: put the files in place
.claude/rules/cli.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/cli.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/cli.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/cli.mdManually: put the files in place
.clinerules/cli.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about cli
How do I install cli in Claude Code?
Add the rule file at .claude/rules/cli.md.
What does the cli rule do?
It provides guidance for using the ManimGL command line to run scenes, tune renders, and debug interactively.
How can I enter interactive mode at a specific line?
Run manimgl scene.py MyScene -se LINE, replacing LINE with the line you want to reach.