Install
openclaw skills install notice-monitor自动监控任意网站公告列表页,支持关键词过滤、多层级分类、定时推送及多渠道通知(钉钉、微信、邮件)。
openclaw skills install notice-monitor通用网站公告监控工具 - 支持任意政府公告/采购/招标网站的自动化监控
clawhub install notice-monitor
创建配置文件 ~/.openclaw/workspace/notice-monitor-config.yaml:
# 监控任务配置
tasks:
- name: 黑龙江教育采购
url: https://hljcg.hlj.gov.cn/maincms-web/procurementNotice
levels:
- name: 省级
selector: "省级"
- name: 市级
selector: "市级"
- name: 县区级
selector: "县 (区)"
keywords:
- 教育
- 学校
- 学院
- 大学
- 培训
- 教学
schedule: "0 8 * * *" # 每天早 8 点
notify:
type: dingtalk
target: "01254349410626385789"
- name: 北京医疗招标
url: https://bphc.beijing.gov.cn/notice
keywords:
- 医院
- 医疗
- 药品
- 器械
schedule: "0 9 * * *"
notify:
type: dingtalk
target: "01254349410626385789"
# 手动执行一次
openclaw skill run notice-monitor --config ~/.openclaw/workspace/notice-monitor-config.yaml
# 启用定时任务
openclaw skill cron notice-monitor enable
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
name | string | ✅ | 任务名称 |
url | string | ✅ | 公告列表页 URL |
levels | array | ❌ | 层级配置(省/市/县等) |
keywords | array | ✅ | 过滤关键词列表 |
schedule | string | ❌ | Cron 表达式,定时执行 |
notify | object | ✅ | 通知配置 |
| 参数 | 类型 | 说明 |
|---|---|---|
name | string | 层级显示名称 |
selector | string | 页面选择器(文本/XPath/CSS) |
| 参数 | 类型 | 说明 |
|---|---|---|
type | string | 通知类型:dingtalk / wechat / email |
target | string | 接收目标(用户 ID/群 ID/邮箱) |
tasks:
- name: 黑龙江教育采购
url: https://hljcg.hlj.gov.cn/maincms-web/procurementNotice
levels:
- name: 省级
selector: "省级"
- name: 市级
selector: "市级"
- name: 县区级
selector: "县 (区)"
keywords:
- 教育
- 学校
- 学院
- 大学
- 中学
- 小学
- 幼儿园
- 培训
- 教学
- 科研
- 实验室
- 医院
schedule: "0 8 * * *"
notify:
type: dingtalk
target: "01254349410626385789"
tasks:
- name: 北京医疗招标
url: https://bphc.beijing.gov.cn/notice
keywords:
- 医院
- 医疗
- 药品
- 器械
- 卫生
- 诊所
schedule: "0 9 * * *"
notify:
type: dingtalk
target: "01254349410626385789"
tasks:
- name: 上海 IT 采购
url: https://zfcg.sh.gov.cn/notice
keywords:
- 软件
- 系统
- 信息化
- 网络
- 数据
- 云平台
schedule: "0 10 * * *"
notify:
type: dingtalk
target: "01254349410626385789"
tasks:
- name: 教育采购
url: https://hljcg.hlj.gov.cn/...
keywords: [教育,学校,学院]
- name: 医疗招标
url: https://bphc.beijing.gov.cn/...
keywords: [医院,医疗,药品]
- name: IT 项目
url: https://zfcg.sh.gov.cn/...
keywords: [软件,系统,信息化]
template: |
📢 {{taskName}} 日报
📅 {{date}}
{{#each levels}}
【{{name}}】{{count}}条
{{#each items}}
{{index}}️⃣ {{title}}
📍 {{area}} | 🕐 {{date}}
{{/each}}
{{/each}}
✅ 今日新增:{{total}}条
notify:
type: webhook
url: https://your-server.com/api/notify
method: POST
headers:
Authorization: Bearer xxx
📢 黑龙江教育采购 日报
📅 2026/3/20
【省级】14 条
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1️⃣ 哈尔滨医科大学设备更新项目招标公告
📍 黑龙江省省本级 | 🕐 2026-03-19
【市级】5 条
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1️⃣ 七台河职业学院实训室竞争性磋商公告
📍 七台河市本级 | 🕐 2026-03-19
【县区级】0 条
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 今日新增:19 条 | 累计:156 条
tail -f ~/.openclaw/workspace/state/notice-monitor.log
openclaw skill run notice-monitor --config ~/.openclaw/workspace/notice-monitor-config.yaml --dry-run
rm ~/.openclaw/workspace/state/pushed-ids-*.json
MIT License
作者: 营销总监
仓库: https://clawhub.com/skills/notice-monitor