360 Secure SkillHub
360 安全技能中心

News Sentiment Scanner

该 Skill 通过 Bash 调用 curl 抓取多家新闻与 RSS 源的最新头条,用 python3 解析标题、链接与发布时间,并声称对头条做情感/市场影响评分、标记紧急事件、与活跃预测市场交叉比对,用于发现可能影响预测市场价格的新闻。实际文件中仅提供抓取与解析脚本,评分与市场比对未给出实现。

分类:搜索
rsquaredsolutions2026
rsquaredsolutions2026
热度 26.76
最近更新 2026-05-11 17:36:11

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add rsquaredsolutions2026/news-sentiment-scanner
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
news-sentiment-scanner
description
Scan news sources and RSS feeds for events that could move prediction market prices. Score headlines for market impact, flag urgent stories, and cross-reference with active markets. Use when asked about breaking news, market-moving events, or news sentiment.
metadata
{"openclaw":{"emoji":"📰","requires":{"bins":["curl","jq","python3"]}}}

News Sentiment Scanner

Scan news and RSS feeds for market-moving events, score headline sentiment, and flag prediction market trading opportunities.

When to Use

Use this skill when the user asks about:

  • Breaking news that could affect prediction markets
  • Scanning news for trading opportunities
  • Sentiment analysis of current headlines
  • Market-moving events in sports, politics, or economics
  • News-driven trading signals
  • Whether any recent news affects open positions

RSS Feed Sources

Default feeds covering key prediction market verticals:

Vertical Feed URL
General Breaking https://feeds.apnews.com/rss/apf-topnews
World News https://feeds.reuters.com/reuters/topNews
US Politics https://feeds.apnews.com/rss/apf-politics
Sports https://www.espn.com/espn/rss/news
Economics https://feeds.reuters.com/reuters/businessNews
Crypto https://cointelegraph.com/rss

The agent may add or substitute feeds based on context (e.g., if the user trades sports markets, prioritize ESPN).

Operations

1. Scan RSS Feeds for Headlines

Fetch the latest headlines from all configured feeds:

for FEED_URL in \
  "https://feeds.apnews.com/rss/apf-topnews" \
  "https://feeds.reuters.com/reuters/topNews" \
  "https://feeds.apnews.com/rss/apf-politics" \
  "https://www.espn.com/espn/rss/news" \
  "https://feeds.reuters.com/reuters/businessNews" \
  "https://cointelegraph.com/rss"; do
  curl -s "$FEED_URL" | python3 -c "
import sys, xml.etree.ElementTree as ET
from datetime import datetime, timezone
try:
    tree = ET.parse(sys.stdin)
    root = tree.getroot()
    source = root.find('.//channel/title')
    src = source.text if source is not None else 'Unknown'
    for item in root.findall('.//item')[:10]:
        title = item.find('title')
        link = item.find('link')
        pub = item.find('pubDate')
        t = title.text if title is not None else ''
        l = link.text if link is not None else ''
        p = pub.text if pub is not None else ''
        print(f'{src}|{t}|{l}|{p}')
except: pass
"
done

## About

Built by [AgentBets](https://agentbets.ai) — full tutorial at [agentbets.ai/guides/openclaw-news-sentiment-scanner-skill/](https://agentbets.ai/guides/openclaw-news-sentiment-scanner-skill/).

Part of the [OpenClaw Skills series](https://agentbets.ai/guides/#openclaw-skills) for the [Agent Betting Stack](https://agentbets.ai/guides/agent-betting-stack/).