All skills
shanraisshan avatar

/weather-fetcher

@eabba86

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

Use this Skill: https://skilld.dev/gh/shanraisshan/claude-code-best-practice/weather-fetcher

This session only. Nothing lands on disk.

SKILL.md

≈28 tokens always: the name and description. ≈349 when used: this file.

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

Source: SKILL.md on GitHub

No alerts17d5 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    The weather-fetcher skill is a safe and straightforward utility for retrieving current weather data for Dubai, UAE from a well-known public API. It does not perform any sensitive operations or request high privileges.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    1 file scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at eabba86. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 8 hours ago.

Activeupdated 5 months ago
What it can do
Network
user-invocable
false
All 1 allowed tools
WebFetch(*)

README badge

README badge for shanraisshan/claude-code-best-practice/weather-fetcher