Agent skill

Weather Fetcher

by clxzl in clxzl/claude-code-best-practice-cn

“从 Open-Meteo API 获取迪拜当前天气温度数据的指令”

— description from SKILL.md by clxzl
MITAuto-check passed

Install Weather Fetcher

skills CLI
$ npx skills add clxzl/claude-code-best-practice-cn --skill weather-fetcher -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install clxzl/claude-code-best-practice-cn weather-fetcher --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/clxzl/claude-code-best-practice-cn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/weather-fetcher .claude/skills/weather-fetcher && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
weather-fetcher
GitHub stars
132
Token cost
~226 tokens
SKILL.md length
42 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 3 steps: 获取天气数据:使用 WebFetch 工具从 Open-Meteo API… → 提取温度:从 JSON 响应中提取当前温度 → 返回结果:清晰地返回温度值和单位。
  • SKILL.md covers 任务, 指令, 预期输出 and 注意事项
  • Reaches api.open-meteo.com

About this skill

Weather Fetcher is a skill in clxzl/claude-code-best-practice-cn (132 stars). Its SKILL.md is about 226 tokens. Licence: MIT.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 获取天气数据:使用 WebFetch 工具从 Open-Meteo API 获取迪拜的当前天气数据。
  2. 提取温度:从 JSON 响应中提取当前温度
  3. 返回结果:清晰地返回温度值和单位。

What it can do on your machine

Read from SKILL.md and the folder at commit d084a34. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.open-meteo.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Weather Fetcher loads about 226 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 42 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~226

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from clxzl/claude-code-best-practice-cn at commit d084a34, republished under its MIT licence (© clxzl). 42 words, ~226 tokens.

