Xpersona
花

花粉过敏指数权威发布

CLAWHUB · Unverified

花粉过敏指数权威发布。当用户需要查询花粉浓度、设置每日定时推送花粉过敏预警时使用。支持自定义城市,可查询花粉浓度和天气,并可设置定时任务自动推送。 Skill: 花粉过敏指数权威发布 Owner: fengdzh Summary: 花粉过敏指数权威发布。当用户需要查询花粉浓度、设置每日定时推送花粉过敏预警时使用。支持自定义城市,可查询花粉浓度和天气,并可设置定时任务自动推送。 Tags: latest:4.0.0 Version history: v4.0.0 | 2026-04-03T01:21:10.980Z | user v4.0.0 重大更新: 完整重试机制 + 多天气源备份 + 消息内容校验 + 僵尸进程清理 v3.2.0 | 2026-03-25T05:25:24.224Z | user 安全优化:移除硬编码的Webhook Key,改为从配置文件读取敏感信息(~/.openclaw/config/wecom.env) v3.1.0 | 2026-03-25T05:11:26.372Z | user 新增推送日志记录功能:自动记录每次推送结果到日志文件,支持异常

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179knwvht4dvp1pxz8t6bf77583jpte:daily-weather-pollen
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  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.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-fengdzh-daily-weather-pollen/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

39,220 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: daily-weather-pollen
description: 花粉过敏指数权威发布。当用户需要查询花粉浓度、设置每日定时推送花粉过敏预警时使用。支持自定义城市,可查询花粉浓度和天气,并可设置定时任务自动推送。
---

# 花粉过敏指数权威发布

提供花粉浓度和天气的查询与定时推送功能,支持自定义城市。

## 推送模板(过敏用户视角)

```
📍 北京 | 花粉过敏指数权威发布
权威来源:中国天气网 × 首都医科大学附属北京同仁医院
📅 发布时间:3月17日 11:22

━━━━━━━━━━━━━━━━━━━━

🚨 今日过敏风险等级:5级(很高)
   → 强烈建议:避免户外活动

• 浓度:800粒/千平方毫米(安全值70,超标11倍)
• 主要来源:柏树、榆树、杨树
• 7日趋势:持续很高(近7日均>500)

⏰ 日内变化
花粉浓度通常在午后(14-17时)达到峰值,早晚相对较低

🛡️ 必须做
✅ 关闭门窗,开启空气净化器
✅ 外出佩戴N95口罩
✅ 外出后立即洗脸、漱口、换衣

📋 建议做
• 提前服用抗过敏药物
• 关注"花粉健康宝"小程序获取精确数据

❌ 禁止做
❌ 开窗通风
❌ 晾晒衣物

📊 天气提示
天气:薄雾 12°C,湿度50%
今夜有雨,预计明早花粉浓度将明显下降

📱 获取更精准数据:微信搜索"花粉健康宝"小程序
```

## 花粉浓度等级划分

| 等级 | 浓度(粒/千平方毫米) | 风险描述 |
|------|----------------------|----------|
| 1级 | ≤70 | 很低,一般无需防护 |
| 2级 | 71-150 | 低,敏感人群注意 |
| 3级 | 151-290 | 中,敏感人群需防护 |
| 4级 | 291-520 | 高,减少户外活动 |
| 5级 | >520 | 很高,避免户外活动 |

## 7日趋势判断

| 趋势描述 | 判断标准 |
|----------|----------|
| 持续很高 | 近7日均>500,连续多日高浓度 |
| 持续高位 | 近7日均>300,整体处于中高浓度 |
| 今日更高 | 今日浓度>昨日,且涨幅>20% |
| 有所降低 | 今日浓度<昨日,且降幅>20% |
| 开始升高 | 连续3天浓度上升,进入高峰期 |
| 逐渐缓解 | 连续3天浓度下降,离开高峰期 |
| 波动较大 | 近7天忽高忽低,不稳定 |

## 花粉来源季节分布

### 春季(3-5月)
- 主要:榆树、柏树、杨树、柳树、杏树、桃花、樱花
- 高峰期:3月中旬-4月中旬

### 初夏(5-6月)
- 主要:槐树、梧桐、桑树

### 夏秋(8-10月)
- 主要:蒿草、豚草、葎草(秋季花粉过敏主因)

### 全年
- 室内:尘螨、霉菌、宠物毛屑

## 设置城市

在使用前,可以设置默认城市:

```bash
# 设置城市(支持中文或拼音)
export POLLEN_CITY="北京"
export POLLEN_CITY="上海"
export POLLEN_CITY="广州"
```

或在 cron 任务中指定城市。

## 快速查询

### 天气查询

使用 wttr.in 获取天气(支持任意城市):

