UnitConv

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "UnitConv" with this command: npx skills add xueyetianya/unitconv

UnitConv — Unit Converter

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

Commands

CommandDescription
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

# 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)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Unit Converter

Comprehensive unit converter for length, weight, temperature, area, volume, speed, time, and data. Use when: (1) converting between measurement units, (2) ca...

Registry SourceRecently Updated
6010Profile unavailable
General

Markdown To Ppt

Convert Markdown to beautiful presentations and slides. 一键将Markdown文档转换为精美PPT幻灯片,支持多种主题风格,适合商务汇报、教学课件、会议演讲。Markdown to PPT, presentation generator, slides ma...

Registry SourceRecently Updated
851Profile unavailable
General

openclaw2backup

一键备份和恢复 OpenClaw 工作空间、Skills 及配置,支持快速和完整备份、选择性恢复及备份管理。

Registry SourceRecently Updated
2240Profile unavailable
General

OpenClaw Session Model Switcher

Instantly switch the current OpenClaw session model; supports gpt, claude, qianwen, minimax, current model status, configured model listing, and restoring th...

Registry SourceRecently Updated
3011Profile unavailable