Install
openclaw skills install @yshajoy/math-guide-solverComplete mathematical problem solving workflow with OCR, LaTeX formula extraction, PNG rendering, and guided solutions. Use this skill when users want to: - Upload math problem images and automatically extract formulas as clean LaTeX - Convert LaTeX formulas to beautifully rendered PNG images with customizable themes - Get guided step-by-step problem-solving hints (Socratic method) - View detailed solutions with mathematical reasoning Handles single images, batches of images, and markdown files with embedded LaTeX. Supports multiple visual styles and provides both exploratory and detailed explanation modes.
openclaw skills install @yshajoy/math-guide-solverA comprehensive skill for solving math problems from images with formula extraction, rendering, and guided learning.
User: "I have a math problem photo. Can you help me solve it?"
Flow: Image → OCR → LaTeX extraction → Formula PNG → Guided hints → Solution
User: "Render this LaTeX formula beautifully"
Flow: LaTeX code → math-images skill → PNG with custom styling
User: "Extract all formulas from my homework photos"
Flow: Multiple images → OCR all → Extract LaTeX → Render PNG grid
When user uploads math problem image(s):
Supported formats: JPG, PNG, BMP, TIFF, PDF
Examples of auto-corrected formats:
Input: "a/b + c/d" → LaTeX: \frac{a}{b} + \frac{c}{d}
Input: "x^2 + 2x + 1" → LaTeX: x^{2} + 2x + 1
Input: "sqrt(2) + pi" → LaTeX: \sqrt{2} + \pi
Input: "∑(i=1 to n)" → LaTeX: \sum_{i=1}^{n}
Use math-images skill to convert LaTeX to high-quality PNG:
Output file naming: formula_<problem_number>_<formula_id>.png
Strategy: Ask guiding questions, don't reveal answers directly
Process:
When to use: Student wants to learn, not just get answers
Strategy: Full step-by-step solution with reasoning
Process:
When to use: Student wants complete understanding
Just the answer with brief verification
themes:
light:
background: white
text: black
accent: blue
dark:
background: "#1e1e1e"
text: white
accent: cyan
sepia:
background: "#f4f1de"
text: "#2d2d2d"
accent: "#d4a574"
chalk:
background: "#2c2c2c"
text: "#e0e0e0"
accent: "#ffeb3b"
formula_size: "medium" # small, medium, large
dpi: 300 # 150 (fast), 300 (quality), 600 (print)
background_transparent: false
include_explanation: true # Show formula explanation below
ax + b = cax^2 + bx + c = 0Input Image: Photo of "Simplify: (1/2) + (1/3)"
Output:
## Problem Extracted
Simplify: (1/2) + (1/3)
## LaTeX Formula
\frac{1}{2} + \frac{1}{3}
## Rendered Formula
[PNG image with formula]
## Solution Guidance (Socratic Mode)
1. What do we need to do to add fractions?
→ We need a common denominator
2. What's the LCD of 2 and 3?
→ 6
3. Rewrite each fraction with denominator 6...
Input: Handwritten quadratic equation image
LaTeX Extraction:
\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
Themed Renderings:
When user specifies preferences, save and apply consistently:
user_preferences:
solution_mode: "detailed" # or "socratic" or "quick"
theme: "dark"
language: "en" # or "zh" for Chinese
include_diagrams: true
step_detail_level: "medium" # high, medium, low