Token导航 LogoToken导航TokenDH.com
效率权限需确认clawhub未标认证来源可访问clear审计通过

unit-convert单位换算

Agent Skill

unit-convert 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

18,350

周安装

757

GitHub Stars

公开资料未说明

下载量

5,995
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:unit-convert(单位换算)
来源仓库:https://github.com/ouyangabel/unit-convert
安装命令:
openclaw skills install unit-convert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install unit-convert

简介

unit-convert 用于多维度单位换算,适合在 OpenClaw 中处理工程或科学计算。

  • 覆盖长度、重量、温度、面积、体积、速度、时间和数据量单位。
  • 支持常见系统与自定义单位间的精确转换。
  • 不涉及物理测量,仅作数值换算参考。unit-convert 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议核对单位定义标准,避免因进制差异导致误差。

SKILL.md

name
unit-convert
description
Comprehensive unit converter for length, weight, temperature, area, volume, speed, time, and data. Use when: (1) converting between measurement units, (2) calculating unit equivalencies, (3) working with different measurement systems, or (4) any unit conversion needs. Supports metric, imperial, and digital units.

Unit Converter

Convert between different measurement units. Supports length, weight, temperature, area, volume, speed, time, and data units.

When to Use

  • Convert between metric and imperial units
  • Calculate unit equivalencies
  • Work with different measurement systems
  • Convert digital storage sizes

Quick Start

Basic Conversions

python3 scripts/unit-convert.py 100 cm m
# Output: 100 cm = 1 m

python3 scripts/unit-convert.py 10 kg lb
# Output: 10 kg = 22.05 lb

python3 scripts/unit-convert.py 25 C F
# Output: 25 C = 77 F

List Units

python3 scripts/unit-convert.py list length
# Shows all length units

Show Categories

python3 scripts/unit-convert.py categories

Commands

<value> <from_unit> <to_unit>

Convert between units.

Examples:

# Length
python3 scripts/unit-convert.py 100 cm m
python3 scripts/unit-convert.py 5 ft cm
python3 scripts/unit-convert.py 1 mi km

# Weight
python3 scripts/unit-convert.py 10 kg lb
python3 scripts/unit-convert.py 1000 g kg
python3 scripts/unit-convert.py 16 oz lb

# Temperature
python3 scripts/unit-convert.py 25 C F
python3 scripts/unit-convert.py 98.6 F C
python3 scripts/unit-convert.py 300 K C

# Area
python3 scripts/unit-convert.py 100 m2 ft2
python3 scripts/unit-convert.py 1 acre m2

# Volume
python3 scripts/unit-convert.py 1000 ml l
python3 scripts/unit-convert.py 1 gal l

# Speed
python3 scripts/unit-convert.py 100 km/h mph
python3 scripts/unit-convert.py 10 m/s km/h

# Time
python3 scripts/unit-convert.py 3600 s h
python3 scripts/unit-convert.py 7 day h

# Data
python3 scripts/unit-convert.py 1024 B KB
python3 scripts/unit-convert.py 1 GB MB

list <category>

List all units in a category.

Examples:

python3 scripts/unit-convert.py list length
python3 scripts/unit-convert.py list weight
python3 scripts/unit-convert.py list temperature

categories

Show all supported categories.

python3 scripts/unit-convert.py categories

help <category>

Show help for a specific category.

python3 scripts/unit-convert.py help temperature
python3 scripts/unit-convert.py help length

Supported Categories

Length

  • Metric: mm, cm, m, km
  • Imperial: in, ft, yd, mi, inch, foot, yard, mile

Weight

  • Metric: mg, g, kg, t (tonne)
  • Imperial: oz, lb, stone, ounce, pound

Temperature

  • C - Celsius
  • F - Fahrenheit
  • K - Kelvin

Area

  • Metric: mm², cm², m², km²
  • Imperial: in², ft², yd², acre, mi²

Volume

  • Metric: ml, l, kl
  • Imperial: fl oz, cup, pt, qt, gal

Speed

  • Metric: m/s, km/h
  • Imperial: ft/s, mph
  • Nautical: knot

Time

  • Short: ms, s, min
  • Long: h, day, week, year

Data

  • Binary: B, KB, MB, GB, TB, PB
  • (Uses 1024-based conversion)

Unit Aliases

The converter accepts common aliases:

StandardAliases
ininch, inches
ftfoot, feet
ydyard, yards
mimile, miles
ozounce, ounces
lbpound, pounds
ptpint, pints
qtquart, quarts
galgallon, gallons
mlmilliliter, milliliters
lliter, liters
klkiloliter, kiloliters
hhour, hours
minminute, minutes
ssecond, seconds
msmillisecond, milliseconds

Examples

Everyday Conversions

# Height conversions
python3 scripts/unit-convert.py 180 cm ft
python3 scripts/unit-convert.py 6 ft cm

# Weight conversions
python3 scripts/unit-convert.py 70 kg lb
python3 scripts/unit-convert.py 150 lb kg

# Temperature
python3 scripts/unit-convert.py 32 F C
python3 scripts/unit-convert.py 100 C F

# Area (room size)
python3 scripts/unit-convert.py 100 m2 ft2
python3 scripts/unit-convert.py 1000 ft2 m2

Cooking & Recipes

# Volume conversions
python3 scripts/unit-convert.py 1 cup ml
python3 scripts/unit-convert.py 250 ml cup
python3 scripts/unit-convert.py 1 gal l

# Weight conversions
python3 scripts/unit-convert.py 500 g lb
python3 scripts/unit-convert.py 1 lb g

Travel & Distance

# Distance
python3 scripts/unit-convert.py 100 km mi
python3 scripts/unit-convert.py 50 mi km

# Speed limits
python3 scripts/unit-convert.py 60 mph km/h
python3 scripts/unit-convert.py 100 km/h mph

Digital Storage

# File sizes
python3 scripts/unit-convert.py 1 GB MB
python3 scripts/unit-convert.py 1024 KB MB
python3 scripts/unit-convert.py 1 TB GB

Science & Engineering

# Precise measurements
python3 scripts/unit-convert.py 25.4 mm in
python3 scripts/unit-convert.py 1000 mg g

# Time calculations
python3 scripts/unit-convert.py 365 day h
python3 scripts/unit-convert.py 86400 s day

Tips

  • Use the list command to see all available units for a category
  • Temperature units are case-sensitive (C, F, K)
  • For compound units like m/s, use the slash notation
  • The converter handles both short and long unit names
  • Results are formatted for readability

Troubleshooting

"Cannot convert" error:

  • Check unit spelling
  • Ensure units are from the same category (e.g., don't convert length to weight)
  • Use list command to see available units

Unexpected results:

  • Temperature conversions use standard formulas
  • Data conversions use 1024-based (binary) units
  • Double-check unit case sensitivity

Notes

  • Temperature conversions use standard formulas
  • Data conversions use binary (1024-based) units
  • All other conversions use decimal (1000-based) units
  • Results are automatically formatted for readability

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.93%
按下载量换算5,032

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills