← 返回 Skills 市场
paudyyin

天气查询

作者 paudyyin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
55
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install weather-cn-zh
功能描述
Get current weather and forecasts via 墨迹天气 or MSN Weather. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical...
使用说明 (SKILL.md)

Weather Skill — 本地覆盖版

⚠️ 本技能覆盖内置 weather 技能,强制使用国内数据源。

⛔ 禁止

  • 禁止使用 wttr.inOpen-Meteo 或任何国外天气 API
  • 禁止用 curl 直接获取天气数据
  • 禁止凭记忆或猜测生成天气数据

✅ 唯一允许的数据源

1. 墨迹天气(首选)

  • 首页:https://tianqi.moji.com/
  • 城市天气页:https://tianqi.moji.com/weather/省份/城市/区县
  • 示例:
    • 佛山顺德:https://tianqi.moji.com/weather/guangdong/foshan/shunde
    • 上海闵行:https://tianqi.moji.com/weather/shanghai/shanghai/minhang
    • 山东日照:https://tianqi.moji.com/weather/shandong/rizhao/donggang
  • 必须通过 browser 工具打开网页,截图或提取数据

2. MSN 天气(备选/交叉验证)

  • https://www.msn.cn/zh-cn/weather/
  • 需要浏览器渲染获取动态内容
  • 与墨迹天气交叉验证,差异大时说明

操作流程

  1. 根据用户提到的城市,构造墨迹天气 URL
  2. browser 工具打开该 URL
  3. browser snapshotscreenshot 获取天气数据
  4. 整理后回复用户
  5. 如需验证,再用 MSN 天气交叉检查

注意事项

  • 墨迹天气 URL 中的省份和城市名称使用拼音小写
  • 区县名称也要用拼音
  • 如果某个城市查不到,尝试只到城市级别
  • 回复时注明数据来源
安全使用建议
Before installing, note that weather lookups will be routed through Moji Weather or MSN Weather in the browser, and the queried location may be visible to those sites as part of normal weather lookup.
功能分析
Type: OpenClaw Skill Name: weather-cn-zh Version: 1.0.0 The skill bundle is a localized weather tool for China that instructs the agent to fetch data from legitimate sources (tianqi.moji.com and msn.cn) using the browser tool. It contains no evidence of malicious execution, data exfiltration, or harmful prompt injection, and its instructions are strictly aligned with its stated purpose in SKILL.md.
能力评估
Purpose & Capability
The stated purpose is weather lookup and forecasts, and the SKILL.md instructions are limited to retrieving current weather/forecast data from weather websites.
Instruction Scope
The skill explicitly overrides the built-in weather behavior and restricts the agent to specific data sources; this is disclosed and purpose-aligned, but users should know it may ignore other weather providers.
Install Mechanism
There is no install spec, no code files, no required binaries, and no required environment variables.
Credentials
The only environment interaction shown is using a browser to visit Moji Weather or MSN Weather pages, which is proportionate for weather lookup.
Persistence & Privilege
The artifacts show no persistence, credentials, account access, background tasks, or privileged local access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install weather-cn-zh
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /weather-cn-zh 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
墨迹天气/MSN天气实时查询,中国城市覆盖
元数据
Slug weather-cn-zh
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

天气查询 是什么?

Get current weather and forecasts via 墨迹天气 or MSN Weather. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 55 次。

如何安装 天气查询?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install weather-cn-zh」即可一键安装,无需额外配置。

天气查询 是免费的吗?

是的,天气查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

天气查询 支持哪些平台?

天气查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 天气查询?

由 paudyyin(@paudyyin)开发并维护,当前版本 v1.0.0。

💬 留言讨论