weather-fetcher

GitHub

用于获取阿联酋迪拜当前天气温度的技能,支持通过Open-Meteo API查询摄氏或华氏温度。

.claude/skills/weather-fetcher/SKILL.md shanraisshan/claude-code-best-practice

触发场景

用户询问迪拜当前气温 需要获取特定地点的天气数据

安装

npx skills add shanraisshan/claude-code-best-practice --skill weather-fetcher -g -y
更多选项

非标准路径

npx skills add https://github.com/shanraisshan/claude-code-best-practice/tree/main/.claude/skills/weather-fetcher -g -y

不安装直接使用

npx skills use shanraisshan/claude-code-best-practice@weather-fetcher

指定 Agent (Claude Code)

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

安装 repo 全部 skill

npx skills add shanraisshan/claude-code-best-practice --all -g -y

预览 repo 内 skill

npx skills add shanraisshan/claude-code-best-practice --list

SKILL.md

Frontmatter
{
    "name": "weather-fetcher",
    "description": "Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API",
    "allowed-tools": [
        "WebFetch(*)"
    ],
    "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

版本历史

  • 8335ca8 当前 2026-07-25 04:18

同 Skill 集合

.claude/skills/agent-browser/SKILL.md
.claude/skills/presentation/presentation-structure/SKILL.md
.claude/skills/presentation/presentation-styling/SKILL.md
.claude/skills/presentation/vibe-to-agentic-framework/SKILL.md
.claude/skills/time-skill/SKILL.md
.claude/skills/weather-svg-creator/SKILL.md
agent-teams/.claude/skills/time-fetcher/SKILL.md
agent-teams/.claude/skills/time-svg-creator/SKILL.md

元信息

文件数
0
版本
7b03320
Hash
4350c64f
收录时间
2026-07-25 04:18

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 05:47
浙ICP备14020137号-1 $访客地图$