jsxgraph
FreeRuns bundled scriptsNot checkedBuild and inspect mathematical graphs and coordinate constructions with JSXGraph when a learner needs to connect an equation to a shape, solve graphically, or…
by madhvantyagi★ 350 GitHub starsAbout this skill
JSXGraph
Use this skill after lesson design has selected a mathematical graph through representation choices. It builds the graph; the subject teacher still owns the model and explanation. JSXGraph runs in the browser. It needs no MCP server, account, or learner setup.
Establish what the graph teaches
Read the selected subject guidance and the block brief. Identify the difficult step that a graph will expose. A learner might connect a derivative to a tangent, find an intersection, compare feasible choices, or explain a parameter change. Write that action into the brief before choosing controls.
Keep the lesson's example, variables, units, and assumptions. Show how each important equation term corresponds to an object or value in the graph. If the learner has not met the axes or the quantities, introduce them in the surrounding explanation. Work through one result before asking the learner to investigate a new case.
Use a fixed view when comparing its parts is sufficient. Add a draggable point, slider, or step button only when changing it answers the lesson's question. For graph reading, ask the learner to explain a slope, area, scale, or domain. For graphical problem solving, connect the estimated solution to a calculation and state its precision. A picture can suggest a result; it does not prove it.
Build the artifact
Read authoring for the starter examples, export command, and checks specific to mathematical plots. Follow simulation presentation for the palette, layout, responsive views, and embedded inspection. Those rules remain shared with other HTML experiments.
Start from the example closest to the teaching action and adapt its ordinary
JavaScript. Use the pinned local runtime through scripts/build_graph.py.
Keep the numerical calculation available in the source. JSXGraph draws the
model; it does not establish a physical law, causal claim, or numerical method.
Use the host's available browser and file tools to build and inspect the result.
Do not add a research service or require an MCP for this workflow.
Hand it back to lesson design
Return the checked HTML, its title and purpose, model assumptions, and the
actual iframe dimensions. Use interactive-graph for a mathematical view
and simulation for an experiment whose state evolves. Both register as a
simulation artifact with MIME type text/html. Declare
skills/jsxgraph/SKILL.md in the lesson's skill_routes and in the block's
production.skill_route. Existing binding representation plans still apply.
The coordinator follows the existing artifact registry to publish the result. Keep prompts for learner predictions and explanations in the existing exercise blocks. Moving a control is exploration, not independent success. Do not claim that responses inside an HTML graph have been saved or graded by the course viewer. If the export or embedded checks fail, return the concrete failure and keep the artifact in draft until it is repaired.
Install jsxgraph in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the jsxgraph skill do?
Build and inspect mathematical graphs and coordinate constructions with JSXGraph when a learner needs to connect an equation to a shape, solve graphically, or test a quantitative change. Use other diagram tools for concept maps, network layouts, and geographic maps.
How do I install the jsxgraph skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the jsxgraph skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic