Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/cli.md
Open on GitHub

What 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 MyScene from scene.py at low quality with manimgl.
  • How do I open an interactive session at line 25 of scene.py?
  • Give me a command to save MyScene as a high-quality GIF.

How to install cli

Manually: put the files in place

.claude/rules/cli.md

The paths frontmatter field limits the files

Step 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.

Similar IDE rules

All IDE rules for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set101

The whole set →
comfyui Guides OpenMontage tools through ComfyUI workflows for images, video, and audio, handling node IDs and VRAM constraints. CX Codex +1 ★ 78,316repo stars kinetic-beat-slam The kinetic-beat-slam rule shapes short phrases into beat-led kinetic typography, with separate entrances and a locked final stack for punchy text scenes. CX Codex +1 ★ 78,316repo stars threejs-world-generation threejs-world-generation turns a written brief into one continuous Three.js world with terrain, regions, scattered props and a camera flight. Made for cinematic scenes rather than single models. CX Codex +1 ★ 78,316repo stars colors colors is a Claude Code rule covering ManimGL palettes, gradients, and GLSL shading for coloring mathematical animations. CX Codex +1 ★ 78,316repo stars css-marker-patterns The css-marker-patterns rule shows five ways to mark text with plain CSS and GSAP timelines: a marker sweep, wobbly circle, radiating lines, wavy underline, and cross-out. CX Codex +1 ★ 78,316repo stars 3d Instructions for building ManimGL 3D scenes: camera frame controls, geometric primitives, textured surfaces, and screen-space labels. CX Codex +1 ★ 78,316repo stars creation-animations The creation-animations rule explains how to stage object, text, and formula entrances in ManimGL. Use it when a scene needs controlled creation effects. CX Codex +1 ★ 78,316repo stars config Covers how ManimGL reads custom_config.yml: output folders, camera and window options, styles. An agent edits the right keys instead of guessing. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open