Pollen Monitor

v1.0.0

中国天气网花粉浓度监测技能。查询中国大陆城市花粉浓度等级和防护建议。

1· 148·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for noviarick/pollen-monitor.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Pollen Monitor" (noviarick/pollen-monitor) from ClawHub.
Skill page: https://clawhub.ai/noviarick/pollen-monitor
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: curl, python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pollen-monitor

ClawHub CLI

Package manager switcher

npx clawhub@latest install pollen-monitor
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (pollen monitoring) match the behaviour: the scripts call a weather pollen API, parse the response, and print recommendations. Required binaries (curl, python3) are reasonable for this functionality.
Instruction Scope
SKILL.md and the included scripts are narrowly scoped to fetching/parsing pollen data from graph.weatherdt.com and printing results. Minor inconsistency: the Bash example requires jq (and the script uses jq) but jq is not listed in the registry 'required binaries' metadata.
Install Mechanism
No install spec; this is instruction-plus-scripts only. No downloads or extracted archives; code runs locally. Risk from install mechanism is low.
Credentials
The skill does not request environment variables, credentials, or config paths. It only performs outbound HTTP requests to a public weather endpoint, which is proportional to its purpose.
Persistence & Privilege
always is false, no special persistence or cross-skill configuration. The skill can be invoked normally by the agent; this matches its purpose and does not grant elevated privileges.
Assessment
This skill appears coherent and limited to fetching pollen data from a public API. Before installing: (1) note the scripts make outbound requests to https://graph.weatherdt.com — ensure you trust that source; (2) if you plan to run the Bash script, install jq (the metadata omitted it); (3) inspect the included python and shell files if you run them on sensitive systems (they execute curl and parse remote JSON); (4) there are no credentials requested, so there is no secret-exfiltration signal in the package itself.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🌸 Clawdis
Binscurl, python3
latestvk9760f3bybsk4d17ynn5000zw983f602
148downloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

花粉监测 (Pollen Monitor) v1.0.0

调用中国天气网 & 全国多家医院联合发布的花粉监测数据,无需 API 密钥。

⚠️ 支持范围:仅支持中国大陆城市

快速使用

查询北京花粉浓度

python3 ~/.openclaw/workspace/skills/pollen-monitor/pollen.py

查询其他城市

python3 ~/.openclaw/workspace/skills/pollen-monitor/pollen.py beijing 北京
python3 ~/.openclaw/workspace/skills/pollen-monitor/pollen.py shanghai 上海

支持的城市(53 个)

城市拼音城市拼音城市拼音
北京beijing上海shanghai天津tianjin
重庆chongqing广州guangzhou深圳shenzhen
成都chengdu杭州hangzhou南京nanjing
武汉wuhan西安xian郑州zhengzhou
济南jinan沈阳shenyang长春changchun
哈尔滨haerbin石家庄shijiazhuang太原taiyuan
兰州lanzhou西宁xining银川yinchuan
乌鲁木齐wulumuqi呼和浩特huhehaote包头baotou
鄂尔多斯eerduosi赤峰chifeng大连dalian
烟台yantai淄博zibo聊城liaocheng
承德chengde沧州cangzhou保定baoding
泊头botou福州fuzhou合肥hefei
南昌nanchang长沙changsha南宁nanning
海口haikou昆明kunming贵阳guiyang
拉萨lasa西宁xining南充nanchong
扬州yangzhou无锡wuxi乌海wuhai
乌兰浩特wulanhaote延安yanan咸阳xianyang
榆林yulin六盘水liupanshui

💡 查询链接:https://m.weather.com.cn/huafen/index.html?id=101010100

API 接口

GET https://graph.weatherdt.com/ty/pollen/v2/hfindex.html

参数

参数说明示例
eletype固定为 1(花粉)1
city城市拼音(见上表)beijing
start开始日期(7 天前)2026-03-16
end结束日期(今天)2026-03-23
predictFlag是否包含预报true

返回数据解析

花粉等级 (seasonLevel)

levelCodelevel数值范围说明
-1未检测到-数据异常或无数据
0未检测到花粉0暂无花粉
1很低1-70不易引发过敏反应
271-150易引发轻度过敏,适当防护对症用药
3151-290易引发过敏,加强防护,对症用药
4291-520易引发过敏,加强防护,规范用药
5很高≥521极易引发过敏,减少外出,持续规范用药

数据结构

{
  "seasonLevel": [...],  // 等级说明
  "dataList": [          // 每日数据
    {
      "levelCode": "5",      // 等级代码
      "level": "很高",        // 等级名称
      "addTime": "2026-03-23", // 日期
      "week": "星期一",        // 星期
      "levelMsg": "极易引发过敏,减少外出,持续规范用药" // 防护建议
    }
  ],
  "seasonLevelName": "春季"  // 花粉季名称
}

完整查询脚本

Python 版本(推荐)

# 查询北京(默认)
python3 pollen.py

# 查询指定城市
python3 pollen.py beijing 北京
python3 pollen.py shanghai 上海

Bash 版本(需要 jq)

#!/bin/bash
CITY="${1:-beijing}"
START=$(date -d '-7 days' +%Y-%m-%d)
END=$(date +%Y-%m-%d)

RESPONSE=$(curl -s "https://graph.weatherdt.com/ty/pollen/v2/hfindex.html?eletype=1&city=${CITY}&start=${START}&end=${END}&predictFlag=true")

TODAY=$(echo "$RESPONSE" | jq -r '.dataList | sort_by(.addTime) | .[-2]')
TOMORROW=$(echo "$RESPONSE" | jq -r '.dataList | sort_by(.addTime) | .[-1]')

echo "🌸 ${CITY} 花粉浓度报告"
echo "今天:$(echo "$TODAY" | jq -r '.level') - $(echo "$TODAY" | jq -r '.levelMsg')"
echo "明天:$(echo "$TOMORROW" | jq -r '.level') - $(echo "$TOMORROW" | jq -r '.levelMsg')"

注意事项

  1. 支持范围:仅支持中国大陆城市,不支持港澳台及海外城市
  2. 数据更新:每日 08:00 发布实况数据
  3. 数据来源:中国天气网 & 全国多家医院联合监测
  4. 预报时效:包含未来 1-2 天预报
  5. 春季花粉季:3 月中旬至 5 月(树木花粉为主)
  6. 秋季花粉季:8 月至 9 月(草本花粉为主)
  7. 城市限制:目前 API 仅支持 53 个中国大陆城市

已知问题

  1. 部分城市可能无花粉监测数据(返回"暂无"或"很低")
  2. 预报数据可能存在 1-2 天延迟
  3. 城市拼音需严格匹配(如 xian 不是 xi'an

相关链接

Comments

Loading comments...