تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

unit-convert

بواسطة ouyangabel

Git & GitHub
290التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

User asks: how many miles is 100 kilometers?

الوكيل
  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

الإخراج

100 km = 62.14 mi

التثبيت

clawhub install ouyangabel/unit-convert

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط