skills$openclaw/units
asleep1232.7k

by asleep123

units – OpenClaw Skill

units is an OpenClaw Skills integration for data analytics workflows. Perform unit conversions and calculations using GNU Units.

2.7k stars9.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

nameunits
descriptionPerform unit conversions and calculations using GNU Units. OpenClaw Skills integration.
ownerasleep123
repositoryasleep123/units
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @asleep123/units
last updatedFeb 7, 2026

Maintainer

asleep123

asleep123

Maintains units in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
265 B
SKILL.md
1.4 KB
SKILL.md

name: units description: Perform unit conversions and calculations using GNU Units. metadata: {"clawdbot":{"emoji":"📏","requires":{"bins":["units"]}}}

GNU Units Skill

Use GNU units to perform unit conversions and calculations via the command line. Can be installed using brew and apt under "units".

Usage

Use the bash tool to run the units command. Use the -t (terse) flag to get just the numeric result.

units -t 'from-unit' 'to-unit'

Examples

Basic Conversion:

units -t '10 kg' 'lbs'
# Output: 22.046226

Compound Units:

units -t '60 miles/hour' 'm/s'
# Output: 26.8224

Temperature (Non-linear): Temperature requires specific syntax: tempF(x), tempC(x), tempK(x).

units -t 'tempF(98.6)' 'tempC'
# Output: 37

Time:

units -t '2 weeks' 'seconds'

Rounding Output: To round to specific decimal places (e.g. 3 places), use -o "%.3f":

units -t -o "%.3f" '10 kg' 'lbs'
# Output: 22.046

Definition Lookup: To see what a unit definition is (without converting), omit the second argument (without -t is more verbose/useful for definitions):

units '1 acre'

Notes

  • Currency: units supports currency (USD, EUR, etc.), but exchange rates may be out of date as they are static in the definitions file.
  • Safety: Always quote your units to prevent shell expansion issues (e.g. units -t '1/2 inch' 'mm').
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install units?

Run openclaw add @asleep123/units in your terminal. This installs units into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/asleep123/units. Review commits and README documentation before installing.