Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计提醒

xiaoyuan-calc小源计算

Agent Skill

xiaoyuan-calc 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,514

周安装

362

GitHub Stars

公开资料未说明

下载量

2,983
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install xiaoyuan-calc

简介

小源计算提供科学计算与方程求解能力,适合数学建模与数据分析任务。

  • 支持不等式求解、函数绘图与详细步骤展示,提升学习效率。
  • 集成高精度算法库,覆盖初等代数到高等数学应用场景。
  • 安装命令:openclaw skills install xiaoyuan-calc,无需外部依赖。
  • 复杂运算可能耗时较长,建议设置超时机制防止阻塞主进程。

SKILL.md

name
xiaoyuan-calc
description
|

xiaoyuan Calculator

A powerful mathematical calculation tool that supports scientific calculations, equation solving, inequality solving, and provides detailed calculation steps and explanations.

Powered by 小猿 AI (Xiaoyuan AI)

Usage

Important: All inputs must use LaTeX format!

python3 <skill-path>/scripts/calc.py "<LaTeX expression>" [language]

LaTeX Format Guide

  • Multiplication: Use \ imes or \cdot, e.g., 3 \ imes 4
  • Division: Use \div or /, e.g., 8 \div 2
  • Fraction: Use \frac{numerator}{denominator}, e.g., \frac{1}{2}
  • Square root: Use \sqfrt{number}, e.g., \sqrt{16}
  • Power: Use ^, e.g., x^2
  • Trigonometric functions: \sin, \cos, \ an, etc.
  • Inequality symbols: \geq, \leq, >, <
  • Greek letters: \pi, \ heta, \alpha, etc.
  • System of equations: Use \begin{cases}...\end{cases}, e.g.:
  \begin{cases}
  x + y = 10 \\
  x - y = 2
  \end{cases}

Core Features

1. Basic Operations

  • Arithmetic operations: +, -, \ imes, \div
  • Power operations: x^2, x^3
  • Roots: \sqrt{x}, \sqrt[3]{x}
  • Fractions: \frac{a}{b}
  • Percentage calculations

2. Scientific Calculations

  • Trigonometric functions: \sin(x), \cos(x), \ an(x), \arcsin(x), \arccos(x), \arctan(x)
  • Logarithms: \log(x), \ln(x), \log_{a}(b)
  • Exponentials: e^x, a^b
  • Others: Absolute value |x|, factorial n!
  • Constants: \pi, e

3. Equation Solving

Supports solving various algebraic equations (no need for solve() wrapper):

  • Linear equations: 2x + 5 = 15
  • Quadratic equations: x^2 - 5x + 6 = 0
  • Higher-order equations: x^3 - 6x^2 + 11x - 6 = 0
  • System of linear equations (two variables):
  \begin{cases}
  x + y = 10 \\
  x - y = 2
  \end{cases}
  • Multi-variable systems:
  \begin{cases}
  x + y + z = 6 \\
  2x - y + z = 3 \\
  x + 2y - z = 2
  \end{cases}

4. Inequality Solving

Supports solving various inequalities (no need for solve() wrapper):

  • Single-variable inequalities: 2x + 5 > 15
  • Quadratic inequalities: x^2 - 4 \geq 0
  • Inequality systems: x + 2 > 5, x - 3 < 10

5. Step-by-Step Solutions

Automatically returns detailed calculation process, for example:

Input: x^2 - 5x + 6 = 0
Step 1: Identified as a quadratic equation
Step 2: Using factorization method (x-2)(x-3) = 0
Step 3: Solutions found: x = 2 or x = 3
Result: x = 2, x = 3

Usage Examples

# Basic calculations (LaTeX format)
python3 scripts/calc.py "2 + 3 \	imes 4"                    # 14
python3 scripts/calc.py "(2 + 3) \	imes 4"                  # 20
python3 scripts/calc.py "\sqrt{144}"                        # 12
python3 scripts/calc.py "2^8"                               # 256
python3 scripts/calc.py "\frac{10}{2}"                      # 5

# Scientific calculations
python3 scripts/calc.py "\sin(\frac{\pi}{2})"               # 1.0
python3 scripts/calc.py "\log(1000)"                        # 3.0
python3 scripts/calc.py "5!"                                # 120

# Equation solving (direct input, no solve wrapper needed)
python3 scripts/calc.py "2x + 5 = 15"                       # Linear equation: x = 5
python3 scripts/calc.py "x^2 - 4 = 0"                       # Quadratic equation: x = -2, x = 2

# System of linear equations (two variables)
python3 scripts/calc.py "\\begin{cases} x + y = 10 \\\\ x - y = 2 \\end{cases}"              # x = 6, y = 4
python3 scripts/calc.py "\\begin{cases} 2x + 3y = 12 \\\\ x - y = 1 \\end{cases}"            # x = 3, y = 2

# System of linear equations (three variables)
python3 scripts/calc.py "\\begin{cases} x + y + z = 6 \\\\ 2x - y + z = 3 \\\\ x + 2y - z = 2 \\end{cases}"

# Inequality solving
python3 scripts/calc.py "2x + 5 > 15"                       # x > 5
python3 scripts/calc.py "x^2 - 4 \geq 0"                    # x ≤ -2 or x ≥ 2

# Specify language
python3 scripts/calc.py "2 + 3" zh
python3 scripts/calc.py "2 + 3" en

Features

  • Supports complete LaTeX mathematical expressions
  • Automatically records and displays calculation steps
  • High-precision numerical calculations
  • User-friendly error messages
  • Multi-language output support

Notes

  • LaTeX format input is required
  • Equations and inequalities should be input directly, no solve() wrapper needed
  • Trigonometric functions use radians by default
  • Default variable for equation solving is x
  • Inequality solutions are represented in interval notation

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

95.21%
按下载量换算2,840

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills