math-expression

Use when the user wants an actual math result, simplification, expansion, exact value, high-precision value, analytic solution, or numerical solution for algebra, calculus, linear algebra, series, asymptotics, or ODE/PDE problems.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "math-expression" with this command: npx skills add pansuestc/math-expression

Math Expression

Overview

Use this skill when a natural-language math request should be translated into a single Wolfram Language expression and then evaluated or solved.

It fits symbolic algebra, calculus, exact arithmetic, high-precision numerics, matrix problems, series, asymptotics, and ODE/PDE tasks. It does not replace a general code executor or a multi-step notebook workflow.

Quick start

python3 -m pip install --user wolframclient
python3 {baseDir}/scripts/eval_expression.py --expr "Factor[x^4 - 1]"
python3 {baseDir}/scripts/eval_expression.py --expr "DSolve[y''[x] + y[x] == 0, y[x], x]"
python3 {baseDir}/scripts/eval_expression.py --expr "N[Pi, 80]" --precision 80 --json

Safety boundary

  • Use this skill for math-only Wolfram Language expressions.
  • By default, the script blocks filesystem, network, and process-related symbols such as Import, URLRead, Run, RunProcess, Get, Put, OpenRead, and OpenWrite.
  • Do not disable this guard unless the runtime is isolated.
  • This skill is not a general code execution tool and not a multi-step notebook agent.

Workflow

  1. Convert the user's request into one Wolfram Language expression.
  2. Check that the expression is math-only.
  3. Run scripts/eval_expression.py --expr "..."
  4. Return Exact, Numeric, Verified, and Version.

Examples

  • Algebraic simplification: Factor[x^4 - 1]
  • Definite integral: Integrate[x^2 Exp[-x], {x, 0, Infinity}]
  • Limit: Limit[(Sin[x] - x)/x^3, x -> 0]
  • ODE analytic solution: DSolve[y''[x] + y[x] == 0, y[x], x]
  • PDE numeric solution: NDSolve[{D[u[x, t], t] == D[u[x, t], {x, 2}], u[0, t] == 0, u[1, t] == 0, u[x, 0] == Sin[Pi x]}, u, {x, 0, 1}, {t, 0, 1}]
  • Asymptotic expansion: Asymptotic[LogGamma[x], x -> Infinity, 5]
  • High-precision value: N[Pi, 120]

Notes

  • Input is Wolfram Language only.
  • This skill is single-expression and single-run.
  • Runtime dependency: wolframclient and WolframKernel.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

GigaChat (Sber AI) Proxy

Integrate GigaChat (Sber AI) with OpenClaw via gpt2giga proxy

Registry SourceRecently Updated
3600smvlx
General

TencentCloud Video Face Fusion

通过提取两张人脸核心特征并实现自然融合,支持多种风格适配,提升创意互动性和内容传播力,广泛应用于创意营销、娱乐互动和社交分享场景。

Registry SourceRecently Updated
General

TencentCloud Image Face Fusion

图片人脸融合(专业版)为同步接口,支持自定义美颜、人脸增强、牙齿增强、拉脸等参数,最高支持8K分辨率,有多个模型类型供选择。

Registry SourceRecently Updated
General

YoudaoNote News

有道云笔记资讯推送:基于收藏笔记分析关注话题,推送最新相关资讯。支持对话触发与每日定时推送(如早上9点)。触发词:资讯推送、设置资讯推送、生成资讯推送。

Registry SourceRecently Updated
1.5K1lephix