Unit Converter

Interactive unit converter for temperature, length, weight, volume and speed. Use when the user asks to convert between units, compare metric and imperial, or just wants a quick conversion tool at hand.

jgouviergmail Updated
LIA World — isometric campus, LIA companion, private home and rooms leading to native functions

File contents

Unit Converter

Instructions

This skill renders a self-contained interactive unit converter directly in the chat. The plan is deterministic: a single script call emits an HTML frame with:

  • A category selector (temperature / length / weight / volume / speed).
  • Two unit dropdowns (from / to) populated for the selected category.
  • A numeric input that triggers live conversion on every keystroke.
  • A swap button to invert the source/target units.

No network calls are made; all conversion factors live inside the frame.

Output Contract

Returns text + frame.html:

  • text: short caption announcing the converter is ready.
  • frame.html: the self-contained interactive converter.

Ressources disponibles

  • scripts/render_converter.py — Generates the unit converter HTML frame.

jgouviergmail/LIA-Assistant commit cf4d174add

Frequently asked questions

npx get-skill add jgouviergmail/unit-converter