Overview
- Skill Key
- chenchaoqun/weather-plus-cn
- Author
- chenchaoqun
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/chenchaoqun/weather-plus-cn
- Latest Commit SHA
- ddea8ec998539fc2d0fc5bc1b5f8875cffc4df0b
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Weather Plus Cn 技能。 若已安装,则直接安装 Weather Plus Cn 技能。
# 天气查询技能(增强版) 从中国天气网获取权威天气数据,提供穿衣建议和生活指数参考。 ## 何时使用 ✅ **使用此技能:** - "今天北京天气如何?" - "查询上海天气并给出穿衣建议" - "这周末广州会下雨吗?" - "明天需要带伞吗?" - 出行前的天气准备查询 ❌ **不使用此技能:** - 历史天气数据查询 - 气候趋势分析 - 专业气象数据(航空、海洋等) - 海外城市天气(使用 wttr.in) ## 快速开始 ### 方式一:使用 web_fetch 获取天气数据(推荐) ```bash # 获取北京天气 web_fetch --url "http://www.weather.com.cn/weather/101010100.shtml" --maxChars 8000 # 获取黄冈天气 web_fetch --url "http://www.weather.com.cn/weather/101200401.shtml" --maxChars 8000 ``` ### 方式二:使用 Python 脚本 ```bash # 基本用法 python scripts/weather_query.py <city_code> # 示例 python scripts/weather_query.py 101010100 # 北京 python scripts/weather_query.py 101280101 # 广州 ``` ### 方式三:直接访问 wttr.in(快速查询) ```bash # 一行式天气 curl -s "wttr.in/Beijing?format=3" # 详细信息 curl -s "wttr.in/Beijing?0" ``` ## 城市代码 常见城市代码见 `references/city_codes.md`。 ### 主要城市速查 | 城市 | 代码 | 城市 | 代码 | |------|------|------|------| | 北京 | 101010100 | 上海 | 101020100 | | 广州 | 101280101 | 深圳 | 101280601 | | 武汉 | 101200101 | 杭州 | 101210101 | | 成都 | 101270101 | 西安 | 101110101 | | 黄冈 | 101200401 | | | ## 穿衣建议规则 根据平均温度自动生成建议: | 平均温度 | 建议 | |---------|------| | ≥28℃ | 短袖、短裤、裙子等夏季服装 | | 22-28℃ | 薄衬衫、T 恤、薄外套等春秋服装 | | 15-22℃ | 外套、毛衣、薄夹克等 | | 8-15℃ | 厚外套、毛衣、风衣等保暖服装 | | 0-8℃ | 厚羽绒服、棉衣、保暖内衣等冬季服装 | | <0℃ | 厚羽绒服、棉衣、帽子围巾手套等隆冬装备 | ### 特殊天气补充 - **雨天/雪天**:携带雨具,穿防滑防水鞋子 - **雪天 + 低温**:路面可能结冰,注意防滑 - **雾天/霾天**:注意交通安全,敏感人群佩戴口罩 ## 完整工作流程 ### 步骤 1:确定城市代码 - 已知代码 → 直接使用 - 未知代码 → 查阅 `references/city_codes.md` - 特殊城市 → 访问 weather.com.cn 查询 ### 步骤 2:获取天气数据 使用 web_fetch 获取天气网页...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.