create-video

A workflow for planning and creating an educational video made of several Manim scenes. It covers the topic, audience, duration, visual style, scene breakdown, shared settings, and final concatenation.

In plain words
What is it for?
Use it to plan scene-by-scene lessons, define shared video settings, coordinate scene creation, and join rendered scenes into an educational video.
Why use it?
It provides a structure for keeping multiple scenes consistent and combining them into one complete video.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/choxos/mathvizagent/create-video
Clone the repo
git clone --depth 1 https://github.com/choxos/MathVizAgent
Per session 16 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,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.01588
Opus 5 $0.00008 $0.00794
Sonnet 5 $0.00003 $0.00318
Haiku 4.5 $0.00002 $0.00159

Measured yesterday against content hash 0f1f871431ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-video 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 yesterday.

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/create-video.md · 252 lines

How it starts

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

/create-video - Multi-Scene Video Creation Workflow

Create a complete educational video with multiple scenes, consistent styling, and proper concatenation.

Workflow Steps

Step 1: Video Planning (@viz-architect)

Gather high-level requirements:

  1. Topic: Main subject of the video
  2. Target Audience: Beginner / Intermediate / Advanced
  3. Duration: Short (3-5 min) / Medium (5-10 min) / Long (10-15 min)
  4. Style Preferences: Colors, pacing, formality

Step 2: Scene Breakdown (@scene-designer)

Create the video structure:

# Video: [Title]

**Total Duration**: ~X minutes
**Scene Count**: Y scenes

## Scene List

| # | Scene Name | Duration | Concept | Camera |
|---|------------|----------|---------|--------|
| 1 | TitleScene | 20s | Video title | static |
| 2 | MotivationScene | 60s | Why this matters | static |
| 3 | ... | ... | ... | ... |

## Detailed Scene Plans

### Scene 1: TitleScene (20s)
[Timeline and technical requirements]

### Scene 2: MotivationScene (60s)
[Timeline and technical requirements]

...

Step 3: Shared Configuration

Create a config module used by all scenes:

# video_config.py
from manim import *

# Video Title
VIDEO_TITLE = "Understanding [Topic]"

# Semantic Color Palette (consistent across all scenes)
COLORS = {
    "PRIMARY": BLUE,        # Main concept (e.g., the function)
    "SECONDARY": ORANGE,    # Supporting concept (e.g., derivatives)
    "POSITIVE": GREEN,      # Success, correct answers
    "EMPHASIS": PURPLE,     # Highlights, key insights
    "MUTED": GRAY,          # De-emphasized, background
}

# Typography
FONTS = {
    "TITLE": 52,
    "SECTION": 42,
    "BODY": 28,
    "SMALL": 24,
    "FORMULA": 38,
}

# Timing Constants
TIMING = {
    "FAST": 0.5,
    "NORMAL": 1.0,
    "SLOW": 2.0,
    "DRAMATIC": 3.0,
    "BRIEF": 0.5,
    "STANDARD": 1.0,
    "EXTENDED": 2.0,
    "COMPLEX": 4.0,
    "CRITICAL": 6.0,
}

# Base Scene Class
class VideoScene(Scene):
    """Base class for all scenes in this video"""

    def setup(self):
        self.tracked = []

    def track(self, *mobjects):
        for m in mobjects:
            self.tracked.append(m)
            self.add(m)
        return mobjects[0] if len(mobjects) == 1 else mobjects

    def cleanup(self, keep=None):
        keep = keep or []
        to_remove = [m for m in self.tracked if m not in keep]
        if to_remove:
            self.play(*[FadeOut(m) for m in to_remove])
        self.tracked = list(keep)

    def section_title(self, text):
        """Standard section title animation"""
        title = Text(text, font_size=FONTS["SECTION"])
        self.play(Write(title), run_time=TIMING["NORMAL"])
        self.wait(TIMING["BRIEF"])
        self.play(title.animate.to_edge(UP, buff=0.5))
        return title

Read the full file on GitHub · 252 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. yesterday First seen · 252 lines · 16 tokens per session scan A 0f1f871431ab

Subscribe to this mod's changes

create-video is a command published in the GitHub repository choxos/MathVizAgent (1 stars, last pushed 3mo ago), licensed MIT. It adds 16 tokens to every session and 1,588 once invoked, about $0.0001 per session on Opus 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.