Robby

topic-monitor

AI 智能体v1.6.0
作者:Robby更新于 2026-08-31共 17 个版本 · 最新版本发布于 2026-08-31@clawhub_robbyczgw-cla/topic-monitor
任务自动化工作流编排#Web Search#GitHub#RSS

据 AlphaMoat 统计,截至 2026-10,topic-monitor 累计下载 16,152 次、获 27 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 1,742 位,在「AI 智能体」分类(1,632 个)中排名第 241 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
1.6万
星标
27
全站下载量排名
#1,742
全站前 16% · 「AI 智能体」前 15%
平台累计下载星标评论
ClawHub ↗1.2万27-
SkillHub ↗1.6万27—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

对结果去重,应用必含与排除词,评估重要性并记录情绪历史。主题可配置来源、频率和提醒渠道,支持订阅发现和 OPML 导入。依赖 Python、feedparser 及相应搜索或发送组件。启用定期监控前先查看 dry-run;重要性评分只用于排序辅助。

资料发布于 2026-10-27

可以用来做什么

  • 为产品发布或选定新闻主题准备定向监控

什么时候用

  • 用户要求定期更新,且来源及通知范围明确时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

准备包含来源、必含词和排除词的主题配置,先试跑展示哪些结果会触发提醒。

月度数据趋势

累计下载1.6万
8,5331.3万1.7万2026-03 · 累计下载 9,0972026-05 · 累计下载 1.0万2026-06 · 累计下载 1.1万2026-07 · 累计下载 1.0万2026-08 · 累计下载 1.1万2026-09 · 累计下载 1.1万2026-10 · 累计下载 1.6万26-0326-0926-10
星标27
2526272026-03 · 星标 252026-05 · 星标 272026-06 · 星标 272026-07 · 星标 272026-08 · 星标 272026-09 · 星标 272026-10 · 星标 2726-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-101.6万—27
2026-091.1万—27
2026-081.1万+9.3%27
2026-071.0万-3.9%27
2026-061.1万+2.9%27
2026-051.0万—27
2026-039,097—25

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

7.7 KB · ClawHub v1.6.0
---
name: topic-monitor
version: 1.6.0
description: Monitor topics of interest and proactively alert when important developments occur. Use when the user wants automated monitoring of specific subjects like product releases, news topics, technology updates, RSS/Atom feeds, or GitHub releases. Supports scheduled web search plus feed polling, boolean topic filters, AI importance scoring with sentiment tracking, smart alerts vs weekly digests, and memory-aware contextual summaries.
metadata:
  openclaw:
    requires:
      bins: ["python3"]
    envVars:
      - name: TOPIC_MONITOR_TELEGRAM_ID
展开全部(共 323 行)
        required: false
        description: "Telegram chat ID for alerts."
      - name: TOPIC_MONITOR_DATA_DIR
        required: false
        description: "Data directory. Defaults to .data/ in the skill directory."
      - name: WEB_SEARCH_PLUS_PATH
        required: false
        description: "Path to web-search-plus. Defaults to a relative path."
    note: "All environment variables are optional. Defaults work out of the box."
---

# Topic Monitor

Monitor topics continuously and alert only when something looks relevant.

## What’s new in v1.5.0

- **RSS/Atom feed monitoring** as a first-class source via `feeds`
- **GitHub release monitoring** via `github_repos` → `https://github.com/{owner}/{repo}/releases.atom`
- **Feed auto-discovery** from normal URLs
- **OPML import** for feed lists
- **Advanced filters** with `required_keywords` and `exclude_keywords`
- **Sentiment analysis** on findings: `positive`, `negative`, `neutral`, `mixed`
- **Sentiment shift alerts** with `alert_on_sentiment_shift`

## Quick start

```bash
python3 scripts/quick.py "AI Model Releases"
python3 scripts/quick.py "OpenClaw Releases" --github-repos "openclaw/openclaw"
python3 scripts/quick.py "Security Advisories" --feeds "https://example.com/security.xml"
```

Then test it:

```bash
python3 scripts/monitor.py --dry-run --verbose
```

## Core model

Each topic can mix multiple sources:

- **Web search** via `query`
- **RSS/Atom feeds** via `feeds`
- **GitHub releases** via `github_repos`

All collected results flow into the same pipeline:

1. gather results
2. deduplicate
3. apply advanced filters
4. score importance
5. classify sentiment
6. alert immediately or save for digest
7. track state and sentiment history

## Topic config

Each topic supports these keys:

- `id`
- `name`
- `query`
- `keywords`
- `feeds`
- `github_repos`
- `required_keywords`
- `exclude_keywords`
- `frequency` → `hourly|daily|weekly`
- `importance_threshold` → `high|medium|low`
- `channels`
- `context`
- `alert_on`
- `alert_on_sentiment_shift`
- `ignore_sources`
- `boost_sources`

### Example config

