Crawler Summary

中国城市天气Weather in China answer-first brief

中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) --- name: 中国城市天气Weather in China slug: weather-zh description: 中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) homepage: https://www.weather.com.cn/ metadata: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["python"], "pip": ["requests"] } } } --- 中文天气查询 (Weather in Chinese) 使用**纯脚本方案**查询中国天气网,**完全不依赖大模型**,稳定可靠。 🎯 核心方案:weather-cn.py 脚本 使用方法 示例 输出格式 --- 📁 文件说明 1. weather-cn.py 主脚本文件,负责: - 查找城市代码 - 获取天气数据 - 解析HTML内容 Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.

Freshness

Last checked 3/1/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

中国城市天气Weather in China is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 89/100

中国城市天气Weather in China

中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) --- name: 中国城市天气Weather in China slug: weather-zh description: 中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) homepage: https://www.weather.com.cn/ metadata: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["python"], "pip": ["requests"] } } } --- 中文天气查询 (Weather in Chinese) 使用**纯脚本方案**查询中国天气网,**完全不依赖大模型**,稳定可靠。 🎯 核心方案:weather-cn.py 脚本 使用方法 示例 输出格式 --- 📁 文件说明 1. weather-cn.py 主脚本文件,负责: - 查找城市代码 - 获取天气数据 - 解析HTML内容

OpenClawself-declared

Public facts

5

Change events

0

Artifacts

0

Freshness

Mar 1, 2026

Verifiededitorial-contentNo verified compatibility signals

Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.

Schema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Mar 1, 2026

Vendor

Com

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. Last updated 3/1/2026.

Setup snapshot

git clone https://github.com/kenera/weather-zh.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Com

profilemedium
Observed Mar 1, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

OpenClaw

contractmedium
Observed Feb 24, 2026Source linkProvenance

Auth modes

api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

python weather-cn.py 城市名

bash

# 查询成都天气
python weather-cn.py 成都

# 查询北京天气
python weather-cn.py 北京

# 查询上海天气
python weather-cn.py 上海

text

═════════════════════════════════════════════════
  成都天气
═════════════════════════════════════════════════

📍 今日天气(2026-02-25)
  ☀️ 晴  |  温度:15/3℃

📊 生活指数
  🤧 感冒:较适宜
  🏃 运动:较适宜
  👔 穿衣:较冷
  🚗 洗车:适宜
  ☀️ 紫外线:强

═════════════════════════════════════════════════

text

城市名,代码
成都,101270101
北京,101010100
...

text

城市名,101xxxxxx

text

用户输入 "成都"
     ↓
查找城市代码 101270101
     ↓
requests 获取HTML
     ↓
正则表达式解析
     ↓
格式化输出

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) --- name: 中国城市天气Weather in China slug: weather-zh description: 中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) homepage: https://www.weather.com.cn/ metadata: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["python"], "pip": ["requests"] } } } --- 中文天气查询 (Weather in Chinese) 使用**纯脚本方案**查询中国天气网,**完全不依赖大模型**,稳定可靠。 🎯 核心方案:weather-cn.py 脚本 使用方法 示例 输出格式 --- 📁 文件说明 1. weather-cn.py 主脚本文件,负责: - 查找城市代码 - 获取天气数据 - 解析HTML内容

Full README

name: 中国城市天气Weather in China slug: weather-zh description: 中文天气查询工具 - 使用中国天气网获取实时天气(无需API密钥,不依赖大模型) homepage: https://www.weather.com.cn/ metadata: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["python"], "pip": ["requests"] } } }

中文天气查询 (Weather in Chinese)

使用纯脚本方案查询中国天气网,完全不依赖大模型,稳定可靠。

🎯 核心方案:weather-cn.py 脚本

使用方法

python weather-cn.py 城市名

示例

# 查询成都天气
python weather-cn.py 成都

# 查询北京天气
python weather-cn.py 北京

# 查询上海天气
python weather-cn.py 上海

输出格式

═════════════════════════════════════════════════
  成都天气
═════════════════════════════════════════════════

📍 今日天气(2026-02-25)
  ☀️ 晴  |  温度:15/3℃

📊 生活指数
  🤧 感冒:较适宜
  🏃 运动:较适宜
  👔 穿衣:较冷
  🚗 洗车:适宜
  ☀️ 紫外线:强

═════════════════════════════════════════════════

📁 文件说明

1. weather-cn.py

主脚本文件,负责:

  • 查找城市代码
  • 获取天气数据
  • 解析HTML内容
  • 格式化输出

2. weather_codes.txt

城市代码映射表,格式:

城市名,代码
成都,101270101
北京,101010100
...

🏙️ 支持的城市

预置城市(50+)

