# Calculator

> 计算器，执行数学计算

- **Type:** Skill
- **Install:** `agentstack add skill-baizeagent-baize-calculator`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [BaiZeAgent](https://agentstack.voostack.com/s/baizeagent)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [BaiZeAgent](https://github.com/BaiZeAgent)
- **Source:** https://github.com/BaiZeAgent/Baize/tree/main/skills/calculator

## Install

```sh
agentstack add skill-baizeagent-baize-calculator
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Calculator

执行数学计算。

## When to Use

✅ **USE this skill when:**

- "计算一下"
- "帮我算"
- "多少乘多少"
- "数学计算"

## Commands

### 使用 bc 计算

```bash
echo "2+2" | bc
```

### 复杂计算

```bash
echo "scale=2; 100/3" | bc
```

### 使用 Python 计算

```bash
python3 -c "print(2**10)"
```

### 科学计算

```bash
python3 -c "import math; print(math.sqrt(2))"
```

## Examples

**"计算 123 乘以 456"**

```bash
echo "123*456" | bc
```

**"100 除以 3 保留两位小数"**

```bash
echo "scale=2; 100/3" | bc
```

## Notes

- bc 适合简单计算
- Python 适合复杂计算
- scale 设置小数位数

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [BaiZeAgent](https://github.com/BaiZeAgent)
- **Source:** [BaiZeAgent/Baize](https://github.com/BaiZeAgent/Baize)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-baizeagent-baize-calculator
- Seller: https://agentstack.voostack.com/s/baizeagent
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
