# Weather Tool

> Fetch current weather data for any city using the OpenWeatherMap API.

- Skill: `krahimov/weather-tool` (Agent Skill)
- Install (CLI): `npx skillmds@latest add krahimov/weather-tool`
- Raw SKILL.md: https://api.skillmd.com/api/skills/krahimov/weather-tool/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: krahimov (https://skillmd.com/u/krahimov)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/krahimov/weather-tool

---


# Weather Tool

Fetches current weather for a given city.

## Usage

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

## Notes

- Requires a valid OpenWeatherMap API key set as `OPENWEATHER_API_KEY`.
- Uses `curl` and `jq` which are declared in the requirements.