| 地区 | 城市 | |------|------| | 直辖市 | 北京、上海、天津、重庆 | | 华东 | 杭州、南京、苏州、宁波、温州、厦门、福州、济南、青岛 | | 华南 | 广州、深圳、东莞、佛山、珠海、南宁、海口、三亚 | | 华中 | 武汉、长沙、南昌 | | 西南 | 成都、贵阳、昆明、拉萨 | | 西北 | 西安、兰州、银川、西宁、乌鲁木齐 | | 东北 | 哈尔滨、长春、沈阳、大连 | | 华北 | 太原、呼和浩特、石家庄 |

添加新城市

编辑 weather_codes.txt,添加城市代码:

城市名,101xxxxxx

获取城市代码:访问 https://www.weather.com.cn/ 搜索城市,查看URL中的代码。


🔧 工作原理

流程图

用户输入 "成都"
     ↓
查找城市代码 101270101
     ↓
requests 获取HTML
     ↓
正则表达式解析
     ↓
格式化输出

核心优势

零大模型依赖 - 完全使用Python正则表达式 ✅ 极速响应 - <1秒完成查询 ✅ 稳定可靠 - 不依赖外部API ✅ 原生中文 - 直接解析中国天气网 ✅ Token节省 - 除了初始设置,每次查询零Token消耗 ✅ 准确解析 - 使用精确的HTML结构匹配


📊 Token消耗对比

| 方案 | 每次查询Token | 稳定性 | 准确性 | |------|-------------|--------|--------| | weather-cn.py | 0 🎉 | 100% ✅ | 100% ✅ | | web_fetch + 大模型 | ~4000 | 100% | ~80% | | wttr.in + 大模型 | ~4500 | ~50% | ~60% |


🚀 快速开始

1. 使用脚本(推荐)

# 查询天气
~/.openclaw/workspace/skills/weather-zh/weather-cn.py 成都

2. 创建快捷命令(可选)

# 添加到 ~/.zshrc 或 ~/.bash_profile
alias weather='~/.openclaw/workspace/skills/weather-zh/weather-cn.py'

# 使用
weather 成都

🛠️ 备用方案

如果中国天气网不可用,可使用以下备用方案:

方案1:web_fetch(需要大模型解析)

web_fetch "https://www.weather.com.cn/weather/101010100.shtml"

方案2:Open-Meteo API

curl -s "https://api.open-meteo.com/v1/forecast?latitude=39.9042&longitude=116.4074&current_weather=true&daily=temperature_2m_max,temperature_2m_min,weathercode&timezone=Asia%2FShanghai"

方案3:wttr.in

curl -s "wttr.in/Beijing?T"

📝 使用场景

当用户询问以下问题时使用本skill:

  • "今天天气怎么样"
  • "明天天气如何"
  • "[城市名]天气"
  • "会不会下雨"
  • "气温多少"
  • "天气查询"

⚠️ 注意事项

  1. 天气数据延迟:中国天气网数据可能略有延迟
  2. 城市名称:使用标准城市名,如"成都"、"上海"而非"川"
  3. 网络依赖:需要能够访问 www.weather.com.cn
  4. 生活指数:指数为通用建议,仅供参考

🎉 总结

weather-cn.py 是一个轻量、快速、零依赖的天气查询工具:

  • ✅ 完全不依赖大模型
  • ✅ <1秒响应时间
  • ✅ 50+ 预置城市
  • ✅ 彩色格式化输出
  • ✅ Token消耗:0(每次查询)
  • ✅ 准确的HTML结构解析

适合高频调用、自动化任务等场景。

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

api_key

Streaming

No

Data region

global

Protocol support

OpenClaw: self-declared

Requires: openclew, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/kenera-weather-zh/snapshot"
curl -s "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract"
curl -s "https://xpersona.co/api/v1/agents/kenera-weather-zh/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITHUB_REPOSactivepieces

Rank

70

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Traction

No public download signal

Freshness

Updated 2d ago

OPENCLAW
GITHUB_REPOScherry-studio

Rank

70

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSAionUi

Rank

70

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

Traction

No public download signal

Freshness

Updated 6d ago

MCPOPENCLAW
GITHUB_REPOSCopilotKit

Rank

70

The Frontend for Agents & Generative UI. React + Angular

Traction

No public download signal

Freshness

Updated 23d ago

OPENCLAW
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "api_key"
  ],
  "requires": [
    "openclew",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/kenera/weather-zh#input",
  "outputSchemaRef": "https://github.com/kenera/weather-zh#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:42:13.141Z",
  "sourceUpdatedAt": "2026-02-24T19:42:13.141Z",
  "freshnessSeconds": 4433976
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/kenera-weather-zh/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/kenera-weather-zh/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/kenera-weather-zh/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T03:21:49.236Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Com",
    "href": "https://www.weather.com.cn/",
    "sourceUrl": "https://www.weather.com.cn/",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-03-01T06:01:38.562Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:42:13.141Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "api_key",
    "href": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:42:13.141Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/kenera/weather-zh#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:42:13.141Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/kenera-weather-zh/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/kenera-weather-zh/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[]

Sponsored

Ads related to 中国城市天气Weather in China and adjacent AI workflows.