Skip to content
Back to skills

Weather Reporter

ASecurity

Query current weather and forecast data from OpenWeatherMap API. Use when the user asks about weather, temperature, forecast, humidity, wind, or precipitation for any location.

  • 73 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 30, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

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

Scanned August 30, 2026

npx -y skills add agenthatch/agenthatch --skill weather-reporter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Weather Reporter?

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

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

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-reporter
description: Query current weather and forecast data from OpenWeatherMap API. Use when the user asks about weather, temperature, forecast, humidity, wind, or precipitation for any location.
compatibility: Requires OPENWEATHER_API_KEY environment variable and internet access
metadata:
  author: agenthatch-labs
  version: "1.0.0"
allowed-tools: Bash(curl:*) Bash(jq:*) Read
---

# Weather Reporter

Query weather data from OpenWeatherMap API.

## Quick Start

```bash
curl -s "https://api.openweathermap.org/data/2.5/weather?q=${CITY}&appid=${OPENWEATHER_API_KEY}&units=metric" | jq .
```

## Workflow

1. Extract city name from user query
2. Call the API with `scripts/query_weather.sh <city>`
3. Parse JSON response and format as human-readable text
4. For forecasts, use `scripts/forecast_weather.sh <city> <days>`

## Output Format

```
Weather in {city}, {country}:
  Temperature: {temp}°C (feels like {feels_like}°C)
  Condition: {description}
  Humidity: {humidity}%
  Wind: {wind_speed} m/s
```

## Gotchas

- City names with spaces must be URL-encoded (e.g., "New York" → "New%20York")
- The free API tier limits to 60 calls/min
- Always specify `units=metric` unless user explicitly requests imperial

Files in this skill

  • SKILL.md1.2 KB
  • agenthatch.yaml4.1 KB
  • scripts/query_weather.sh185 B

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 ai-agents →

Comments

Loading comments…

Newsletter

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