← 返回
开发者工具

Mock Weather

模拟天气查询,为任意城市生成仿真天气数据(当前天气 + 多日预报)。Use when: (1) 用户查询某城市天气,(2) 用户询问天气预报,(3) 需要演示天气功能但无真实API时。支持中英文城市名,支持1-7天预报。注意:数据为模拟生成,非真实气象数据。
模拟天气查询,为任意城市生成仿真天气数据(当前天气 + 多日预报)。Use when: (1) 用户查询某城市天气,(2) 用户询问天气预报,(3) 需要演示天气功能但无真实API时。支持中英文城市名,支持1-7天预报。注意:数据为模拟生成,非真实气象数据。
krisliu16
开发者工具 clawhub v1.0.0 1 版本 99793 Key: 无需
★ 0
Stars
📥 482
下载
💾 12
安装
1
版本
#latest

概述

Mock Weather Skill

Generate simulated weather data for any city. Useful for demos, testing, or when no real weather API is available.

Usage

Run the script directly:

# Current weather (today)
python3 scripts/mock_weather.py <city>

# Multi-day forecast (1-7 days)
python3 scripts/mock_weather.py <city> --forecast <days>

Examples:

python3 scripts/mock_weather.py 北京
python3 scripts/mock_weather.py Shanghai --forecast 5
python3 scripts/mock_weather.py 深圳 --forecast 7

Output Fields

FieldDescription
--------------------
天气Weather condition (晴/多云/雨/雪 etc.)
气温Low ~ High temperature (°C)
湿度Humidity (%)
风力Wind direction + level

Notes

  • Data is deterministically generated from city name + current date (same city = consistent results within a day)
  • Supports any city name (Chinese or English)
  • Always clarify to users that this is simulated data, not real weather

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:35 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,188
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,172
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,801