# Unit Converter

> Convert values between units of length, weight, and temperature (miles/km, lb/kg, F/C). Use for any "convert X to Y" request.

- Skill: `syedahmad0786/unit-converter` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add syedahmad0786/unit-converter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/syedahmad0786/unit-converter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: syedahmad0786 (https://skillmd.com/u/syedahmad0786)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/syedahmad0786/unit-converter

---


# Unit Converter Skill

Always use the bundled script for arithmetic — never compute conversions
yourself (models drift on decimals; the script does not).

## Steps
1. Identify the value, the source unit, and the target unit from the task.
2. Call `convert.py <value> <from_unit> <to_unit>` (units: mi, km, lb, kg, f, c).
3. Present the result in ONE sentence, exactly:
   `<value> <from> = <result> <to>` — round to 2 decimals.

If the units are unsupported, say which units are supported instead of guessing.

