Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

math-guide-solver数学指导求解器

Agent Skill

math-guide-solver 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,864

周安装

117

GitHub Stars

公开资料未说明

下载量

917
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:math-guide-solver(数学指导求解器)
来源仓库:https://github.com/yshajoy/math-guide-solver
安装命令:
openclaw skills install math-guide-solver
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install math-guide-solver

简介

数学问题 OCR 识别与 LaTeX 公式自动提取工具。

  • 集成 PNG 渲染与分步解答引导工作流程。
  • 适用于手写题拍照转文本与自动解题场景。math-guide-solver 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install math-guide-solver。
  • 需确认图像清晰度以保证 OCR 准确率。

SKILL.md

name
math-solver
description
|

Math Solver Skill

A comprehensive skill for solving math problems from images with formula extraction, rendering, and guided learning.

Quick Start

Use Case 1: Image to Solution

User: "I have a math problem photo. Can you help me solve it?"
Flow: Image → OCR → LaTeX extraction → Formula PNG → Guided hints → Solution

Use Case 2: LaTeX to PNG

User: "Render this LaTeX formula beautifully"
Flow: LaTeX code → math-images skill → PNG with custom styling

Use Case 3: Problem Batch Processing

User: "Extract all formulas from my homework photos"
Flow: Multiple images → OCR all → Extract LaTeX → Render PNG grid

Core Workflow

1. Image Recognition & OCR

When user uploads math problem image(s):

  • Use PaddleOCR Document Parsing skill to extract text and formulas
  • Identify mathematical expressions, layout, and problem structure
  • Output structured markdown with extracted content

Supported formats: JPG, PNG, BMP, TIFF, PDF

2. LaTeX Extraction & Normalization

  • Convert recognized formulas to proper LaTeX syntax
  • Handle common variations (fractions, exponents, subscripts, Greek letters)
  • Validate LaTeX syntax before rendering
  • Preserve mathematical meaning and formatting

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}

3. Formula Rendering to PNG

Use math-images skill to convert LaTeX to high-quality PNG:

  • Support multiple themes (light, dark, sepia, chalk)
  • Configurable text sizes and colors
  • Batch rendering for multiple formulas
  • DPI optimization for different use cases

Output file naming: formula_<problem_number>_<formula_id>.png

4. Guided Solution Modes

Mode A: Socratic (Exploratory Learning)

Strategy: Ask guiding questions, don't reveal answers directly

Process:

  1. Problem Analysis - "What does this problem ask you to find?"
  2. Concept Check - "Which mathematical concept applies here?"
  3. Method Hint - "What approach would you use?"
  4. Progress Check - "Show me your work so far. What's the next step?"
  5. Verification - "Does your answer make sense?"

When to use: Student wants to learn, not just get answers

Mode B: Detailed Explanation

Strategy: Full step-by-step solution with reasoning

Process:

  1. Problem Understanding - Restate the problem in clear terms
  2. Formula Extraction - Identify relevant mathematical formulas
  3. Step-by-Step Solution - Each step with LaTeX rendering and explanation
  4. Verification - Check answer validity
  5. Alternative Methods - Show other approaches if applicable

When to use: Student wants complete understanding

Mode C: Quick Answer (Minimum Guidance)

Just the answer with brief verification


Configuration Options

Visual Themes

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"

Rendering Options

formula_size: "medium"  # small, medium, large
dpi: 300                 # 150 (fast), 300 (quality), 600 (print)
background_transparent: false
include_explanation: true  # Show formula explanation below

Supported Mathematical Domains

Algebra

  • Linear equations: ax + b = c
  • Quadratic equations: ax^2 + bx + c = 0
  • Polynomial operations
  • Rational expressions
  • Systems of equations

Geometry

  • Area and perimeter formulas
  • Trigonometric relationships
  • Vector operations
  • 3D transformations

Calculus

  • Limits and continuity
  • Derivatives and integrals
  • Series and sequences
  • Differential equations

Statistics

  • Mean, variance, standard deviation
  • Probability distributions
  • Hypothesis testing
  • Regression analysis

Linear Algebra

  • Matrix operations
  • Eigenvalues and eigenvectors
  • Linear transformations
  • Determinants

Input & Output Examples

Example 1: Simple Fraction Problem

Input 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...

Example 2: Complex Expression

Input: Handwritten quadratic equation image

LaTeX Extraction:

\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Themed Renderings:

  • Light theme PNG
  • Dark theme PNG
  • Chalk board theme PNG

API Integration

Internal Integrations

  • PaddleOCR Document Parsing - Image to text/formula extraction
  • math-images - LaTeX to PNG rendering
  • Claude API - Problem analysis and guidance generation

External Support

  • Mathpix API (optional) - High-accuracy formula recognition
  • Wolfram Alpha API (optional) - Answer verification

Limitations & Edge Cases

Known Limitations

  1. Handwriting Quality - Works best with clear, print-like handwriting
  2. Complex Diagrams - May struggle with embedded geometry diagrams
  3. Incomplete Problems - Needs full problem statement in image
  4. Multiple Languages - Optimized for English/Chinese; others may vary

Error Handling

  • If OCR confidence < 70%, ask user to retake clearer photo
  • If LaTeX syntax invalid, suggest manual correction
  • If problem type unsupported, suggest alternative approaches

User Preferences

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

Troubleshooting

"OCR failed to recognize formula"

  • Request clearer image
  • Try different angle/lighting
  • Manually paste LaTeX if available

"PNG rendering looks wrong"

  • Check LaTeX syntax validity
  • Try different theme/size settings
  • Use math-images skill directly for advanced options

"I don't understand the guidance"

  • Switch to Detailed Explanation mode
  • Ask for more specific hints
  • Request step-by-step walkthrough

Next Steps

  1. Quick Demo? Upload a math problem image to test
  2. Configure Preferences? Choose solution style and theme
  3. Batch Processing? Upload multiple problem images
  4. Custom Styling? Specify color/size/format preferences

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.97%
按下载量换算871

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills