← Back to Skills Marketplace
265
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install unit
Description
单位全能换算技能,支持长度、重量、面积、体积、温度、时间、速度、数据存储、能量、功率、压力等基础单位换算,以及150+货币实时汇率换算。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install unit - After installation, invoke the skill by name or use
/unit - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Unit?
单位全能换算技能,支持长度、重量、面积、体积、温度、时间、速度、数据存储、能量、功率、压力等基础单位换算,以及150+货币实时汇率换算。 It is an AI Agent Skill for Claude Code / OpenClaw, with 265 downloads so far.
How do I install Unit?
Run "/install unit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Unit free?
Yes, Unit is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Unit support?
Unit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Unit?
It is built and maintained by openlang (@openlang-cn); the current version is v1.0.1.
More Skills