Unit Converter Skill
Purpose
Use this skill when users ask about unit conversions for temperature, distance, or weight.
Available Operations
Temperature
convert_temperature(value, from, to) - Convert between Celsius, Fahrenheit, and Kelvin
- Common conversions: C↔F, C↔K, F↔K
Distance
convert_distance(value, from, to) - Convert between metric and imperial
- Supports: meters, kilometers, miles, feet, inches, yards
Weight
convert_weight(value, from, to) - Convert between weight units
- Supports: kilograms, pounds, ounces, grams, stones
Workflow
- Identify the conversion type (temperature, distance, or weight)
- Extract the value and units from the user's request
- Call the appropriate conversion tool with correct parameters
- Present the result with both original and converted values
Examples
User: "What is 100°F in Celsius?"
→ convert_temperature(100, "fahrenheit", "celsius")
→ "100°F = 37.78°C"
User: "How many kilometers is a marathon?"
→ convert_distance(26.2, "miles", "kilometers")
→ "A marathon (26.2 miles) = 42.16 km"
User: "Convert 150 pounds to kilograms"
→ convert_weight(150, "pounds", "kilograms")
→ "150 lbs = 68.04 kg"
Best Practices
- Always show both the original and converted values
- Round to 2 decimal places for readability
- Include the unit abbreviations for clarity
1---2name: unit-converter3description: Converts between common units of measurement including temperature, distance, and weight.4license: Apache-2.05allowed-tools: convert_temperature convert_distance convert_weight6metadata:7 source: https://skillmd.com/skills/agentjido/unit-converter8 author: jido-examples9 jido_ai.version: "1.0"10 jido_ai.tags: "conversion units utility"11---1213# Unit Converter Skill1415## Purpose16Use this skill when users ask about unit conversions for temperature, distance, or weight.1718## Available Operations1920### Temperature21- `convert_temperature(value, from, to)` - Convert between Celsius, Fahrenheit, and Kelvin22- Common conversions: C↔F, C↔K, F↔K2324### Distance 25- `convert_distance(value, from, to)` - Convert between metric and imperial26- Supports: meters, kilometers, miles, feet, inches, yards2728### Weight29- `convert_weight(value, from, to)` - Convert between weight units30- Supports: kilograms, pounds, ounces, grams, stones3132## Workflow33341. **Identify the conversion type** (temperature, distance, or weight)352. **Extract the value and units** from the user's request363. **Call the appropriate conversion tool** with correct parameters374. **Present the result** with both original and converted values3839## Examples4041User: "What is 100°F in Celsius?"42→ convert_temperature(100, "fahrenheit", "celsius")43→ "100°F = 37.78°C"4445User: "How many kilometers is a marathon?"46→ convert_distance(26.2, "miles", "kilometers") 47→ "A marathon (26.2 miles) = 42.16 km"4849User: "Convert 150 pounds to kilograms"50→ convert_weight(150, "pounds", "kilograms")51→ "150 lbs = 68.04 kg"5253## Best Practices54- Always show both the original and converted values55- Round to 2 decimal places for readability56- Include the unit abbreviations for clarity