← Back to Skills Marketplace
paudyyin

天气查询

by paudyyin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
55
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install weather-cn-zh
Description
Get current weather and forecasts via 墨迹天气 or MSN Weather. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical...
README (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 中的省份和城市名称使用拼音小写
  • 区县名称也要用拼音
  • 如果某个城市查不到,尝试只到城市级别
  • 回复时注明数据来源
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install weather-cn-zh
  3. After installation, invoke the skill by name or use /weather-cn-zh
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
墨迹天气/MSN天气实时查询,中国城市覆盖
Metadata
Slug weather-cn-zh
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 天气查询?

Get current weather and forecasts via 墨迹天气 or MSN Weather. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical... It is an AI Agent Skill for Claude Code / OpenClaw, with 55 downloads so far.

How do I install 天气查询?

Run "/install weather-cn-zh" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 天气查询 free?

Yes, 天气查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 天气查询 support?

天气查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 天气查询?

It is built and maintained by paudyyin (@paudyyin); the current version is v1.0.0.

💬 Comments