```json
{
  "topics": [
    {
      "id": "openclaw-news",
      "name": "OpenClaw Updates",
      "query": "OpenClaw AI assistant update release",
      "keywords": ["OpenClaw", "release", "update"],
      "feeds": ["https://example.com/blog/rss.xml"],
      "github_repos": ["openclaw/openclaw"],
      "required_keywords": ["release"],
      "exclude_keywords": ["rumor", "affiliate"],
      "frequency": "daily",
      "importance_threshold": "medium",
      "channels": ["telegram"],
      "context": "Track product updates and releases",
      "alert_on": ["keyword_exact_match", "github_release"],
      "alert_on_sentiment_shift": true,
      "ignore_sources": [],
      "boost_sources": ["github.com"]
    }
  ]
}
```

## Advanced filters

### `required_keywords`

All listed terms must appear in the title/snippet before scoring.

```json
"required_keywords": ["release", "stable"]
```

### `exclude_keywords`

Any matching term filters the result out before scoring.

```json
"exclude_keywords": ["beta", "rumor", "affiliate"]
```

This is intentionally simple boolean logic:

- any exclude match → reject
- any missing required term → reject

## RSS/Atom feeds

### Direct feeds

```bash
python3 scripts/manage_topics.py add "Security Feeds" \
  --feeds "https://example.com/rss.xml,https://example.com/atom.xml" \
  --keywords "security,CVE,patch"
```

### Feed discovery

Discover feeds from a normal website URL:

```bash
python3 scripts/manage_topics.py discover-feed https://example.com/blog
python3 scripts/monitor.py --discover-feed https://example.com/blog
```

Add a topic and auto-discover feeds in one step:

```bash
python3 scripts/manage_topics.py add "Vendor Blog" \
  --discover-feeds "https://example.com/blog" \
  --keywords "release,announcement"
```

### OPML import

Import feed subscriptions from an OPML file:

```bash
python3 scripts/manage_topics.py import-opml feeds.opml
```

Imported topics default to daily / medium unless you override:

```bash
python3 scripts/manage_topics.py import-opml feeds.opml --frequency hourly --importance high
```

### Feed caching

Feed polling uses `feedparser` and stores per-feed cache data in monitor state:

- `etag`
- `last-modified`
- last check metadata

That allows efficient conditional requests and avoids reprocessing unchanged feeds.

## GitHub release monitoring

Track repo releases with:

```json
"github_repos": ["openclaw/openclaw", "anthropics/claude-code"]
```

These map to GitHub Atom feeds automatically:

- `https://github.com/openclaw/openclaw/releases.atom`
- `https://github.com/anthropics/claude-code/releases.atom`

CLI example:

```bash
python3 scripts/manage_topics.py add "CLI Releases" \
  --github-repos "openclaw/openclaw,anthropics/claude-code" \
  --keywords "release,version"
```

GitHub release items are labeled clearly in alerts.

## Sentiment analysis

Each scored finding also gets a sentiment label:

- `positive`
- `negative`
- `neutral`
- `mixed`

Alerts and digest entries include that sentiment.

### Sentiment shift alerts

Enable:

```json
"alert_on_sentiment_shift": true
```

When enabled, a result that changes sentiment versus the topic’s previous sentiment history gets promoted for alerting.

State tracks:

- `last_sentiment`
- `sentiment_history`

## Scripts

### `scripts/manage_topics.py`

```bash
# Add topic
python3 scripts/manage_topics.py add "Topic Name" \
  --query "search query" \
  --keywords "word1,word2" \
  --feeds "https://example.com/rss.xml" \
  --github-repos "openclaw/openclaw" \
  --required-keywords "release" \
  --exclude-keywords "beta,rumor"

# List topics
python3 scripts/manage_topics.py list

# Edit topic
python3 scripts/manage_topics.py edit topic-id --feeds "https://example.com/rss.xml"

# Discover feeds
python3 scripts/manage_topics.py discover-feed https://example.com/blog

# Import OPML
python3 scripts/manage_topics.py import-opml feeds.opml

# Test topic
python3 scripts/manage_topics.py test topic-id
```

### `scripts/monitor.py`

```bash
python3 scripts/monitor.py
python3 scripts/monitor.py --dry-run
python3 scripts/monitor.py --topic openclaw-news --verbose
python3 scripts/monitor.py --discover-feed https://example.com/blog
```

## Alert output

Alerts can now include:

- source label (`Web`, `Feed`, `GitHub Release`)
- score and reason
- sentiment
- sentiment shift marker when applicable

## Installation note

Feed support uses Python `feedparser`.

Install if needed:

```bash
pip3 install feedparser
```

## Troubleshooting

### Feeds not showing results

- verify the feed URL manually
- try `discover-feed` against the site URL
- install `feedparser`
- run `python3 scripts/monitor.py --dry-run --verbose`

### Too much noise

- tighten `required_keywords`
- add `exclude_keywords`
- increase `importance_threshold`

### Missing GitHub release alerts

- confirm repo is `owner/repo`
- verify releases exist on GitHub
- test with `--verbose`

## Notes

- Search and feed results are merged into the same scoring pipeline.
- Existing web-search behavior remains supported.
- Digest entries store sentiment so weekly output reflects tone changes too.

「AI 智能体」分类下的热门技能

Robby 的其他技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。