← 返回 Skills 市场
265
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install unit
功能描述
单位全能换算技能,支持长度、重量、面积、体积、温度、时间、速度、数据存储、能量、功率、压力等基础单位换算,以及150+货币实时汇率换算。
安全使用建议
This skill is internally consistent: it runs a bundled Python script for conversions and uses exchangerate.host for currency rates. Before installing, consider: 1) The script will attempt network requests for currency lookups — confirm your environment allows that and you are okay with contacting https://api.exchangerate.host. 2) It writes a cache file to your home directory (~/.unit_converter_cache.json); review/clean that file if needed. 3) The Python code contains duplicated keys and comment/confusion about unit definitions (potential calculation inaccuracies) — test conversion results against authoritative sources if accuracy is important. 4) Because the full source in the package was truncated in the review, you may want to open/read the entire unit_converter.py to confirm there are no unexpected network calls, telemetry, or file accesses beyond the cache and exchangerate.host usage. If you plan to allow autonomous agent invocation, remember the skill can be executed by the agent without additional prompts; if that is a concern, restrict invocation or review the code thoroughly first.
功能分析
Type: OpenClaw Skill
Name: unit
Version: 1.0.1
The skill bundle is a legitimate unit and currency converter. The Python script `unit_converter.py` performs offline mathematical conversions for various units and uses a public API (exchangerate.host) for real-time currency data, with local caching in the user's home directory (~/.unit_converter_cache.json). No malicious logic, data exfiltration, or prompt injection attempts were found.
能力评估
Purpose & Capability
Name/description describe unit conversions and realtime currency rates. The package includes a converter script and SKILL.md that instructs use of exchangerate.host for currency data — these requirements align with the stated purpose.
Instruction Scope
Runtime instructions tell the agent to run the bundled Python script or, if unavailable, to call exchangerate.host via requests. The instructions do not ask the agent to read unrelated files or environment variables. Note: the script persists a cache file in the user's home (~/.unit_converter_cache.json) and makes outbound HTTP requests for currency rates (expected for this skill).
Install Mechanism
No install spec; skill is instruction + code. requirements.txt only references 'requests'. No downloads from unknown URLs or archive extraction; low install risk. The SKILL.md tells users to 'pip install requests' if missing.
Credentials
The skill declares no required environment variables or credentials. Network access is needed only for currency lookups (exchangerate.host) which matches the described behavior. No unrelated secrets or config paths are requested.
Persistence & Privilege
always:false (normal). The script will create/modify a cache file at Path.home()/.unit_converter_cache.json, which is within the skill's scope but is persistent filesystem activity the user should be aware of.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unit - 安装完成后,直接呼叫该 Skill 的名称或使用
/unit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Reformatted SKILL.md for improved readability (fixed line breaks and spacing).
- No changes to skill logic or functionality.
- No file changes detected beyond formatting.
v1.0.0
Initial release – helps convert between units of measurement and value.
- Supports length, area, volume, weight, time, temperature, speed, data size, and currency conversions.
- Provides formulas or key ratios alongside results.
- Notes on using example or approximate rates for currency; advises against inventing precise real-time rates.
- Clarifies decimal/binary units for data sizes and conversion principles.
- Answers are concise, with clear units and controlled precision by default.
元数据
常见问题
Unit 是什么?
单位全能换算技能,支持长度、重量、面积、体积、温度、时间、速度、数据存储、能量、功率、压力等基础单位换算,以及150+货币实时汇率换算。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 265 次。
如何安装 Unit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unit」即可一键安装,无需额外配置。
Unit 是免费的吗?
是的,Unit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Unit 支持哪些平台?
Unit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Unit?
由 openlang(@openlang-cn)开发并维护,当前版本 v1.0.1。
推荐 Skills