```bash
# 北京
curl -s "wttr.in/Beijing?format=%l:+%c+%t+体感温度%t+湿度%h+风速%w&lang=zh"

# 上海
curl -s "wttr.in/Shanghai?format=%l:+%c+%t+体感温度%t+湿度%h+风速%w&lang=zh"

# 广州
curl -s "wttr.in/Guangzhou?format=%l:+%c+%t+体感温度%t+湿度%h+风速%w&lang=zh"

# 完整预报
curl -s "wttr.in/Beijing?T&lang=zh&1"
```

### 花粉浓度查询

访问花粉通(数据源来自中国天气网):

```bash
# 使用agent-browser访问
agent-browser open "https://richerculture.cn/hf/"
agent-browser snapshot -c
```

**支持花粉监测的城市:**
北京、淄博、昆明、天津、烟台、广州、西宁、沧州、杭州、鄂尔多斯、包头、聊城、兰州、长春、西安、郑州、太原、银川、哈尔滨、乌鲁木齐、海口、重庆、武汉、石家庄、泊头、大连、济南、南充、扬州、乌海、保定等。

花粉浓度等级划分:

| 等级 | 浓度范围(粒/千平方毫米) |
|------|---------------------------|
| 很低 | ≤70 |
| 低 | 71-150 |
| 中 | 151-290 |
| 高 | 291-520 |
| 很高 | >520 |

## 设置定时推送

使用 OpenClaw cron 命令设置每日推送:

```bash
# 北京天气花粉推送(含日志记录)
openclaw cron add \
  --name "每日天气花粉推送" \
  --cron "0 18 * * *" \
  --tz "Asia/Shanghai" \
  --message "获取北京今天的天气和花粉浓度,整理后发送给用户。发送完成后,务必将推送结果记录到 ~/.openclaw/workspace/memory/pollen-push-log.md 日志文件中,包含:推送时间、状态(成功/失败)、天气数据、花粉浓度、异常信息(如有)。" \
  --expect-final \
  --to "wecom:<用户ID>" \
  --channel "wecom"

# 上海天气花粉推送(含日志记录)
openclaw cron add \
  --name "上海天气花粉推送" \
  --cron "0 18 * * *" \
  --tz "Asia/Shanghai" \
  --message "获取上海今天的天气和花粉浓度,整理后发送给用户。发送完成后,务必将推送结果记录到 ~/.openclaw/workspace/memory/pollen-push-log.md 日志文件中,包含:推送时间、状态(成功/失败)、天气数据、花粉浓度、异常信息(如有)。" \
  --expect-final \
  --to "wecom:<用户ID>" \
  --channel "wecom"
```

## 推送日志记录

每次推送完成后,自动记录执行情况到日志文件。

### 日志文件位置

```
~/.openclaw/workspace/memory/pollen-push-log.md
```

### 日志格式

```markdown
| 时间 | 状态 | 天气 | 花粉浓度 | 异常信息 |
|------|------|------|----------|----------|

_meta.json

{
  "ownerId": "kn7egcv08stfk2k9s7487v8xv18330zv",
  "slug": "daily-weather-pollen",
  "version": "4.0.0",
  "publishedAt": 1775179270980
}

skill-card.md

## Description:

查询中国主要城市的花粉浓度和天气,并生成或定时推送花粉过敏预警。

This skill is ready for commercial/non-commercial use.

## Publisher:

[fengdzh](https://clawhub.ai/user/fengdzh)

### License/Terms of Use:

MIT-0

## Use Case:

External users and operators use this skill to query pollen concentration and weather for supported Chinese cities, then prepare daily allergy-risk guidance or schedule WeCom push notifications.

### Deployment Geography for Use:

China

## Known Risks and Mitigations:

Risk: The bundled push scripts use root-oriented HOME and PATH settings.

Mitigation: Run the skill under a dedicated unprivileged account and adjust HOME, PATH, and config paths before installation.

Risk: Broad browser cleanup can terminate unrelated Chrome or agent-browser processes.

Mitigation: Remove the global pkill cleanup or scope cleanup to an isolated session owned by this task.

Risk: Some push scripts write logs under /tmp.

Mitigation: Move logs to a protected per-user directory with appropriate permissions and retention.

Risk: The WeCom webhook key is sourced from shell configuration and used to send messages.

Mitigation: Protect and rotate the key, keep it outside version control, and avoid sourcing arbitrary shell files.

Risk: The release claims configurable city support, but bundled scripts still fetch Beijing weather in places.

Mitigation: Validate non-Beijing city behavior before relying on scheduled push notifications.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/fengdzh/skills/daily-weather-pollen)
- [Publisher profile](https://clawhub.ai/user/fengdzh)
- [Pollen data source](https://richerculture.cn/hf/)
- [wttr.in weather service](https://wttr.in/)
- [Open-Meteo forecast API](https://api.open-meteo.com/v1/forecast)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with inline shell commands and configuration snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May call external weather, pollen, browser, cron, and WeCom webhook services; push delivery requires a configured WECOM_WEBHOOK_KEY.]

## Skill Version(s):

4.0.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 花粉过敏指数权威发布 and adjacent AI workflows.