---
name: Weather Fetcher
slug: weather-fetcher
category: Automation
description: Weather Fetcher retrieves current weather temperature data for Dubai, UAE from the Open-Meteo API. Use it when an agent needs the current temperature in Celsius or Fahrenheit.
github: "https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/weather-fetcher"
language: HTML
stars: 64413
forks: 6396
install: "npx degit https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/weather-fetcher ~/.claude/skills/weather-fetcher"
installs_to: ~/.claude/skills/weather-fetcher
source_path: .claude/skills/weather-fetcher/SKILL.md
collection_size: 10
category_size: 1523
collection_url: "https://dirskills.com/collections/shanraisshan/claude-code-best-practice"
added: 2026-08-13T07:36:42.406Z
last_synced: 2026-08-13T07:36:42.406Z
canonical_url: "https://dirskills.com/skills/weather-fetcher"
---

# Weather Fetcher

Weather Fetcher retrieves current weather temperature data for Dubai, UAE from the Open-Meteo API. Use it when an agent needs the current temperature in Celsius or Fahrenheit.

**Install:**

```bash
npx degit https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/weather-fetcher ~/.claude/skills/weather-fetcher
```

## README

# Weather Fetcher Skill

This skill provides instructions for fetching current weather data.

## Task

Fetch the current temperature for Dubai, UAE in the requested unit (Celsius or Fahrenheit).

## Instructions

1. **Fetch Weather Data**: Use the WebFetch tool to get current weather data for Dubai from the Open-Meteo API.

   For **Celsius**:
   - URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=celsius`

   For **Fahrenheit**:
   - URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=fahrenheit`

2. **Extract Temperature**: From the JSON response, extract the current temperature:
   - Field: `current.temperature_2m`
   - Unit label is in: `current_units.temperature_2m`

3. **Return Result**: Return the temperature value and unit clearly.

## Expected Output

After completing this skill's instructions:
```
Current Dubai Temperature: [X]°[C/F]
Unit: [Celsius/Fahrenheit]
```

## Notes

- Only fetch the temperature, do not perform any transformations or write any files
- Open-Meteo is free, requires no API key, and uses coordinate-based lookups for reliability
- Dubai coordinates: latitude 25.2048, longitude 55.2708
- Return the numeric temperature value and unit clearly
- Support both Celsius and Fahrenheit based on the caller's request
