Skip to content
Back to skills

Weather

ASecurity

Get current weather or a short forecast for a specified location using curl and wttr.in. Use for weather questions; not place/business search, historical climate research, severe-weather alerts, or safety-critical forecasts.

  • 64 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 9, 2026
researchrustshellgit

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add bdsqqq/dots --skill weather --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Weather?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Weather
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bdsqqq-weather/badge)](https://www.skillsdirectory.com/skills/bdsqqq-weather)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: weather
description: "Get current weather or a short forecast for a specified location using curl and wttr.in. Use for weather questions; not place/business search, historical climate research, severe-weather alerts, or safety-critical forecasts."
---

# weather

use existing curl/jq; no additional CLI, account, key, or native settings file.
resolve the location and requested units/date first. send only the location needed
for the query, not a street address or unrelated personal data. use HTTPS, bounded
timeouts, and explicit location rather than automatic IP geolocation.

```sh
location='Sao+Paulo' # already URL-encoded location path
curl --fail --silent --show-error --max-time 20 --get \
  --data-urlencode 'format=j1' "https://wttr.in/$location" |
  jq -e 'if (.current_condition | type) == "array" and
    (.current_condition | length) > 0 and (.weather | type) == "array"
    then {location: .nearest_area, current: .current_condition, forecast: .weather}
    else error("invalid weather response") end'
```

for unusual characters, URL-encode the location path before fetching; do not
interpolate untrusted shell syntax. inspect the JSON shape before interpreting it:
`current_condition` must be a nonempty array and `weather` an array. an HTTP success
or nonempty HTML response is not weather evidence. stop on service errors or
malformed data; do not invent a forecast. choose the requested day from returned
forecast dates; wttr.in provides a short forecast, not arbitrary future dates.

report resolved location, observation/forecast date, units, and provider. distinguish
current observations from daily/hourly predictions. surface stale timestamps and
missing fields. for storm alerts, emergency decisions, or historical data use an
appropriate official meteorological source instead of this convenience service.

source: [wttr.in location, format, and JSON usage](https://github.com/chubin/wttr.in).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in research →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.