Skip to content
Back to skills

Unitconv

ASecurity

Convert units for length, weight, temperature, data, and speed. Use when switching measurement systems, sizing storage, or adjusting recipe quantities.

  • 12 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolsgobashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill unitconv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unitconv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unitconv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-unitconv/badge)](https://www.skillsdirectory.com/skills/bytesagain-unitconv)

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

Download with Pro
SKILL.md
---
name: UnitConv
description: "Convert units for length, weight, temperature, data, and speed. Use when switching measurement systems, sizing storage, or adjusting recipe quantities."
version: "3.0.0"
author: "BytesAgain"
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: ["converter","units","metric","imperial","temperature","length","weight","utility"]
categories: ["Utility", "Productivity"]
---

# UnitConv — Unit Converter

Convert between units for length, weight, temperature, speed, data storage, and time. Uses `awk` for precise math.

## Commands

| Command | Description |
|---------|-------------|
| `length <value> <from> <to>` | Convert length: m, cm, mm, km, in, ft, yd, mi |
| `weight <value> <from> <to>` | Convert weight: g, mg, kg, lb, oz, ton |
| `temp <value> <from> <to>` | Convert temperature: C, F, K |
| `speed <value> <from> <to>` | Convert speed: ms, kmh, mph, knots, fts |
| `data <value> <from> <to>` | Convert data: B, KB, MB, GB, TB, PB |
| `time <value> <from> <to>` | Convert time: s, m, h, d, w, mo, y |

## Examples

```bash
# Length
unitconv length 100 cm in        # → 39.3701 in
unitconv length 5 mi km          # → 8.04672 km

# Weight
unitconv weight 150 lb kg        # → 68.0389 kg

# Temperature
unitconv temp 100 C F            # → 212°F
unitconv temp 0 K C              # → -273.15°C

# Speed
unitconv speed 60 mph kmh        # → 96.5606 kmh
unitconv speed 100 kmh knots     # → 53.9957 knots

# Data storage
unitconv data 1024 MB GB         # → 1 GB
unitconv data 2 TB GB            # → 2048 GB

# Time
unitconv time 3600 s h           # → 1 h
unitconv time 7 d h              # → 168 h
```

## Supported Units

- **Length:** m (meter), cm, mm, km, in (inch), ft (foot), yd (yard), mi (mile)
- **Weight:** g (gram), mg, kg, lb (pound), oz (ounce), ton
- **Temperature:** C (Celsius), F (Fahrenheit), K (Kelvin)
- **Speed:** ms (m/s), kmh (km/h), mph, knots, fts (ft/s)
- **Data:** B (byte), KB, MB, GB, TB, PB
- **Time:** s (second), m (minute), h (hour), d (day), w (week), mo (month ~30d), y (year ~365d)

Files in this skill

  • SKILL.md2.1 KB
  • scripts/script.sh7.1 KB

Attribution

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

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.