Skip to main content

weather-fetcher

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

跳到安装

来源信息

仓库
Zidong-LLC/BIBLIOTECA
最近来源活动
2026年3月11日 13:02
检测到的 SKILL.md 语言
英语
星标
36
分支
22

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
weather-fetcher
description
Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API
user-invocable
false
# 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
在 GitHub 查看