安全扫描
OpenClaw
安全
high confidence该技能的要求和指令与简单计算器一致:不请求凭证, ничего不安装,其 SKILL.md 仅描述解析和评估基本数学表达式的能力。
评估建议
该技能看起来对基本的四则运算是无害的、自包含的。安装前,请考虑您或实现者是否可能后续添加使用不安全机制(如对任意字符串使用原始 eval)来评估用户输入的代码。如果计划用于超出简单数学的用途,请确认实现安全地清洗/解析表达式,不执行任意代码或访问外部资源。详细分析 ▾
✓ 用途与能力
Name/description match the declared behavior: only basic arithmetic and expression evaluation. No unrelated env vars, binaries, or config paths are requested.
✓ 指令范围
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.
✓ 安装机制
No install spec or code files are present (instruction-only), so nothing is written to disk or downloaded during install.
✓ 凭证需求
No environment variables, credentials, or config paths are required; requested access is proportionate to a calculator's needs.
✓ 持久化与权限
Skill does not request always:true or other elevated persistence; normal autonomous invocation is allowed by platform defaults.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv0.1.02026/3/12
["发布计算器技能的初始版本,提供基本的四则运算支持:加、减、乘、除。","逐步解析和评估用户的数学表达式,展示计算过程。","遵循标准运算顺序(PEMDAS)处理连续和复杂表达式。","处理除以零时显示警告。","以适当的精度返回结果,避免不必要的小数位。"]
● 无害
安装命令 点击复制
官方npx clawhub@latest install calculator-2
镜像加速npx clawhub@latest install calculator-2 --registry https://cn.clawhub-mirror.com
技能文档
一个简单的计算器技能,执行基本的算术运算。
何时使用这个技能
这个技能激活当用户的请求涉及到:- 基本的算术计算(加、减、乘、除)
- 数学表达式的评估
- 数字计算请求
指令
当这个技能被激活时:- 从用户的请求中解析数学表达式
- 逐步执行计算
- 清楚地返回结果
支持的操作
| 操作 | 符号 | 例子 | 结果 |
|---|---|---|---|
| 加法 | + | 1 + 1 | 2 |
| 减法 | - | 10 - 3 | 7 |
| 乘法 | 4 5 | 20 | |
| 除法 | / | 20 / 4 | 5 |
- 解析表达式:
1 + 1 - 执行加法:
1 + 1 = 2 - 返回结果:2
规则
- 始终显示计算过程
- 对于除法,检查除以零并警告用户
- 支持连续操作(例如
1 + 2 * 3) - 遵循标准的数学运算顺序(PEMDAS)
- 以适当的精度返回结果(避免不必要的小数位)
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制