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
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/weather-fetcher/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/weather-fetcher/
1Skills CLI (Vercel)
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a codex2Manually: put the files in place
.agents/skills/weather-fetcher/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a cursor2Manually: put the files in place
.cursor/skills/weather-fetcher/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install shanraisshan/claude-code-best-practice .claude/skills/weather-fetcher2Manually: put the files in place
.github/skills/weather-fetcher/SKILL.md1Skills CLI (Vercel)
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a gemini-cli2Platform CLI
gemini skills install https://github.com/shanraisshan/claude-code-best-practice --path .claude/skills/weather-fetcherManually: put the files in place
.devin/skills/weather-fetcher/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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¤t=temperature_2m&temperature_unit=celsius` For **Fahrenheit**: - URL: `https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708¤t=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