Perform unit conversions and calculations using GNU Units.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add dvcrn/openclaw-skills-marketplace --skill units --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Units?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dvcrn-units)More formats (shields.io, HTML) on the badges page.
---
name: units
description: "Perform unit conversions and calculations using GNU 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.
```bash
units -t 'from-unit' 'to-unit'
```
### Examples
**Basic Conversion:**
```bash
units -t '10 kg' 'lbs'
# Output: 22.046226
```
**Compound Units:**
```bash
units -t '60 miles/hour' 'm/s'
# Output: 26.8224
```
**Temperature (Non-linear):**
Temperature requires specific syntax: `tempF(x)`, `tempC(x)`, `tempK(x)`.
```bash
units -t 'tempF(98.6)' 'tempC'
# Output: 37
```
**Time:**
```bash
units -t '2 weeks' 'seconds'
```
**Rounding Output:**
To round to specific decimal places (e.g. 3 places), use `-o "%.3f"`:
```bash
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):
```bash
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'`).
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"