Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

花粉过敏指数权威发布

v4.0.0

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

0· 272·0 current·0 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 fengdzh/daily-weather-pollen.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "花粉过敏指数权威发布" (fengdzh/daily-weather-pollen) from ClawHub.
Skill page: https://clawhub.ai/fengdzh/daily-weather-pollen
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
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 daily-weather-pollen

ClawHub CLI

Package manager switcher

npx clawhub@latest install daily-weather-pollen
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
技能名字和描述都是天气/花粉查询与企业微信推送,包含定时推送与日志记录,脚本逻辑与此目的相符. 但是 metadata 声明“无必需环境变量/凭据”,而脚本明确依赖企业微信 webhook key (WECOM_WEBHOOK_KEY) 存在于 ~/.openclaw/config/wecom.env;脚本还依赖 agent-browser、curl、jq、timeout、pkill 等工具,metadata 未声明这些依赖——这是不一致。
Instruction Scope
SKILL.md 与脚本指示用 agent-browser 抓取 richerculture.cn 页面、用 wttr.in / Open-Meteo 获取天气并通过企业微信 webhook 发送推送;会在 ~/.openclaw/workspace/memory/pollen-push-log.md 中写入日志。指令没有要求读取系统敏感凭据 beyond the webhook config file, 也没有把数据发到未知外部服务 beyond declared sources (richerculture.cn, wttr.in, api.open-meteo.com, qyapi.weixin.qq.com). 需要注意:脚本会调用 agent-browser snapshot/close,并在多版脚本中使用强制 pkill -9 清理 chrome/agent-browser,可能影响其他使用同一宿主的浏览器会话/任务。
Install Mechanism
无安装规范(instruction-only + 附带脚本),不会从外部下载或自动执行远程归档,风险低于含下载/安装步骤的技能。但包含多版本地脚本会在运行时被执行:审阅脚本内容并确认运行环境仍然必要。
!
Credentials
metadata 未声明任何 required env vars 或 primary credential,然而脚本明文读取 ~/.openclaw/config/wecom.env 中的 WECOM_WEBHOOK_KEY(必需)。这表明凭据需求未被注册,导致授权与审计缺失。脚本还将 HOME 强制设为 /root 并将 PATH 指向 root 下的路径,暗示期望在 root 环境/容器中运行——这放大了权限与文件访问范围,应被视为不成比例的假设。
Persistence & Privilege
技能未请求 always:true,也不会修改其他技能的配置。脚本会在 ~/(或 /root/)下读写配置和日志(~/.openclaw/...),并会强制杀死 agent-browser/chrome 进程;虽然不直接要求长期持久化权限,但强制清理进程和期望 root HOME 表明运行时会影响宿主环境,需谨慎。
What to consider before installing
What to check before installing/using: 1) Credential declaration: the metadata says no credentials required but the scripts require a WECOM_WEBHOOK_KEY stored at ~/.openclaw/config/wecom.env — confirm you supply this key and that you trust the skill author. 2) Run-as-root assumption: scripts set HOME=/root and PATH to root paths; run them as a non-root user or inspect/modify scripts to avoid accessing /root. 3) Dependencies: ensure agent-browser, curl, jq, timeout, pkill are available and trustworthy; agent-browser is powerful (renders pages, snapshots) — understand its privileges. 4) Process-killing behavior: scripts use pkill -9 to kill agent-browser/chrome processes; if you run other browser-based agents on the same host this can disrupt them. 5) Webhook exposure: treat WECOM_WEBHOOK_KEY as a secret, store with 600 permissions as suggested, and consider rotating keys or using a dedicated, limited-scope webhook. 6) Audit network calls: scripts contact richerculture.cn, wttr.in, api.open-meteo.com and qyapi.weixin.qq.com; verify you are comfortable with these endpoints. 7) Provenance: source is unknown; prefer skills from known authors or inspect/host the scripts yourself (audit/modify them) before enabling cron/autonomous runs. If you cannot validate the author or are uncomfortable with the root/process-kill assumptions and the missing metadata disclosure of secrets/dependencies, do not enable the skill or run it in an isolated environment first.

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

latestvk9725sh419yq45h68agv6harzd84429z
272downloads
0stars
18versions
Updated 8h ago
v4.0.0
MIT-0

花粉过敏指数权威发布

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

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

📍 北京 | 花粉过敏指数权威发布
权威来源:中国天气网 × 首都医科大学附属北京同仁医院
📅 发布时间: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月)

  • 主要:蒿草、豚草、葎草(秋季花粉过敏主因)

全年

  • 室内:尘螨、霉菌、宠物毛屑

设置城市

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

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

或在 cron 任务中指定城市。

快速查询

天气查询

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

# 北京
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"

花粉浓度查询

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

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

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

花粉浓度等级划分:

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

设置定时推送

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

# 北京天气花粉推送(含日志记录)
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

日志格式

| 时间 | 状态 | 天气 | 花粉浓度 | 异常信息 |
|------|------|------|----------|----------|
| 2026-03-25 18:00 | ✅ 成功 | 薄雾 +8°C 湿度87% | 800粒/千平方毫米 (很高) | 无 |
| 2026-03-26 18:00 | ❌ 失败 | - | - | 网络异常: 无法访问 richerculture.cn |

记录字段说明

字段说明
时间实际推送时间
状态✅ 成功 / ❌ 失败 / ⚠️ 部分成功
天气温度、天气状况、湿度等
花粉浓度数值 + 等级
异常信息网络错误/数据异常/推送失败等,无异常则填"无"

异常类型分类

类型说明示例
🌐 网络异常无法访问数据源"网络异常: 无法访问 wttr.in"
📊 数据异常数据格式变化或缺失"数据异常: 花粉浓度字段缺失"
📤 推送异常消息发送失败"推送异常: 企业微信接口超时"
⏰ 任务异常cron未执行或延迟"任务异常: 延迟30分钟执行"

日志初始化

首次使用时,创建日志文件:

# 花粉推送日志

记录每日天气花粉推送任务的执行情况。

---

## 2026-03-25

### 任务配置
- **任务ID**: <cron任务ID>
- **执行时间**: 每天 18:00 (Asia/Shanghai)
- **推送目标**: wecom:<用户ID>
- **创建时间**: 2026-03-25 08:00
- **日志文件**: ~/.openclaw/workspace/memory/pollen-push-log.md

### 执行记录

| 时间 | 状态 | 天气 | 花粉浓度 | 异常信息 |
|------|------|------|----------|----------|
| - | 待执行 | - | - | - |

---

<!-- 新记录追加到下方 -->

数据来源

  • 天气数据: wttr.in(免费,无需API Key,支持全球城市)
  • 花粉浓度: 花粉通 richerculture.cn/hf(数据源自中国天气网,支持国内主要城市)

敏感信息配置

⚠️ 重要: 企业微信 Webhook Key 等敏感信息存放在独立配置文件中,不在 Skill 代码中硬编码。

配置文件位置

~/.openclaw/config/wecom.env

配置文件格式

# 企业微信机器人 Webhook 配置
# 此文件包含敏感信息,请勿提交到版本控制

WECOM_WEBHOOK_KEY=<your-webhook-key>

获取 Webhook Key

  1. 在企业微信群中添加群机器人
  2. 获取 Webhook 地址,格式为:
    https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxxxxx
    
  3. 提取 key= 后面的部分,填入配置文件

安全建议

  • 配置文件权限设置为 600:chmod 600 ~/.openclaw/config/wecom.env
  • 不要将配置文件提交到 Git
  • 定期更换 Webhook Key

Comments

Loading comments...