@Gorden_Sun: Open-sourcing another math skill that converts math problems into GGB files. If converting a geometry problem from an image, the model needs vision capabilities (Opus or GPT). If the problem involves moving points, it generates interactive GGB files where you can freely move points to see how the figure changes. This helps teachers digitize problems from textbooks and aids students in understanding.

X AI KOLs Timeline Tools

Summary

Gorden_Sun has open-sourced the Math2GGB skill, which converts geometry math problems into interactive GeoGebra files. It supports three modes: static reproduction, clean interaction, and dynamic teaching, helping teachers digitize problems and assisting students in comprehension.

Open-sourcing another math skill that converts math problems into GGB files. If converting a geometry problem from an image, the model needs vision capabilities (Opus or GPT). If the problem involves moving points, it generates interactive GGB files where you can freely move points to see how the figure changes. This helps teachers digitize problems from textbooks and aids students in understanding. This was requested by a middle school teacher from Liaoning who saw my math visualization skill on my WeChat public account. He had been struggling with Gemini for a long time, only producing a mediocre HTML file, and asked if I could implement it. I tried with both Claude and Codex, and it worked. He actually had Codex too, but gave up after failing to get it to work. Teaching how to use AI still has a long way to go. Image 1 is the original problem. The video shows the effect of the generated interactive GGB file. GitHub: https://github.com/GordenSun/Math2GGB…
Original Article
View Cached Full Text

Cached at: 07/03/26, 02:28 AM

Another open-source math skill — convert math problems into .ggb files. If the problem is a geometry image, the model needs vision capabilities (Opus or GPT). If the geometry has movable points, it generates an interactive .ggb file where you can freely drag points to see how the figure changes. This helps teachers digitize textbook problems and helps students understand the problems.

A middle school teacher from Liaoning saw the math visualization skill on my WeChat Official Account and reached out. He had been struggling for a long time with Gemini and only managed to produce a mediocre HTML file; he asked if I could make it work. I tried both Claude and Codex and it worked. He actually had Codex too, but gave up after failing. There’s still a long way to go in teaching people how to use AI.

Image 1 is the original problem; the video shows the effect of the generated interactive .ggb file.

Github: https://github.com/GordenSun/Math2GGB…


GordenSun/Math2GGB

Source: https://github.com/GordenSun/Math2GGB

Math2GGB

A Cursor Agent Skill that turns a math problem (especially geometry) into GeoGebra .ggb files. For each figure it produces three files built from the SAME dependency-constrained construction:

  • a 静态复刻图 (static faithful) — the printed figure reproduced exactly (only its points, segments, and angle marks, no more no less);
  • a 干净可交互图 (clean interactive) — the same print-identical look with no text/aids/visible helper circles, but fully draggable with every condition preserved;
  • a 动态理解图 (dynamic teaching) — the same base plus auxiliary lines, annotations, and live angle/length readouts on a 显示辅助 toggle — unchecking it returns to the exact original.

All three encode the problem’s conditions as real constraints (concyclic, intersection, reflection, midpoint, spiral similarity, locus…), so dragging a driver point keeps every condition satisfied. Precise reproduction is enforced by measuring the original image (never eyeballing) and by adding temporary measurement objects to verify coordinates/lengths/angles, which are deleted before export so the final file matches the original exactly.

It works by driving the real GeoGebra engine in a browser (GeoGebra’s own JS API) and exporting with getBase64(), so the produced files always open in GeoGebra — no fragile hand-written XML.

Install

Copy this folder into your Cursor skills directory:

# Personal (all projects):
cp -R Math2GGB ~/.cursor/skills/math2ggb
# or Project (this repo only):
cp -R Math2GGB /.cursor/skills/math2ggb

Then just ask the agent, e.g. “把这道几何题做成 GeoGebra 文件” / “make an interactive GeoGebra of this problem”.

Layout

