Templates · Utilities
Convert units on the fly
Convert a measurement between units and say the result in one sentence.
Example template for a hypothetical utility app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.
Tools this skill expects
- Convert Units
SKILL.md
Skills.skillsbundle/Skills/unit-convert/SKILL.md
---
name: unit-convert
description: Convert a measurement between units, for example miles to kilometres or cups to millilitres, and say the result in one short sentence. Use when the user asks how much something is in another unit.
---
# Convert units on the fly
Use the Convert Units tool with the number and units the user gave. Say the result in one short sentence, with the original value first.
If the user did not name a unit, ask which unit they want it in instead of guessing.
If the units cannot convert into each other, say so plainly and suggest the closest workable unit. Or install it into your bundle: npx siriskills add unit-convert --bundle MyApp/Skills.skillsbundle