Skip to content
Agentmart
Submit a tool

calculator

全能科学计算器与单位换算器。支持四则运算、幂运算、三角函数、对数、常量,以及长度/重量/温度/数据存储等单位换算。

Skill by HelloEveryboby

IndexedMIT★ 18
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/helloeveryboby-calculator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

全能科学计算器与单位换算器。支持四则运算、幂运算、三角函数、对数、常量,以及长度/重量/温度/数据存储等单位换算。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/calculator

What's inside

Skill name
calculator
Description
全能科学计算器与单位换算器。支持四则运算、幂运算、三角函数、对数、常量,以及长度/重量/温度/数据存储等单位换算。
License
MIT
Instructions
34 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • main.py

SKILL.md (first lines)

# 全能计算器 (Calculator)

本技能提供安全的数学表达式求值与多维度单位换算能力,全程不使用 `eval`,基于 AST 白名单解析,杜绝注入风险。

## 核心能力

### 1. 数学表达式求值 (`calculate`)
- **基础运算**:加 `+`、减 `-`、乘 `*`、除 `/`、取模 `%`、整除 `//`、幂 `**`
- **括号**:支持嵌套括号 `( )`
- **常量**:`pi` (π)、`e` (自然常数)、`tau` (τ)
- **函数**:
  - 三角函数:`sin`, `cos`, `tan`, `asin`, `acos`, `atan` (弧度)
  - 双曲函数:`sinh`, `cosh`, `tanh`
  - 对数:`log` (自然对数)、`log10`、`log2`
  - 其他:`sqrt` (平方根)、`abs` (绝对值)、`round` (四舍五入)、`floor`、`ceil`
- **示例**:
  - `2 + 3 * 4` → `14`
  - `sin(pi/2) + cos(0)` → `2.0`
  - `log(e**3)` → `3.0`
  - `sqrt(16) + 2**3` → `12.0`

### 2. 单位换算 (`convert`)
- **长度**:mm, cm, m, km, inch, foot, yard, mile
- **重量**:mg, g, kg, t, oz, lb
- **温度**:celsius, fahrenheit, kelvin (℃, ℉, K)
- **数据存储**:B, KB, MB, GB, TB, PB (二进制 1024)
- **时间**:ms, s, min, hour, day
- **速度**:m/s, km/h, mph, knot
- **示例**:
  - `100 km to mile`
  - `37 celsius to fahrenheit`
  - `1 GB to MB`

From HelloEveryboby/Butler, MIT.

More from HelloEveryboby/Butler

Signals

Stars
18
Forks
5
Open issues
0
Last commit (this folder)
Sep 26, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from HelloEveryboby

Cite this page

calculator skill. Agent Mart. https://agentmart.dev/skills/helloeveryboby-calculator (last updated 2026-10-24)