Unit Master: Universal Converter for Openclaw

A versatile conversion tool for AI agents that handles everything from physical measurements to real-time global currencies.

openlang-cn
v1.0.1
Mar 13, 2026
0
930
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install unit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install unit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Unit Master: Universal Converter?

Unit Master is a comprehensive conversion suite designed to empower Openclaw Skills with the ability to handle complex mathematical and financial transformations. It supports a vast array of physical dimensions—including length, weight, volume, and pressure—alongside non-linear conversions like temperature and real-time exchange rates for over 150 global currencies. By integrating this skill, your AI agent gains a reliable mechanism for precise calculations, ensuring technical accuracy in every response.

Built as a robust extension for Openclaw Skills, the tool bridges the gap between static unit tables and dynamic market data. Whether you are dealing with binary data storage for cloud architecture or traditional regional units for historical documentation, this skill provides the necessary computational logic to ensure your agent never misses a beat.

Unit Master: Universal Converter Use Cases

  • Converting technical specifications between metric and imperial systems in engineering workflows.
  • Calculating real-time budget conversions across 150+ currencies for automated financial reports.
  • Translating data storage requirements (KB, MB, GB) using binary 1024-base logic for IT infrastructure planning.
  • Adjusting temperature readings for scientific or culinary applications using specialized non-linear formulas.
  • Supporting traditional Chinese units for regional commerce and logistics projects.

How Unit Master: Universal Converter Works

  1. The AI agent receives a conversion request from the user containing a value, a source unit, and a target unit.
  2. The agent invokes the Openclaw Skills Python script located at unit/unit_converter.py using the convert command.
  3. For physical units, the script matches the inputs against a base-unit coefficient table to calculate the result.
  4. For currency requests, the skill accesses the exchangerate.host API to fetch live rates which are cached hourly for efficiency.
  5. The script outputs a formatted string which the Openclaw Skills agent then uses to inform the final user response.

Unit Master: Universal Converter Setup

To enable this conversion feature in your local environment, ensure you have Python 3 and the requests library installed.

pip install requests

Verify the installation by running a sample conversion via the CLI:

python unit/unit_converter.py convert 100 USD CNY

Unit Master: Universal Converter Data Schema & Taxonomy

The skill organizes its logic through a centralized Python-based dictionary. This structure ensures that Openclaw Skills can map multiple aliases to a single base unit.

Measurement Category Base Unit Common Aliases Supported
Length Meter (m) km, mi, ft, in, yard, nautical_mile
Weight Kilogram (kg) g, lb, oz, ton, jin, liang
Data Storage Bit (b) Byte, KB, MB, GB, TB (Base 1024)
Power Watt (W) kW, hp, metric_hp
Currency Real-time API USD, EUR, CNY, JPY, GBP, and 145+ others

Unit Master: Universal Converter Advanced Features

  • Real-time API integration for over 150 currencies with automated hourly caching mechanisms.
  • Specialized non-linear math for temperature conversions across Celsius, Fahrenheit, and Kelvin.
  • High-precision handling of US vs UK liquid measurements to avoid volume discrepancies.
  • Binary-based data storage calculations (1024-base) tailored for computer science contexts.
  • Fallback manual calculation logic that allows Openclaw Skills to function even when network access to currency APIs is interrupted.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*