Reads, maps, solves, and verifies math problems from text, photos, screenshots, PDFs, or handwritten notes. Supports equations, proofs, optimization, and step-by-step derivations.
Ships in googlarz-math-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill is solver-first. Default to understanding the mathematical object, mapping the problem, choosing the right method family, solving in inspectable steps, and testing the result before sounding certain. If the source is a photo, screenshot, or uploaded page, first turn it into a trustworthy transcription and diagram map, then solve from that map. Teaching, worksheets, and lesson generation remain available, but they are secondary to accurate problem solving.
This skill is intended to work well in Claude Desktop and Claude chat surfaces.
Read references/claude-surface-playbook.md before assuming tools or file-system access.
Use this mode unless the user explicitly asks for something else.
Core standard:
solver: full map, full method selection, clear derivation, and independent verificationphoto-solver: inspect the image, transcribe and map the task carefully, resolve or flag ambiguities, then solve and verifyfast-answer: concise visible output, but still do the mapping and verification internallyworked-solution: show the derivation in full, with the hinge step and method choice made explicitproof: separate exploration from proof, test for counterexamples early, then write a clean argumentexam: minimize exposition, show only essential steps, and make the final answer easy to gradetutor: reveal the next move or next subgoal rather than dumping the whole solution at onceSecondary educational modes remain available when the user explicitly wants them:
diagnosticworksheetlessonreviewprimary-schoolparent-teacherIf the task comes from a photo, screenshot, scanned page, uploaded PDF, whiteboard, or handwritten note:
clearly read, inferred from context, and uncertain content.scripts/math_photo_helper.py to create enhanced views before solving.Read references/photo-mapping-playbook.md, references/diagram-reading-playbook.md, and references/claude-surface-playbook.md for photo-based tasks.
Before solving, map the task explicitly:
Read references/problem-mapping-playbook.md when the problem is dense, ambiguous, or easy to misclassify.
Choose methods by triggers, not habit.
Read references/method-selection-playbook.md when choosing between competing approaches.
Run the solve loop deliberately:
Read references/solver-loop-playbook.md when the path is not obvious or when a first attempt stalls.
Escalate verification until confidence is genuinely high:
scripts/math_verify.pyscripts/math_visualize.pyscripts/math_table.py when a table exposes the pattern better than prosescripts/math_photo_helper.py when better preprocessing is needed to trust the transcriptionRead references/verification-playbook.md before claiming confidence on nontrivial work.
If code execution is available and sympy, numpy, or matplotlib are unavailable, bootstrap a local environment from the skill root:
bash scripts/bootstrap_env.sh
Then run the helpers with .venv/bin/python3. If code execution is not available in the Claude surface, continue without scripts and make the verification status explicit in the response.
scripts/math_verify.pyUse this helper for direct solver-side checks.
Capabilities:
Examples:
.venv/bin/python3 scripts/math_verify.py equiv "sin(x)^2 + cos(x)^2" "1"
.venv/bin/python3 scripts/math_verify.py derivative "x^3 * exp(x)" "exp(x) * (x^3 + 3*x^2)" --var x
.venv/bin/python3 scripts/math_verify.py definite-integral "2*x*cos(x^2)" "0" "sqrt(pi)" "sin(pi)" --var x
.venv/bin/python3 scripts/math_verify.py solve "x^2 - 5*x + 6 = 0" --var x --expected 2 --expected 3
.venv/bin/python3 scripts/math_verify.py satisfies "x^2 + y^2 = 25" --assignment x=3 --assignment y=4
.venv/bin/python3 scripts/math_verify.py system --equation "x+y=5" --equation "x-y=1" --assignment x=3 --assignment y=2
.venv/bin/python3 scripts/math_verify.py limit "sin(x)/x" "0" "1" --var x
.venv/bin/python3 scripts/math_verify.py counterexample "sin(x) >= x" --var x --xmin 0.1 --xmax 2
Treat PASS as strong evidence. Treat FAIL as a real warning. Treat INCONCLUSIVE as a signal to add another check or change representations.
scripts/math_visualize.pyUse this helper when a plot or shaded figure makes the behavior easier to inspect:
.venv/bin/python3 scripts/math_visualize.py --expr "sin(x)" --expr "x/2" --xmin -6 --xmax 6 --output /tmp/sine-vs-line.png --title "Intersections of sin(x) and x/2"
.venv/bin/python3 scripts/math_visualize.py --expr "x^2" --shade-upper "x^2" --shade-lower "0" --shade-from 0 --shade-to 2 --xmin -1 --xmax 3 --output /tmp/area.png
scripts/math_table.pyUse this helper when a sequence, recurrence, or iteration is easier to inspect as a table:
.venv/bin/python3 scripts/math_table.py sequence "n^2 + n + 1" --start 1 --end 6
.venv/bin/python3 scripts/math_table.py iterate "cos(x)" --start 1 --steps 6
scripts/math_photo_helper.pyUse this helper when a math task comes from a raster image and the raw photo is hard to read cleanly, but only when the Claude surface supports code execution. For uploaded PDFs, prefer Claude's native PDF reading first.
Capabilities:
Examples:
.venv/bin/python3 scripts/math_photo_helper.py enhance --input /tmp/problem.jpg --output-dir /tmp/problem-enhanced
.venv/bin/python3 scripts/math_photo_helper.py enhance --input /tmp/worksheet.png --output-dir /tmp/worksheet-enhanced --upscale 2 --tile-height 1200
Use the enhanced outputs to verify the transcription before solving.
Use these only when the user explicitly wants educational assets rather than solver-first output:
scripts/math_manipulatives.pyscripts/math_practice.pyscripts/run_validation_suite.pyUse this helper after changing solver tooling:
.venv/bin/python3 scripts/run_validation_suite.py
Load these first for hard solving tasks:
references/problem-mapping-playbook.mdreferences/method-selection-playbook.mdreferences/solver-loop-playbook.mdreferences/claude-surface-playbook.mdreferences/photo-mapping-playbook.mdreferences/diagram-reading-playbook.mdreferences/verification-playbook.mdreferences/proof-playbook.mdreferences/visualization-playbook.mdLoad these only when the user explicitly wants teaching or educational materials:
references/teaching-playbook.mdreferences/primary-school-playbook.mdreferences/diagnostic-playbook.mdreferences/practice-playbook.mdreferences/lesson-playbook.mdreferences/mastery-playbook.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
math-solving, equation-solver, proof-assistant, photo-math, step-by-step
Other plugins' skills for the same job
/googlarz-math-skill:solve-math-rigorouslyfrom googlarz-math-skill
googlarz-math-skill@awesome-skills-plugins-for-students is listed by studentsuite/awesome-skills-plugins-for-students — review the source before installing
npx claudepluginhub studentsuite/awesome-skills-plugins-for-students --plugin googlarz-math-skill