Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

unit-convert

bởi ouyangabel

Git & GitHub
290Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Comprehensive unit converter for length, weight, temperature, area, volume, speed, time, and data.

Mô tả

Kỹ năng này làm gì

A command-line unit converter covering length, weight, temperature, area, volume, speed, time, and digital storage. Accepts common unit aliases and supports both metric and imperial systems. Data conversions use binary (1024-based) units.

Covers eight unit categories in a single script without needing an internet connection or opening a browser.

Khi nào nên dùng

  • Converting a recipe from cups to milliliters
  • Checking a file size in gigabytes vs megabytes
  • Converting a foreign height measurement from cm to feet
  • Comparing speed limits between km/h and mph while traveling
  • Calculating how many hours are in a week for a time estimate

Quy trình ví dụ

ĐẦU VÀO

User asks: how many miles is 100 kilometers?

AGENT
  1. 1

    Run python3 scripts/unit-convert.py 100 km mi

  2. 2

    Parse the output for the converted value

  3. 3

    Return the result to the user

ĐẦU RA

100 km = 62.14 mi

Cài đặt

clawhub install ouyangabel/unit-convert

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết