← 返回 Skills 市场
423
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install calculator-2
功能描述
This skill should be used when the user asks to "calculate", "compute", "do math", mentions arithmetic operations like "add", "subtract", "multiply", "divide...
使用说明 (SKILL.md)
Calculator Skill
A simple calculator skill that performs basic arithmetic operations.
When This Skill Applies
This skill activates when the user's request involves:
- Basic arithmetic calculations (addition, subtraction, multiplication, division)
- Math expressions evaluation
- Number computation requests
Instructions
When this skill is activated:
- Parse the mathematical expression from the user's request
- Perform the calculation step by step
- Return the result clearly
Supported Operations
| Operation | Symbol | Example | Result |
|---|---|---|---|
| Addition | + | 1 + 1 | 2 |
| Subtraction | - | 10 - 3 | 7 |
| Multiplication | * | 4 * 5 | 20 |
| Division | / | 20 / 4 | 5 |
Example
User: What is 1 + 1?
Steps:
- Parse expression:
1 + 1 - Perform addition:
1 + 1 = 2 - Return result: 2
Rules
- Always show the calculation process
- For division, check for division by zero and warn the user
- Support chained operations (e.g.,
1 + 2 * 3) - Follow standard mathematical order of operations (PEMDAS)
- Return results with appropriate precision (avoid unnecessary decimal places)
安全使用建议
This skill appears benign and self-contained for basic arithmetic. Before installing, consider whether you or the implementer might later add code that evaluates user input with an unsafe mechanism (for example, using a raw eval on arbitrary strings). If you plan to rely on this for more than simple math, confirm the implementation sanitizes/parses expressions safely and does not execute arbitrary code or access external resources.
功能分析
Type: OpenClaw Skill
Name: calculator-2
Version: 0.1.0
The skill bundle contains standard metadata and documentation for a basic calculator. The instructions in SKILL.md are limited to performing arithmetic operations and do not contain any malicious directives, prompt injection attempts, or suspicious network/file system requests.
能力评估
Purpose & Capability
Name/description match the declared behavior: only basic arithmetic and expression evaluation. No unrelated env vars, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructions are narrowly scoped to parsing expressions, performing step-by-step calculations, and returning results; it does not instruct the agent to read files, access external endpoints, or collect unrelated data.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk or downloaded during install.
Credentials
No environment variables, credentials, or config paths are required; requested access is proportionate to a calculator's needs.
Persistence & Privilege
Skill does not request always:true or other elevated persistence; normal autonomous invocation is allowed by platform defaults.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install calculator-2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/calculator-2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the calculator skill, providing support for basic arithmetic operations: addition, subtraction, multiplication, and division.
- Parses and evaluates user math expressions step by step, showing the calculation process.
- Follows standard order of operations (PEMDAS) for chained and complex expressions.
- Handles division by zero with a warning.
- Returns results with appropriate precision, avoiding unnecessary decimal places.
元数据
常见问题
Calculator 是什么?
This skill should be used when the user asks to "calculate", "compute", "do math", mentions arithmetic operations like "add", "subtract", "multiply", "divide... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 423 次。
如何安装 Calculator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install calculator-2」即可一键安装,无需额外配置。
Calculator 是免费的吗?
是的,Calculator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Calculator 支持哪些平台?
Calculator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Calculator?
由 CexFree(@cexfree)开发并维护,当前版本 v0.1.0。
推荐 Skills