# Unit Converter

> Unit Converter

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

---


# Unit Converter

<!--
TODO: Fill in the workflow for the agent. The script is at scripts/convert.py.
See references/how-code-execution-works.md to understand how execute_code works.
See examples.md for invocation examples and supported units.

## Workflow

### Step 1: Load the script (first call, session_id = "")
Call execute_code with script_path, the conversion code, and session_id = "".
Save the returned session_id for reuse.

### Step 2: Write the conversion call
Pass as code: call convert_units(value, from_unit, to_unit) and print Category, Input, Result.

### Step 3: Return output
Return the printed output as-is.

### Step 4: Reuse session
On follow-up conversions skip Step 1 — pass only code + saved session_id.

### Step 5: Error handling
Unknown unit / incompatible categories: report the error and list supported units from examples.md.
Invalid number: ask to clarify. Expired session: silently restart from Step 1.
-->