Math2GGB/
├── SKILL.md              # main orchestration (stages A–E)
├── references/
│   ├── geogebra-recipes.md   # commands, JS API, image-measuring, condition→constraint table, gotchas
│   └── example-hidden-circle.md  # verified example (静态复刻图 + 干净可交互图 + 动态理解图)
├── scripts/
│   └── ggb_server.py         # serves generator + receives exported .ggb
└── templates/
    └── generator.html        # loads the real GeoGebra engine (AG layout)

Requirements

  • A browser tool (navigate, evaluate JS, screenshot).
  • Internet (the generator page loads GeoGebra from geogebra.org’s CDN).
  • python3.

Opening the output on macOS

The App Store GeoGebra Classic 6 is sandboxed: double-clicking a .ggb (or passing it on the command line) shows a blank window. Open via ☰ menu → Open → From this device → pick the file, or drag the file onto the GeoGebra window. The web app (geogebra.org/classic) opens files normally.

Gorden Sun (@Gorden_Sun): 再开源一个技能:一键生成可视化数学讲解视频

提示词: 安装这个Skill:https://t.co/otI2ZDfdlf 然后使用这个Skill给小学生讲解:给小学生讲解□+28=□x5

下方2个视频是我生成的效果。

Similar Articles

@Gorden_Sun: Open-sourcing another skill: One-click generation of visual math explanation videos. Prompt: Install this Skill: https://github.com/GordenSun/mathVideoMaker… Then use this Skill to explain to elementary school students: Explain □+28=□x5 to elementary school students. Below are 2…

X AI KOLs Timeline

Gorden_Sun open-sourced the mathVideoMaker skill, which can generate visual math explanation videos and interactive webpages with one click in Cursor Agent. It supports scenarios like explaining math problems to elementary school students, and includes an auto-check mechanism to ensure quality.

@akokoi1: Open-source education skills — edulab adds analytic geometry problem types: Also supports random problem generation, text problems, and solving by uploading problem screenshots. Uses 2D Canvas to draw dynamic geometry boards (curves + moving lines/points + vectors + annotations), with built-in pen doodle markers. Includes dynamic console (sliders +...

X AI KOLs Timeline

edulab adds analytic geometry problem type, supports random problem generation, dynamic geometry board (2D Canvas drawing curves, moving lines, moving points, vectors, etc.) and KaTeX step-by-step parsing. It is an update to the open-source education skill tool.

@vintcessun: Get It turns PDFs into interactive knowledge graphs and visualization engines, not just another summary tool. It detects concepts one by one, generating 3D/animations/formula visualizations for each keyword, then uses flashcards, quizzes, Feynman teaching and other tools to close the loop and assess depth of understanding. Each concept is scored across four dimensions—memory, understanding, structure, application—and can only go up...

X AI KOLs Timeline

Get It turns PDFs into interactive knowledge graphs and visualizations, using concept detection and multi-format rendering to help students deeply understand material. It runs locally using the user's own ChatGPT account.

@XAMTO_AI: Remember the frustration of tinkering with math and physics teaching animations? Manim needed to be written by hand, LaTeX had to be configured, camera movements had to be adjusted frame by frame, and just setting up the environment would discourage half the people. Now there's an open-source tool that clears that path entirely — Math-To-Manim: describe it in one sentence, and it automatically generates a complete interactive animation. …

X AI KOLs Timeline

Math-To-Manim is an open-source tool that automatically generates complete math and physics teaching animations from a single sentence description, including LaTeX formulas and camera design, and comes with 55+ examples, significantly lowering the production barrier.

@cevenif: Recently stumbled upon a pretty interesting open-source tool on GitHub: AetherViz Master. Give it a teaching topic, and it automatically generates a set of 3D interactive teaching web pages that you can use directly in your browser. Under the hood, it uses a hybrid rendering of Three.js and SVG, and can auto-detect subjects—…

X AI KOLs Timeline

Introduces an open-source tool called AetherViz Master, which uses AI to automatically transform teaching topics into immersive 3D interactive web pages, supporting multiple subjects such as physics, chemistry, mathematics, and more.