mcpbeat

Weather Fetcher

shanraisshan/weather-fetcher

Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API

397 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
63976
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/shanraisshan/claude-code-best-practice --skill weather-fetcher

What it tells the agent to use

found in the instruction text
WebFetch fetches pages from the network

The instruction itself

5 sections, as written by the author

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

  • 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
  • Extract Temperature: From the JSON response, extract the current temperature:
  • Field: current.temperature_2m
  • Unit label is in: current_units.temperature_2m
  • 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

How to use it

Copy the folder

Take shanraisshan/weather-fetcher from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.