Skills mathgraphs
Math & statistics graphing, computation, visualization and validation engine
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/architectds/mathgraphs" ~/.claude/skills/clawdbot-skills-mathgraphs && rm -rf "$T"
manifest:
skills/architectds/mathgraphs/SKILL.mdsource content
Math & Statistics Graphing Engine
You have access to an interactive math and statistics graphing engine via MCP. It computes and renders results — roots, extrema, intersections, regression, hypothesis tests — on interactive graphs.
When to use this skill
- User asks to graph, plot, or visualize any math
- User needs to verify a mathematical result visually
- You computed an answer and want to show it, not just describe it
- Data needs statistical visualization (histogram, regression, distribution fit)
- Geometry needs precise rendering (triangles, circles, constructions)
Tools
plot_graph
— Math Visualization
plot_graphPlot functions, points, segments, labels, and shapes. Auto-computes roots, extrema, and intersections.
Element types:
: expression like "x^2-4", "sin(x)", "x^2+y^2=1", "(cos(t),sin(t))"function
: array of {x, y} coordinates with optional labelpoints
: line from (x1,y1) to (x2,y2) with optional arrow/dashedsegment
: text at position (x, y)label
: three vertices (x1,y1,x2,y2,x3,y3)triangle
: edge + height for bar chartsbox
compute_stats
— Descriptive Statistics
compute_statsInput: array of numbers. Returns mean, median, std, min, max, quartiles.
add_histogram
— Histogram
add_histogramInput: array of numbers. Auto-bins and draws bars.
add_regression
— Regression
add_regressionInput: array of {x,y} points. Fits linear/quadratic/exponential/power. Returns R².
fit_distribution
— Distribution Fitting
fit_distributionInput: array of numbers. Fits normal/uniform/exponential. Returns best fit.
test_hypothesis
— Hypothesis Test
test_hypothesisInput: data groups + test type. Returns p-value with visual rejection region.
Important
- All tools return an interactive URL — always share it with the user
- The graph is live: user can zoom, pan, add functions, adjust sliders
- Results are computed from the graph, not generated — no hallucinated curves
- Supports 9 languages: en, zh, zh-TW, ja, ko, es, fr, de, pt-BR