AI Agent Hub
Back to skills
Keyless Weather Lookup icon

Keyless Weather Lookup

Life Service Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_564a460a/chelen001.

About this skill

Problem to solve

When an engineer needs weather in a script, agent, or tooling chain, they usually do not want to register an API key, manage quotas, or add complex config for a one-off lookup. This skill targets a narrow job: get weather from public services while keeping a programmatic JSON path available.

How it works

The core path has two layers:
- Primary wttr.in: good for human-readable terminal output and quick checks; supports ?0 for current, ?1 for today, ?m for metric, ?u for USCS, plus location forms such as New+York or JFK, and can export PNG.
- Fallback Open-Meteo: good for scripts; resolve city coordinates first, then request JSON with fields such as temperature, wind speed, and weathercode.
This mix lets the skill print readable weather now and still support threshold checks, logging, or automation later.

Boundaries

It depends on external service availability, and data accuracy depends on coordinates and provider quality; do not rely on it alone for real-time decisions, professional meteorology, or high-availability SLAs. Encode spaces in city names, and fail clearly when coordinate lookup fails instead of silently continuing.

Use Cases

  • Check a city's current weather in a terminal with a one-line `wttr.in/Berlin?0?m` request.
  • Build a pre-deploy script that queries `Open-Meteo` for temperature and wind-speed JSON for a data-center location.
  • Generate a weather screenshot for an ops dashboard by downloading `wttr.in/Berlin.png` with `curl`.
  • Debug a remote device issue by reviewing a day's forecast via `wttr.in/JFK?1?m` to assess rain risk.

Best For

  • Engineers writing terminal scripts who want keyless city weather and parseable JSON.
  • Ops automators who need temperature and wind-speed checks before deployment.
  • Dashboard developers who want to embed `wttr.in` weather images.
  • Remote-service debuggers who check same-day forecasts by airport code.