Install
openclaw skills install geogebra-diagram-generatorGenerate precise static or interactive geometry diagrams for geometry problems using GeoGebra's Execute text script. Use when Codex needs to create a construction for geogebra.org/geometry or geogebra.org/classic, produce a single-line Execute({...}) command, preserve geometric constraints dynamically with GeoGebra commands, paste and verify a diagram through GeoGebra's Algebra panel, or autonomously draw and screenshot a geometry figure in a browser when browser automation is available.
openclaw skills install geogebra-diagram-generatorCreate GeoGebra geometry diagrams by computing a clean coordinate model, then emitting one Execute({...}) command made of GeoGebra strings. Prefer native GeoGebra constraints over browser clicks or static coordinates when relationships must stay true while points move.
Analyze the geometry.
O=(0,0).Formulate GeoGebra command strings.
"r=5" or "ang=Slider[0°, 360°, 1°]"."D=Point[Segment[A,B]]" or "P=Rotate[A, ang, O]".PerpendicularLine[A, line], ParallelLine[A, line], Intersect[obj1, obj2], Circle[O, r], Rotate[A, ang, O], etc."SetAxesRatio[1, 1]" in every diagram to prevent visual distortion of circles, squares, rotations, and perpendiculars.Apply syntax and compatibility rules.
[] for GeoGebra math commands, not parentheses.\"Black\"; use RGB numeric color commands, for example SetColor[obj, 0, 0, 0].ShowObject, SetVisibleInView, and similar visibility commands because localized GeoGebra builds may crash. Make auxiliary objects faint instead: SetColor[line, 0.85, 0.85, 0.85] and SetLineStyle[line, 2].Provide the result.
geogebra code block containing Execute({...}).https://www.geogebra.org/geometry for geometry problems. Open the Algebra panel first, click the Input... / 输入... row, paste the command through the clipboard, press Enter, and verify that the figure appears.Prefer the real paste workflow on https://www.geogebra.org/geometry; it has proven more reliable than directly filling GeoGebra's math input or using https://www.geogebra.org/classic.
https://www.geogebra.org/geometry.Algebra / 代数区).Input..., 输入..., or a localized textbox such as 在此处输入方程或代数式.).Execute({...}) command to the browser clipboard, paste it, then press Enter.Do not rely on Playwright-style fill() for GeoGebra math input. It can change the visible DOM value without synchronizing GeoGebra's internal editor state; even simple entries like A=(0,0) may then fail. Clipboard paste plus Enter matches real user input and is much more dependable.
If the browser exposes a JavaScript evaluation surface and clipboard paste is not available, injecting through GeoGebra's applet API can still work:
ggbApplet.evalCommand('Execute({"SetAxesRatio[1, 1]", "O=(0,0)", "A=(2,0)", "B=(0,2)", "Segment[A,B]"})')
After any execution path, verify that expected objects exist or that the canvas is nonblank. If execution fails, inspect the failing command string first for bracket syntax, quotes, unsupported localized commands, malformed Unicode degree symbols, or a hidden restore dialog blocking the page.
Read references/examples.md when you need a compact template for common constructions or when debugging GeoGebra syntax.