# config

Covers how ManimGL reads custom_config.yml: output folders, camera and window options, styles. An agent edits the right keys instead of guessing.

- 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/config.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/config

## What it does

The rule walks through `custom_config.yml` in ManimGL. That file holds output and temporary folders, camera resolution and frame rate, preview window size and position, default fonts and stroke width, the TeX compiler, plus quality presets from low to ultra_high and a `universal_import_line` block for auto-imports.

Lookup goes current directory first, then parent folders up to the project root, then the install directory. A nested file overrides the one above it. One value can be changed for a single run with `--config camera_config.frame_rate=30`, and a whole different file loads through `--config_file dev_config.yml`.

Anything set with `--config` lasts until the run ends, so permanent settings belong in the project-root `custom_config.yml` and get committed. The TeX section names `latex`, `xelatex` and `lualatex`, and formulas will not compile without a working LaTeX install on the machine.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/config.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/config.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

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

### Windsurf (Devin Desktop)

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

### Cline

**Manually: put the files in place**
- File: `.clinerules/config.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/config.md

## When to use it
- set resolution and frame rate for a scene render
- sort images, audio and data into separate folders
- override one value for a run without touching the config
- keep separate settings for quick previews and final renders
- add extra LaTeX packages for formulas

## Example prompts
- Read `custom_config.yml` in the project root and raise `frame_rate` to 30 for quicker runs.
- Run `manimgl scene.py MyScene --config_file dev_config.yml` and tell me which folder the render landed in.
- Add the `physics` package to `tex_config.tex_packages` and check that formulas still compile.

## Similar
- [grepai-config-reference](https://affpapa.org/en/nevibecode/skills/grepai-config-reference.md) — skill · 727 installs
- [manimgl-best-practices](https://affpapa.org/en/nevibecode/skills/manimgl-best-practices.md) — skill · 2600 installs
- [config-codex-cli](https://affpapa.org/en/nevibecode/skills/config-codex-cli.md) — skill · 1300 installs
- [GitLab Stack Config Generator](https://affpapa.org/en/nevibecode/skills/gitlab-stack-config-generator.md) — skill · 303 installs
- [openship-config](https://affpapa.org/en/nevibecode/skills/openship-config.md) — skill · ★ 1216 repo stars
- [config-watch](https://affpapa.org/en/nevibecode/plugins/config-watch.md) — plugin · ★ 586 repo stars

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
