Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Units

ASecurity

Perform unit conversions and calculations using GNU Units.

651 stars
0 votes
0 copies
2 views
Added 2/10/2026
toolsshellbash

Security Analysis

A100/100

Scanned 2/10/2026

$npx -y skills add sundial-org/awesome-openclaw-skills --skill units --agent claude-code

Installs 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.

Security grade badge for Units
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-units/badge)](https://www.skillsdirectory.com/skills/sundial-org-units)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
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.

```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'`).

Attribution

sundial-orgsundial-org
View sourceSee grades on GitHubMore from sundial-org →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Create and edit uCoz homepage landing pages via MCP: custom templates, hero sections, lead forms, navigation menus, SEO, and responsive layout. Includes a visual design system (style selection, layout/grid, section recipes, typography/spacing, color tokens, component states, icons, modern CSS/JS, motion, imagery, social proof, copy/voice, accessibility). Uses ucoz-mcp tools for templates, site file uploads, and site modules.

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953191 votes

Pptx

Presentation toolkit (.pptx). Create/edit slides, layouts, content, speaker notes, comments, for programmatic presentation creation and modification.

471861 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

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.

761 votes
View all in tools →