Weather Lookup

Look up the current weather for a city via a public API and print it.

SuperMarioYL Updated

File contents

weather-lookup

A small, honest skill: it fetches weather from a public HTTP endpoint and prints it. Every capability it uses is declared in the frontmatter above:

  • net — it calls https://api.open-meteo.com (declared host).
  • exec — it shells out via curl.
  • env — it reads the optional WEATHER_UNITS variable.

It does not write any files outside its own directory, so fs-write is not declared and the scanner finds none. skillprov verify returns a green PASS.

Usage

WEATHER_UNITS=metric ./scripts/lookup.sh "Berlin"

SuperMarioYL/skillprov/tree/main/testdata/clean-skill commit 56db48919f

Frequently asked questions

npx skillmds@latest add supermarioyl/weather-lookup