Skip to content
Back to skills

Openweather

ASecurity

Get current weather, hourly forecasts, and 8-day daily forecasts for any location worldwide using OpenWeather One Call API 3.0. Use when the user asks about weather, temperature, rain, snow, forecast, or conditions for any city or location.

  • 21 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 7, 2026
toolspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openweather --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openweather?

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

Security grade badge for Openweather
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openweather/badge)](https://www.skillsdirectory.com/skills/modbender-openweather)

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: openweather
description: Get current weather, hourly forecasts, and 8-day daily forecasts for any location worldwide using OpenWeather One Call API 3.0. Use when the user asks about weather, temperature, rain, snow, forecast, or conditions for any city or location.
version: 1.0.2
metadata:
  openclaw:
    emoji: "🌤️"
    primaryEnv: OPENWEATHER_API_KEY
    requires:
      bins:
        - python3
      env:
        - OPENWEATHER_API_KEY
    config:
      env:
        OPENWEATHER_API_KEY:
          description: "Your OpenWeather API key (must have One Call 3.0 enabled)."
          required: true
        OPENWEATHER_UNITS:
          description: "Units: imperial (°F), metric (°C), or standard (K)."
          default: "imperial"
          required: false
        OPENWEATHER_DEFAULT_LOCATION:
          description: "Optional default location used when no city is provided (example: Johnstown, PA, US)."
          required: false
---

# OpenWeather Skill

OpenWeather One Call API 3.0 via a small Python CLI (stdlib only).

## Commands

City is optional if `OPENWEATHER_DEFAULT_LOCATION` is set.

python3 {skillDir}/scripts/weather.py current [city]
python3 {skillDir}/scripts/weather.py forecast [city] --days 5
python3 {skillDir}/scripts/weather.py hourly [city] --hours 12

## Rules

- If no location is mentioned, use `OPENWEATHER_DEFAULT_LOCATION` when configured; otherwise ask the user for a location.
- Do not make more than 2 API calls per request (1 geocode + 1 onecall).
- If the API returns 401, tell the user the key may be invalid or One Call 3.0 may not be enabled for that key.
- Do not claim to use curl; this skill uses Python urllib.

Files in this skill

  • README.md3.3 KB
  • SKILL.md1.7 KB
  • api-reference.md1.7 KB
  • scripts/weather.py7.4 KB

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 tools →

Comments

Loading comments…

Newsletter

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