Unit Converter for Openclaw

A versatile CLI-based utility for converting between metric, imperial, and digital measurement systems.

ouyangabel
v1.0.0
Feb 24, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install unit-convert

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-convert 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 Converter?

The Unit Converter is a robust utility designed for Openclaw Skills that streamlines measurement transformations across multiple domains. It handles complex conversions including length, weight, temperature, area, volume, speed, time, and digital data storage. Whether you are translating scientific measurements or calculating server storage requirements, this tool provides precise results using standard formulas and binary-based data logic where appropriate.

This skill is particularly valuable for developers and researchers who need to switch between measurement systems without leaving their terminal. By integrating this into Openclaw Skills, users can automate unit equivalencies and ensure technical accuracy in their documentation or code calculations.

Unit Converter Use Cases

  • Translating project requirements between metric and imperial systems.
  • Converting digital storage units (GB to TB) for cloud infrastructure planning.
  • Calculating temperature offsets in scientific or engineering applications.
  • Standardizing recipe measurements or travel distances in local units.

How Unit Converter Works

  1. The user provides a value, a source unit, and a target unit through the CLI interface.
  2. The skill identifies the unit category (e.g., Length, Speed) and validates the compatibility of the source and target.
  3. The tool applies the relevant conversion formula, such as the 1024-base for data or standard decimal ratios for length.
  4. The converted value is returned in a human-readable format, supporting both short codes and full unit aliases.

Unit Converter Setup

To use this within the Openclaw Skills ecosystem, ensure you have Python 3 installed. Run the script directly from your terminal:

# Basic conversion example
python3 scripts/unit-convert.py 100 cm m

# List all units for a specific category
python3 scripts/unit-convert.py list length

# View all supported categories
python3 scripts/unit-convert.py categories

Unit Converter Data Schema & Taxonomy

The skill processes data using a categorized mapping system. It supports the following taxonomy:

Category Supported Units
Length mm, cm, m, km, in, ft, yd, mi
Weight mg, g, kg, t, oz, lb, stone
Temperature C, F, K (Case Sensitive)
Area m2, ft2, acre, mi2
Volume ml, l, gal, cup, pt, qt
Speed m/s, km/h, mph, knot
Data B, KB, MB, GB, TB, PB (Binary 1024-based)
Time ms, s, min, h, day, week, year

Unit Converter Advanced Features

  • Comprehensive support for unit aliases allowing for natural language inputs (e.g., 'inches' instead of 'in').
  • Binary-based logic for digital storage ensures accurate calculation of file sizes and server capacity.
  • Built-in category discovery via the list and categories commands for easy exploration of capabilities.
  • Case-sensitive temperature handling for Kelvin, Celsius, and Fahrenheit precision.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*