Download SKILL.mdSave it as .claude/skills/weather-fetcher/SKILL.md (or your agent's skills folder).
name
weather-fetcher
description
从 Open-Meteo API 获取迪拜当前天气温度数据的指令
user-invocable
false

天气获取 Skill

此 Skill 提供获取当前天气数据的指令。

任务

以请求的单位(摄氏度或华氏度)获取迪拜的当前温度。

指令

  1. 获取天气数据:使用 WebFetch 工具从 Open-Meteo API 获取迪拜的当前天气数据。

    摄氏度:

    • URL:https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=celsius

    华氏度:

    • URL:https://api.open-meteo.com/v1/forecast?latitude=25.2048&longitude=55.2708&current=temperature_2m&temperature_unit=fahrenheit
  2. 提取温度:从 JSON 响应中提取当前温度:

    • 字段:current.temperature_2m
    • 单位标签位于:current_units.temperature_2m
  3. 返回结果:清晰地返回温度值和单位。

预期输出

完成此 Skill 的指令后:

Current Dubai Temperature: [X]°[C/F]
Unit: [Celsius/Fahrenheit]

注意事项

  • 仅获取温度,不进行任何转换或写入任何文件
  • Open-Meteo 免费、无需 API 密钥,使用基于坐标的查询以确保可靠性
  • 迪拜坐标:纬度 25.2048,经度 55.2708
  • 清晰地返回数值温度值和单位
  • 根据调用者的请求支持摄氏度和华氏度

© clxzl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/weather-fetcher of clxzl/claude-code-best-practice-cn.

Open the folder on GitHubat commit d084a34

Compare with similar skills

Weather Fetcher next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Weather Fetcher compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weather Fetcher this skillclxzl/claude-code-best-practice-cn132—~226Automated safety check: PassMIT
Dubai Weather Fetchershanraisshan/claude-code-best-practice67k—~397Automated safety check: PassMIT
Weatheropenclaw/openclaw392k—~726Automated safety check: PassMIT
Weather Lookupsipeed/picoclaw30k—~657Automated safety check: PassMIT
Weatheriflytek/skillhub5.2k—~734Automated safety check: PassMIT
Weatheralsk1992/CloddsBot3k—~567Automated safety check: PassMIT

Similar skills

  • Dubai Weather Fetcher

    shanraisshan/claude-code-best-practice

    Reads the current temperature in Dubai from the Open-Meteo API with a single web fetch and returns it in Celsius or Fahrenheit.

    67k GitHub stars~397 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Weather

    openclaw/openclaw

    Current weather and forecasts with webfetch, falling back to wttr.in curl for locations, rain, temperature, travel planning.

    392k GitHub stars~726 tokensUpdated today
    Auto-check passed
  • Weather Lookup

    sipeed/picoclaw

    Looks up current weather and forecasts with curl and verified location matching, using wttr.in for city names and Open-Meteo for structured data.

    30k GitHub stars~657 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Weather

    iflytek/skillhub

    Retrieve and summarize current weather and forecasts for locations, rain, temperature, and travel planning using an available web tool or wttr.in over HTTPS.

    5.2k GitHub stars~734 tokensUpdated yesterday
    Auto-check passed
  • Weather

    alsk1992/CloddsBot

    Weather betting - NOAA data for Polymarket weather markets. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~567 tokensUpdated 8 days ago
    Business, Finance & HRAuto-check passed
  • Weather

    trpc-group/trpc-agent-go

    Get current weather and forecasts via wttr.in or Open-Meteo.

    1.9k GitHub starsUsed in 8 repos~591 tokens
    Research & ScienceAuto-check passed

More from clxzl/claude-code-best-practice-cn

All 8 skills in this repo
  • Agent Browser

    clxzl/claude-code-best-practice-cn

    AI 代理的浏览器自动化 CLI 工具。当用户需要与网站交互时使用,包括导航页面、填写表单、点击按钮、截取屏幕截图、提取数据、测试 Web 应用或自动化任何浏览器任务。触发条件包括"打开网站"、"填写表单"、"点击按钮"、"截取屏幕截图"、"从页面抓取数据"、"测试此 Web 应用"、"登录网站"、"自动化浏览器操作"或任何需要编程式 Web 交互的任务。

    132 GitHub stars~1.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Vibe To Agentic Framework

    clxzl/claude-code-best-practice-cn

    演示文稿背后的概念框架 —— "从 Vibe Coding 到 Agentic Engineering"的含义、旅程为何如此结构化,以及每张幻灯片如何契合叙事弧线

    132 GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Time Skill

    clxzl/claude-code-best-practice-cn

    显示巴基斯坦标准时间(PKT,UTC+5)的当前时间。当用户询问当前时间、巴基斯坦时间或 PKT 时使用. An agent skill from clxzl/claude-code-best-practice-cn.

    132 GitHub stars~119 tokensUpdated 5 mo ago
    Auto-check passed
  • Presentation Structure

    clxzl/claude-code-best-practice-cn

    关于演示文稿幻灯片格式、权重系统、导航和章节结构的知识

    132 GitHub stars~563 tokensUpdated 5 mo ago
    Auto-check passed
  • Presentation Styling

    clxzl/claude-code-best-practice-cn

    关于演示文稿中 CSS 类、组件模式和语法高亮的知识

    132 GitHub stars~563 tokensUpdated 5 mo ago
    Auto-check passed
  • Time SVG Creator

    clxzl/claude-code-best-practice-cn

    创建一个 SVG 时间卡片,显示迪拜的当前时间。将 SVG 写入 agent-teams/output/dubai-time.svg 并更新 agent-teams/output/output.md。

    132 GitHub stars~186 tokensUpdated 5 mo ago
    Auto-check passed

Questions about Weather Fetcher

How do I install Weather Fetcher in Claude Code?

Run `npx skills add clxzl/claude-code-best-practice-cn --skill weather-fetcher -a claude-code`. Or copy the skill folder (.claude/skills/weather-fetcher in clxzl/claude-code-best-practice-cn) into .claude/skills/weather-fetcher in your project. Claude Code loads it when a task matches its description.

How do I install Weather Fetcher in Codex?

Run `npx skills add clxzl/claude-code-best-practice-cn --skill weather-fetcher -a codex`. Or copy the skill folder (.claude/skills/weather-fetcher in clxzl/claude-code-best-practice-cn) into .agents/skills/weather-fetcher in your project. Codex loads it when a task matches its description.

Can I use Weather Fetcher in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add clxzl/claude-code-best-practice-cn --skill weather-fetcher -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/weather-fetcher, .gemini/skills/weather-fetcher, .github/skills/weather-fetcher and .opencode/skills/weather-fetcher in your project.

What does Weather Fetcher need to run?

SKILL.md names no scripts, command-line tools or credentials: Weather Fetcher is instructions for the agent only.

Does Weather Fetcher access the network?

SKILL.md names 1 domain. In commands or code: api.open-meteo.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Weather Fetcher safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Weather Fetcher use?

Weather Fetcher is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Weather Fetcher use?

About 226 tokens (SKILL.md is roughly 904 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Weather Fetcher?

Skills that share tags, products or a category with Weather Fetcher: Dubai Weather Fetcher (shanraisshan/claude-code-best-practice, 67k stars), Weather (openclaw/openclaw, 392k stars), Weather Lookup (sipeed/picoclaw, 30k stars) and Weather (iflytek/skillhub, 5.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weather Fetcher?

clxzl (a GitHub user) maintains it in clxzl/claude-code-best-practice-cn, which has 132 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on May 11, 2026.

Source: clxzl/claude-code-best-practice-cn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.