joaquincampo/paper2video/running

Claude Code and agent skill by joaquincampo/paper2video

Trust tier 3
  • community
  • ext:[{"type":"config","description":"Configuration overrides"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install joaquincampo/paper2video/running

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as joaquincampo/paper2video/running.

Running ManimGL

Command Line

Basic usage
bash
manimgl file.py SceneName

If file.py contains only one Scene subclass, the name can be omitted:

bash
manimgl file.py
CLI Flags
bash
# Writing to file
manimgl file.py SceneName -w # Write video to file
manimgl file.py SceneName -w -s # Skip to last frame (render final image only)
manimgl file.py SceneName -o # Open the output file after rendering
# Skipping to specific animations
manimgl file.py SceneName -n 5 # Start from 5th animation (0-indexed play() call)
manimgl file.py SceneName -n 5 10 # Run animations 5 through 10
# Resolution
manimgl file.py SceneName -l # Low quality (854x480)
manimgl file.py SceneName -m # Medium quality (1280x720)
manimgl file.py SceneName --hd # HD (1920x1080) -- default
manimgl file.py SceneName --uhd # 4K (3840x2160)
# Other
manimgl file.py SceneName --presenter_mode # Presenter mode (press space/right to advance)
manimgl file.py SceneName --config_file custom.yml # Use custom config
manimgl --version # Show version
manimgl --clear_cache # Clear cached SVGs/tex
# No window (write only)
manimgl file.py SceneName -w --leave_progress_bars
Resolution options
FlagResolution
-l854 x 480
-m1280 x 720
--hd1920 x 1080 (default)
--uhd3840 x 2160

Configuration

default_config.yml

The default config lives at manimlib/default_config.yml. Key settings:

yaml
camera:
resolution: (1920, 1080)
background_color: "#333333"
fps: 30
background_opacity: 1.0
sizes:
frame_height: 8.0
small_buff: 0.1
med_small_buff: 0.25
med_large_buff: 0.5
large_buff: 1.0
default_mobject_to_edge_buff: 0.5
default_mobject_to_mobject_buff: 0.25
text:
font: "Consolas"
alignment: "LEFT"
scene:
default_wait_time: 1.0
preview_while_skipping: True
custom_config.yml

Create a custom_config.yml in the directory where you run manimgl to override defaults:

yaml
# Example custom_config.yml
camera:
background_color: "#1a1a2e"
fps: 60
text:
font: "CMU Serif"
directories:
base: "/path/to/your/project"
subdirs:
output: "renders"
raster_images: "assets/images"
vector_images: "assets/svg"

The custom config is recursively merged with the default config, so you only need to specify the values you want to change.

Setting background color in code
python
class MyScene(Scene):
def construct(self):
self.set_background_color("#1a1a2e")
# or
self.set_background_color(BLACK)

Interactive Mode

Window mode (default)

When you run manimgl file.py SceneName without -w, a window opens. After construct() finishes, you enter an interactive loop.

Keyboard shortcuts
KeyAction
d + mouse3D pan (rotate camera in 3D)
f + mousePan (translate camera)
z + mouse scrollZoom
rReset camera to default state
Cmd+Q / EscQuit
Space / Right arrowAdvance (in presenter mode)
Cmd+ZUndo (scene state)
Cmd+Shift+ZRedo (scene state)
sSelect mode (interactive scene)
gGrab mode (interactive scene)
Mouse scrollZoom in/out
Mouse dragPan (if drag_to_pan=True)
embed() for live coding

The most powerful development tool. Drops you into an IPython shell with the scene live.

python
class DevScene(Scene):
def construct(self):
circle = Circle()
self.add(circle)
self.embed()
# Now you're in IPython. Type commands like:
# self.play(circle.animate.shift(RIGHT))
# self.play(circle.animate.set_color(RED))
# square = Square()
# self.play(Transform(circle, square))

In the embed shell, the scene window updates live. You can:

  • Play animations: self.play(...)
  • Add/remove objects: self.add(...), self.remove(...)
  • Modify objects directly: circle.set_color(RED) then self.update_frame(force_draw=True)
  • Record clips: Use with self.temp_record(): ...
Checkpoint manager

In embed mode, you can save and restore checkpoints:

python
# In the IPython shell:
checkpoint_manager = self.checkpoint_manager # Available in embed
# The embed also supports the `checkpoint_paste()` command
touch() utility

In embed mode, touch() is a useful function to force a file re-read and scene reload.

Output Files

Videos are written to the output directory (default: videos/ under the configured base directory).

The output path structure is:

videos/
SceneName.mp4 # Full video

When using -w flag, the video is written after construct() completes.

File Writer Configuration

yaml
file_writer:
ffmpeg_bin: "ffmpeg"
video_codec: "libx264"
pixel_format: "yuv420p"
saturation: 1.0
gamma: 1.0

Presenter Mode

bash
manimgl file.py SceneName --presenter_mode

In presenter mode:

  • The scene pauses after each self.play() and self.wait() call
  • Press Space or Right Arrow to advance to the next animation
  • Useful for live presentations

Scene Class Configuration

Override class-level attributes for scene-wide settings:

python
class MyScene(Scene):
random_seed = 42 # Deterministic randomness
default_frame_orientation = (0, 0) # 2D default
samples = 0 # No multisampling
drag_to_pan = True # Mouse drag pans camera
max_num_saved_states = 50 # Undo stack size
class My3DScene(ThreeDScene):
default_frame_orientation = (-30, 70) # Already set in ThreeDScene
samples = 4 # Already set in ThreeDScene

Universal Import

The default from manimlib import * imports everything needed. This is configured in default_config.yml:

yaml
universal_import_line: "from manimlib import *"

Performance Tips

  1. Use -l (low quality) during development for faster iteration
  2. Use -n N to skip to the Nth animation when debugging late scenes
  3. Use with self.temp_skip(): to fast-forward through setup code
  4. Use self.embed() for interactive experimentation without restarting
  5. For 3D scenes, lower the surface resolution during development:

``python Sphere(resolution=(21, 11)) # Instead of default (101, 51) ``

  1. Use DotCloud instead of many individual Dot objects for performance

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • configConfiguration overrides

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/joaquincampo/paper2video/running/badge)](https://verified-skill.com/skills/joaquincampo/paper2video/running)

Something wrong with this skill or its page? Tell us.