Derive Math Animations logo

Derive Math Animations

Community
ssuixinsuoyu
derive-math-animations

Reverse-engineer mathematical or logic animations from Manim source repositories, scene files, storyboards, transcripts, or videos; extract reusable visual and narrative mechanisms; then generate original, rigorous math or logic topics, ranked concepts, storyboards, and implementation routes. Use when asked to 拆解、逆向、借鉴、发散、改编 or design educational math/logic animations. Do not route binary or security reverse engineering here.

Overview

Publisherssuixinsuoyu
Repositoryderive-math-animations-skill
Skill namederive-math-animations
Stars
41
Forks
3
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ssuixinsuoyu on GitHub. Read the source before you install it.

Installation

Install the Derive Math Animations AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ssuixinsuoyu/derive-math-animations-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ssuixinsuoyu/derive-math-animations-skill.git \
  .claude/skills/derive-math-animations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Derive Math Animations in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Derive Math Animations on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Derive Math Animations is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Derive Math Animations

Overview

Turn an existing mathematical explanation into a reusable animation grammar, then derive new content from the grammar instead of copying the original surface style. Keep every mathematical claim traceable to evidence or mark it as a hypothesis.

Core rules

  1. Reverse the explanatory mechanism, not the creator's visual identity.
  2. Preserve mathematical meaning across every visual transformation.
  3. Prefer direct source evidence over impressions about style.
  4. Distinguish source-validated findings, runtime-validated findings, and unverified hypotheses.
  5. Use animation only when state change, continuity, scale, dependency, or failure matters.
  6. Respect source licenses and identify when adaptation or attribution constraints apply.
  7. Do not install render dependencies or execute untrusted project code unless the user asks and the scope permits it.

Route the input

Choose the smallest applicable route:

InputFirst action
Manim repositorySnapshot it, run the static analyzer, then sample representative scenes
One or more scene filesRead imports, bases, construct, helper methods, and key transforms
Video plus transcriptBuild a timestamped table of claim, visible state, transition, and narration
Storyboard or scriptMap each beat to its mathematical job and state change
Topic onlySkip source reverse-engineering and start from the pattern library and divergence matrix

If the input is a repository, use scripts/analyze_manim_repo.py before broad manual reading:

powershell
python scripts/analyze_manim_repo.py C:\path\to\repo

The analyzer parses Python without importing the target project. Record parse failures instead of silently dropping them.

Workflow

1. Freeze scope

Record the input path or URL, Git commit when available, relevant license, files inspected, and whether runtime rendering is in scope. Do not claim compatibility from static inspection alone.

2. Map the corpus

For repositories, identify:

  • project/year/topic boundaries;
  • scene count and dominant scene bases;
  • shared domain abstractions;
  • common animation operations;
  • environment-specific configuration and version coupling;
  • parse errors or inaccessible material.

Avoid reading every file sequentially. Use corpus statistics to choose samples.

3. Select contrasting samples

Choose at least three samples that expose different mechanisms. Prefer this spread:

  1. a constructive proof or direct derivation;
  2. a counterexample, paradox, or failure case;
  3. a parameter sweep, simulation, or algorithm-driven scene;
  4. a representation change, when available.

Explain why each sample is representative. Do not infer a corpus-wide rule from one attractive scene.

4. Extract four layers

For every sample, fill this map:

LayerQuestion
SemanticWhat mathematical object or claim does each visible object represent?
StateWhat can change, and what must remain invariant?
TransitionWhich operation carries the proof from one state to the next?
NarrativeWhat question, prediction, objection, reveal, or conclusion motivates the transition?

Read references/pattern-library.md before naming the reusable patterns.

5. Ground findings

Attach evidence to every important finding:

  • source location, class, function, or timestamp;
  • corpus count or second independent example;
  • runtime observation, if rendering was actually performed.

Use these labels:

  • validated-static: supported by two independent static observations;
  • validated-runtime: directly observed during render or playback;
  • candidate: plausible but supported by only one source;
  • boundary: unavailable or outside the current scope.

Never upgrade a runtime claim from source code alone.

6. Build the explanatory grammar

Summarize reusable mechanisms as verbs, not aesthetics. Examples:

  • rearrange while preserving area;
  • vary a parameter while tracking an invariant;
  • hold the experiment fixed and change one definition;
  • move an object between geometric, combinatorial, and symbolic representations;
  • stage a plausible proof and expose its first illegal step;
  • let a counterexample act as an adversarial move;
  • externalize a likely objection through a character or prompt.

7. Diverge systematically

Generate candidates across at least four axes from references/ideation-matrix.md:

  • theorem or claim;
  • representation;
  • hidden assumption;
  • scale or dimension;
  • parameter;
  • failure mode or counterexample;
  • application context.

Unless the user requests another number, produce 12 distinct seeds. Reject mere skin swaps and near-copies.

8. Rank before expanding

Read references/quality-rubric.md. Apply the hard gates, score surviving ideas, rank the top three, and state one risk for each. Do not use a high total score to hide a mathematical flaw.

9. Storyboard the winner

Create one 6–10 beat storyboard. Each beat must contain:

  1. the mathematical job;
  2. the visible state before and after;
  3. the transition;
  4. the narration or viewer question;
  5. the invariant, measurement, or dependency being tracked.

Finish with a proof check and an implementation route: reuse an existing abstraction, adapt a generic pattern, or build a new domain primitive.

10. Verify the handoff

Before reporting completion:

  • check symbols, quantifiers, domains, assumptions, and edge cases;
  • ensure colors and object identities keep one meaning;
  • ensure every camera move carries information;
  • distinguish inspiration from adaptation;
  • state whether code was parsed, imported, rendered, or only read;
  • state blockers plainly.

Default output

When the user gives a broad request, return:

  1. scope and confidence boundary;
  2. corpus or artifact map;
  3. evidence-backed pattern library;
  4. 12 original math/logic animation seeds;
  5. ranked top three with risks;
  6. one complete storyboard;
  7. implementation and license notes.

Keep the main response decision-oriented. Put large inventories or detailed evidence in a separate report when working in a filesystem.

Resources

  • scripts/analyze_manim_repo.py: read-only AST inventory for Python/Manim repositories.
  • references/pattern-library.md: reusable mathematical animation mechanisms and evidence signals.
  • references/ideation-matrix.md: controlled divergence axes and math/logic seed bank.
  • references/quality-rubric.md: hard gates, scoring, storyboard, and final verification checks.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Derive Math Animations AI skill do?

Reverse-engineer mathematical or logic animations from Manim source repositories, scene files, storyboards, transcripts, or videos; extract reusable visual and narrative mechanisms; then generate original, rigorous math or logic topics, ranked concepts, storyboards, and implementation routes. Use when asked to 拆解、逆向、借鉴、发散、改编 or design educational math/logic animations. Do not route binary or security reverse engineering here.

Why use Derive Math Animations on TypingMind?

Because you install it once and use it with any model. Derive Math Animations is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Derive Math Animations in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ssuixinsuoyu/derive-math-animations-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Derive Math Animations?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Derive Math Animations?

As many as you like. As long as a model supports skills, you can use Derive Math Animations with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Derive Math Animations AI skill free?

It is published on GitHub by ssuixinsuoyu. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