Skip to main content
rule CX Codex

config — Claude Code and Codex rule: ManimGL settings

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

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/config.md
Open on GitHub

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

What it helps with

  • 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 for the agent

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

How to install config

Manually: put the files in place

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

How to install config in Claude Code?

Place the rule file at .claude/rules/config.md inside the project, and Claude Code picks it up from there.

What does config do?

It documents the custom_config.yml format for ManimGL: directories, camera, window, style, quality presets and TeX settings.

What is the difference between --config and --config_file?

--config overrides a single key for the current run, while --config_file loads a different YAML file in full.

Similar IDE rules

All IDE rules for Agent setup: memory, context, orchestration →

From the same set101

The whole set →
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. 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 provider-refresh-oct23 provider-refresh-oct23 configures strict API contracts and routing logic for multimedia generation models. Keeps agent calls aligned with provider updates across speech, image, and video backends. CX Codex +1 ★ 78,316repo stars 3d-page-scroll The 3d-page-scroll rule turns a webpage into a tilted 3D card and scrolls its content to chosen sections. It fits product scenes and long page layouts. CX Codex +1 ★ 78,316repo stars gsap-effects gsap-effects — a rule with drop-in GSAP patterns for HyperFrames: typewriter text and an audio visualizer driven by the timeline. Useful when the agent renders videos frame by frame with deterministic output. CX Codex +1 ★ 78,316repo stars counting-dynamic-scale counting-dynamic-scale animates numeric counters while growing font size via GSAP. Useful for dramatizing stats and metrics in hero sections. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open