Agent Skills: Calculator Skill

Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.

UncategorizedID: aiskillstore/marketplace/calculator

Install this agent skill to your local

pnpm dlx add-skill https://github.com/aiskillstore/marketplace/tree/HEAD/skills/decalogue/calculator

Skill Files

Browse the full folder contents for calculator.

Download Skill

Loading file tree…

skills/decalogue/calculator/SKILL.md

Skill Metadata

Name
calculator
Description
执行数学计算,支持基本运算和复杂表达式

Calculator Skill

功能描述

Calculator Skill 提供数学计算能力,支持基本的四则运算、幂运算等。

使用方法

基本运算

支持以下运算符:

  • + 加法
  • - 减法
  • * 乘法
  • / 除法
  • **^ 幂运算
  • () 括号

示例

2 + 3 * 4 = 14
10 ** 2 = 100
(5 + 3) * 2 = 16

注意事项

  1. 表达式必须是安全的数学表达式
  2. 不支持变量和函数调用
  3. 除零会返回错误

相关资源

  • examples.md: 更多计算示例
  • calculator.py: Python 实现脚本