Agent skill · data analytics · sundial-org
units
Perform unit conversions and calculations using GNU Units.
Why this skill is useful
Codifies specific usage patterns and commands for the GNU Units tool that the AI may not infer on its own.
What it needs
Requires units installed locally. About 1k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.
What this skill does
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. Examples Basic Conversion: Compound Units: Temperature (Non-linear): Temperature requires specific syntax: tempF(x), tempC(x), tempK(x). Time: Rounding Output: To round to specific decimal places (e.g. 3 places), use -o "%.3f": Definition Lookup: To see what a unit definition is (without converting), omit the second argument (without -t is more verbose/useful for definitions): 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').
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sundial-org/units