shunbao-p/deer-flow-s/weather-skill

Claude Code and agent skill by shunbao-p/deer-flow-s

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

当用户询问天气、天气预报、温度、气候相关问题时立即使用本技能。这包括查询当前天气、天气预报、温度、湿度、风向,以及任何与天气状况相关的问题,无论用户是否明确提到'天气'二字。本技能会自动识别用户提到的城市或地区,使用web_search获取最新的天气信息,提取温度并转换为摄氏度和华氏度,然后以友好的方式呈现给用户。

Install

npx vskill@latest install shunbao-p/deer-flow-s/weather-skill

SKILL.md

Weather Skill

概述

这是一个简单的天气查询技能,当用户询问"天气"或"天气预报"时自动触发。该技能使用web_search工具搜索网络上的天气信息,提取并返回当前温度。

使用场景

当用户提出以下类型的问题时触发此技能:

  • "天气怎么样?"
  • "今天天气如何?"
  • "天气预报"
  • "现在温度多少?"
  • "本地天气"

工作流程

  1. 触发检测:当用户查询中包含"天气"或"天气预报"关键词时触发技能
  2. 位置识别:从用户查询中提取城市/位置信息(如果用户未指定,默认查询本地天气)
  3. 网络搜索:使用web_search工具搜索"[城市名] 当前天气"或"weather in [city]"
  4. 信息提取:从搜索结果中提取当前温度信息
  5. 结果呈现:向用户返回温度信息,包括摄氏度(°C)和华氏度(°F)转换

核心能力

1. 智能触发
  • 关键词匹配:检测"天气"、"天气预报"、"温度"等关键词
  • 中文支持:完全支持中文查询
  • 位置感知:可以识别用户指定的城市或地区
2. 网络搜索策略
  • 搜索查询构建:自动生成优化的天气搜索查询
  • 多源信息:从多个搜索结果中提取最相关的温度数据
  • 实时数据:获取最新的天气信息
3. 温度提取
  • 数据解析:从搜索结果中识别温度数值
  • 格式转换:提供摄氏度和华氏度显示
  • 单位处理:正确处理°C和°F单位

使用方法

当技能被触发时,将自动执行以下操作:

python
# 示例:用户查询"北京天气"
# 1. 检测到"天气"关键词,触发技能
# 2. 提取城市"北京"
# 3. 搜索"北京 当前天气"
# 4. 从搜索结果提取温度
# 5. 返回:"北京当前温度:25°C (77°F)"

配置选项

技能可以通过以下方式进行配置:

温度单位偏好
  • 默认显示摄氏度和华氏度
  • 可根据用户偏好调整
位置处理
  • 自动检测用户提到的城市
  • 支持中文和英文城市名
  • 默认使用"本地"或"当前地点"

示例查询

以下是技能可处理的示例查询:

  1. "今天天气怎么样?"
  2. "北京天气预报"
  3. "温度多少?"
  4. "上海现在天气如何?"
  5. "告诉我本地天气"

限制和注意事项

  1. 数据准确性:依赖网络搜索结果的准确性
  2. 网络依赖:需要互联网连接
  3. 位置精度:可能需要用户明确指定城市以获得准确结果
  4. 语言支持:主要支持中文,也支持英文天气查询

扩展可能性

如果需要更详细的天气信息,技能可以扩展为:

  1. 添加湿度、风向、气压等信息
  2. 支持多日天气预报
  3. 集成特定天气API提供更准确数据
  4. 添加天气图标和视觉展示

资源

scripts/

包含天气数据处理脚本

references/

天气查询最佳实践和参考资料

assets/

天气图标或相关资源文件


技能维护说明:此技能基于web_search工具,依赖于网络搜索结果的可用性和准确性。建议定期测试以确保功能正常。

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
54
Repository forks
2
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shunbao-p/deer-flow-s/weather-skill/badge)](https://verified-skill.com/skills/shunbao-p/deer-flow-s/weather-skill)

Something wrong with this skill or its page? Tell us.