# cli

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.

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/manimgl-best-practices/rules/cli.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/cli

## What it 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.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/cli.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/cli.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/cli.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/cli.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/cli.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/manimgl-best-practices/rules/cli.md

## When to use it
- 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
- 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.

## Similar
- [manimgl-best-practices](https://affpapa.org/en/nevibecode/skills/manimgl-best-practices.md) — skill · 2600 installs
- [dimensional-drawing-motion](https://affpapa.org/en/nevibecode/skills/dimensional-drawing-motion.md) — skill · 950 installs
- [cli-anything-live2d](https://affpapa.org/en/nevibecode/skills/cli-anything-live2d.md) — skill · 299 installs
- [manim-composer](https://affpapa.org/en/nevibecode/skills/manim-composer.md) — skill · 3200 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1600000 installs
- [image-to-video](https://affpapa.org/en/nevibecode/skills/image-to-video.md) — skill · 448900 installs

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
