unit-converter — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited unit-converter (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Performs a one-shot conversion between two units that belong to the same physical category.
convert_units(value, from_unit, to_unit) → (result: float, category: str)
result is value expressed in to_unit.category is the detected physical category — one of length, weight, temperature, volume, area, speed, time, data, pressure, energy.pounds, lbs, lb, and pound all refer to the same unit; so do kilometers, kilometer, and km; sec is accepted as seconds; and so on. See references/examples.md for the full alias list per category.A fmt(value) helper is also provided for pretty-printing numeric results (scientific notation for very large or very small values, comma grouping for thousands).
convert_units raises ValueError:
Unknown unit: '<unit>' — the unit isn't recognized in any category. Surface the message and ask the user to clarify.Cannot convert between '<a>' (<cat_a>) and '<b>' (<cat_b>) — the two units belong to different categories. Surface the message; do not attempt to bridge categories.execute_code the same file is available at /skills/unit-converter/scripts/convert.py.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.