← 返回 Skills 市场
spzwin

sq-math

作者 spzwin · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
100
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install sq-math
功能描述
数学运算技能,支持算术、代数方程、函数求值、微积分与矩阵计算。用于用户提出“帮我算一下”“解方程”“求导/积分”“矩阵运算”等数学任务时,优先通过内置脚本稳定计算并返回结果。
安全使用建议
This skill appears to do what it claims and has no network/credential access. Before using: (1) be aware that sympy.sympify parses string expressions—if you run untrusted input through it there are parser-related risks in some setups, so prefer to run the skill locally or in an isolated environment; (2) the fallback uses eval with a restricted namespace which mitigates typical eval risks, but avoid feeding untrusted payloads; (3) if you plan to enable full sympy support, ensure sympy is up-to-date and consider running the tool in a sandbox or container if you need stronger isolation.
功能分析
Type: OpenClaw Skill Name: sq-math Version: 1.0.1 The skill bundle contains a math utility in `scripts/math_calc.py` that uses `eval()` and `sympy.sympify()` to process user-provided expressions. These functions are known to be vulnerable to arbitrary code execution (RCE) if the input is not strictly sanitized, as they can be bypassed to execute system commands. While the script's intent appears to be legitimate mathematical calculation, the use of these high-risk functions without a secure sandbox constitutes a significant security vulnerability.
能力评估
Purpose & Capability
Name/description match the included assets: SKILL.md documents running the bundled Python script and the script implements arithmetic, equation solving, differentiation, integration, and matrix determinant. There are no unrelated binaries, env vars, or config paths requested.
Instruction Scope
SKILL.md instructs the agent to run the local script with specific CLI flags (e.g., --expr, --solve). The script only reads its CLI arguments and does not access files, network, or other system state. One caution: the script uses sympy.sympify on user-provided strings (when sympy is available)—parsing arbitrary user input can carry parser-related risks in some environments. The fallback path uses eval but with __builtins__ disabled and a restricted math-only namespace, which reduces risk.
Install Mechanism
No install spec — the skill is instruction-only plus a small local script. Nothing is downloaded or written to disk by an installer.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to a standalone math utility.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide changes. It does not modify other skills or agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sq-math
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sq-math 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
sync update from internal platform
v1.0.0
Initial release: math calculation skill
元数据
Slug sq-math
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

sq-math 是什么?

数学运算技能,支持算术、代数方程、函数求值、微积分与矩阵计算。用于用户提出“帮我算一下”“解方程”“求导/积分”“矩阵运算”等数学任务时,优先通过内置脚本稳定计算并返回结果。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 sq-math?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sq-math」即可一键安装,无需额外配置。

sq-math 是免费的吗?

是的,sq-math 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

sq-math 支持哪些平台?

sq-math 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 sq-math?

由 spzwin(@spzwin)开发并维护,当前版本 v1.0.1。

💬 留言讨论