render-preview

render-preview is a command for Claude Code from choxos/MathVizAgent. It costs 13 tokens per session (1,507 once invoked), scanned A, original, MIT.

A command reference for rendering Manim, a Python tool for mathematical animations, at different video qualities. It also covers previews, output names and folders, transparent backgrounds, and rendering selected sections.

In plain words
What is it for?
Use it to preview animations, render testing or production videos, create 4K output, set custom filenames, or render with a transparent background.
Why use it?
It makes it easier to choose a quick test render or a higher-quality final render and control where the result goes.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ffmpeg -f concat -safe 0 -i filelist.txt -c copy ../../final.mp4.

Part of the mathviz plugin — 6 skills, 4 commands, 6 agents shipped together

Good fit Use it to preview animations, render testing or production videos, create 4K output, set custom filenames, or render with a transparent background.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/choxos/MathVizAgent
agentmods
npx agentmods add commands/choxos/mathvizagent/render-preview

Made for: Claude Code.

Or install mathviz, the plugin that ships this one along with the rest of its 6 skills, 4 commands, 6 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for render-preview

README.md
[![agentmods](https://agentmods.dev/badge/commands/choxos/mathvizagent/render-preview/github.svg)](https://agentmods.dev/commands/choxos/mathvizagent/render-preview)
Your own site
<a href="https://agentmods.dev/commands/choxos/mathvizagent/render-preview"><img src="https://agentmods.dev/badge/commands/choxos/mathvizagent/render-preview/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for render-preview

Your own site · 80×15
<a href="https://agentmods.dev/commands/choxos/mathvizagent/render-preview"><img src="https://agentmods.dev/badge/commands/choxos/mathvizagent/render-preview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.01507
Opus 5.5 $0.00005 $0.00603
Sonnet 5.5 $0.00003 $0.00301
Haiku 4.5 $0.00001 $0.00151

Measured 3mo ago against content hash d65822c28ce5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

render-preview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mathviz/commands/render-preview.md · 253 lines

How it starts

The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/render-preview - Rendering Commands Reference

Quick reference for rendering Manim animations at various quality levels.

Basic Render Commands

Quality Presets

# Low quality (480p15) - Quick preview
manim -pql scene_file.py SceneName

# Medium quality (720p30) - Testing
manim -pqm scene_file.py SceneName

# High quality (1080p60) - Production
manim -pqh scene_file.py SceneName

# 4K quality (2160p60) - Highest quality
manim -pqk scene_file.py SceneName

Quality Preset Details

Flag Resolution FPS Use Case
-ql 480p 15 Quick preview
-qm 720p 30 Testing, review
-qh 1080p 60 Production
-qk 2160p 60 4K displays

Common Options

Preview Options

# -p: Preview after render (opens video player)
manim -pql scene.py MyScene

# Without preview (just render)
manim -ql scene.py MyScene

# Preview specific section
manim -pql --from_animation_number 5 scene.py MyScene

Output Options

# Custom output file name
manim -pqm -o custom_name.mp4 scene.py MyScene

# Specify output directory
manim -pqm --media_dir ./output scene.py MyScene

# Transparent background (for compositing)
manim -pqm -t scene.py MyScene  # Creates .mov with alpha

# GIF output
manim -pqm --format gif scene.py MyScene

Performance Options

# Disable caching (when debugging)
manim -pql --disable_caching scene.py MyScene

# Force re-render
manim -pql --flush_cache scene.py MyScene

# Verbose output (debugging)
manim -pql -v DEBUG scene.py MyScene

# Quiet output
manim -pql -v WARNING scene.py MyScene

Render All Scenes

# Render all scenes in a file
manim -qm scene_file.py -a

# Render all scenes with preview
manim -pqm scene_file.py -a

# Render specific scenes
manim -qm scene_file.py Scene1 Scene2 Scene3

Section-Based Rendering

If scenes use next_section():

# Save each section as separate file
manim -pql --save_sections scene.py MyScene

# Skip to specific section
manim -pql -n 0,2 scene.py MyScene  # Render animations 0 through 2

Read the full file on GitHub · 253 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 253 lines · 13 tokens per session scan A d65822c28ce5

Subscribe to this mod's changes

render-preview is a command published in the GitHub repository choxos/MathVizAgent (1 stars, last pushed 6mo ago), licensed MIT. It adds 13 tokens to every session and 1,507 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

render-preview compared with commands from other repositories

render-preview next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
render-previewchoxos/MathVizAgentCommand16mo agoMITA13Claude Code
psql-queryoliver-kriska/claude-elixir-phoenixCommand579todayMITA16Claude Code
genshijin-compressInterfaceX-co-jp/genshijinCommand3372d agoMITA17Claude Code
nyann:diff-profilethettwe/nyannCommand723d agoMITA42Claude Code
featfusengine/agentsCommand341mo agoMITA17Claude Code
treeAutomateLab-tech/agency-osCommand41mo agoMITA0Claude Code
tasksModellix/modellix-pluginCommand119d agoMITA15Claude Code