Skip to main content
skill CX Codex

weather-fetcher — Claude Code skill: fetch Dubai weather

weather-fetcher — a skill for Claude Code, Codex, Cursor, and other AI coding platforms that retrieves the current temperature in Dubai via Open-Meteo API. The agent calls it when you need degrees without signup or keys.

MIT 1 installs ★ 69,293 updated 2026-10-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a claude-code
Open on GitHub

What weather-fetcher does

Fetches weather data via WebFetch from the free Open-Meteo service using Dubai coordinates (25.2048, 55.2708) and returns temperature in Celsius or Fahrenheit based on the agent's request. No API key required; the skill only extracts the value from JSON without writing files.

Instructions include parsing current.temperature_2m from the response and formatting output. URLs embed geographic coordinates and the temperature unit parameter, so the agent selects the right one when invoking.

What it helps with

  • fetch Dubai's current temperature without an API key
  • insert a weather value into a message or document
  • choose between Celsius and Fahrenheit when calling the API
  • parse a number from a service response in JSON

Example prompts for the agent

  • Show me the current temperature in Dubai in Celsius
  • What's the temperature in Dubai in Fahrenheit right now?
  • Use weather-fetcher to get the current degrees

How to install weather-fetcher

1Skills CLI (Vercel)

npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a claude-code

2Manually: put the files in place

~/.claude/skills/weather-fetcher/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/weather-fetcher/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about weather-fetcher

How do I install weather-fetcher in Claude Code?

Run npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a claude-code, then edit ~/.claude/skills/weather-fetcher/SKILL.md. For other platforms, the command changes: in Cursor use npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a cursor, in GitHub Copilot use gh skill install shanraisshan/claude-code-best-practice weather-fetcher.

What does weather-fetcher do?

It retrieves the current temperature in Dubai from Open-Meteo API via WebFetch and returns the number in your chosen unit (Celsius or Fahrenheit). No registration or keys needed; coordinates are hardcoded.

Do I need an API key?

No. Open-Meteo is free and requires no authentication. The skill calls it over a public URL.

Source text

SKILL.md · MIT
---
name: weather-fetcher
description: Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
user-invocable: false
allowed-tools:
  - "WebFetch(*)"
---

# 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

© shanraisshan · MIT · shanraisshan/claude-code-best-practice

Similar skills

All skills for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open