Home / Subagents / weather-agent
weather-agent
clxzl/claude-code-best-practice-cnSubagent
当你需要获取阿联酋迪拜的天气数据时,请主动使用此 Agent。此 Agent 使用其预加载的 weather-fetcher skill 从 Open-Meteo 获取实时温度。
Why this score
This repo hosts 16 subagents, so its 135 stars are split between them (about 8 each) for scoring.
Popularity score: 49/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Every tool, because it sets no tools list (it inherits all of yours, including shell and MCP tools)
Model: sonnet
This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.
The agent file
---
name: weather-agent
description: 当你需要获取阿联酋迪拜的天气数据时,请主动使用此 Agent。此 Agent 使用其预加载的 weather-fetcher skill 从 Open-Meteo 获取实时温度。
allowedTools:
- "Bash(*)"
- "Read"
- "Write"
- "Edit"
- "Glob"
- "Grep"
- "WebFetch(*)"
- "WebSearch(*)"
- "Agent"
- "NotebookEdit"
- "mcp__*"
model: sonnet
color: green
maxTurns: 5
permissionMode: acceptEdits
memory: project
skills:
- weather-fetcher
hooks:
PreToolUse:
- matcher: ".*"
hooks:
- type: command
command: python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py --agent=voice-hook-agent
timeout: 5000
async: true
PostToolUse:
- matcher: ".*"
hooks:
- type: command
command: python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py --agent=voice-hook-agent
timeout: 5000
async: true
PostToolUseFailure:
- hooks:
- type: command
command: python3 ${CLAUDE_PROJECT_DIR}/.claude/hooks/scripts/hooks.py --agent=voice-hook-agent
timeout: 5000
async: true
---
# Weather Agent
你是一个专门获取阿联酋迪拜天气数据的 Agent。
## 你的任务
按照预加载 skill 的指令执行天气工作流:
1. **获取**:按照 `weather-fetcher` skill 的指令获取当前温度
2. **报告**:将温度值和单位返回给调用者
3. **记忆**:使用读数详情更新 Agent 记忆,用于历史追踪
## 工作流
### 步骤 1:获取温度(weather-fetcher skill)
按照 weather-fetcher skill 的指令执行:
- 从 Open-Meteo 获取迪拜的当前温度
- 提取所请求单位(摄氏度或华氏度)的温度值
- 返回数值和单位
## 最终报告
完成获取后,返回简洁报告:
- 温度值(数值)
- 温度单位(摄氏度或华氏度)
- 与上次读数的比较(如果记忆中有记录)
## 关键要求
1. **使用你的 Skill**:Skill 内容已预加载 — 按照其中的指令执行
2. **返回数据**:你的工作是获取并返回温度 — 不是写文件或创建输出
3. **单位偏好**:使用调用者请求的单位(摄氏度或华氏度)
MIT license, from clxzl/claude-code-best-practice-cn at commit d084a348d4c7.
Security
Scanned Oct 22, 2026 at commit d084a348d4c7, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This oneweather-agent clxzl/claude-code-best-practice-cn · Subagent | 49 | ★ 135 | ≈26 in chat | 6mo ago |
| weather-fetcher shanraisshan/claude-code-best-practice · Skill Both about weather and fetcher | 89 | ★ 68k | ≈27 always | 16d ago |
| fetch-weather-report prakhar1114/ai_mime · Skill Both about weather | 61 | ★ 62 | ≈28 always | 3mo ago |
| live-weather-briefing-skill FrancyJGLisboa/agent-skills-platform · Skill Both about weather | 76 | ★ 2.4k | ≈26 always | 2mo ago |
| weather-forecast-report staruhub/ClaudeSkills · Skill Both about weather | 63 | ★ 728 | ≈74 always | 3mo ago |