News Market

v1.1.9

专注中国A股市场资讯查询。聚合热点要闻、科技媒体、证券网站、官方渠道等资讯,支持关键词包含/排除过滤(通过https://skillsmp.com/zh/skills/countbot-ai-countbot-skills-news-skill-md改造而成的)。

3· 1.3k·12 current·13 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included Python script and SKILL.md: the skill aggregates RSS and webpage sources for China A-share / tech / securities news. There are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
Instructions and script focus on fetching RSS feeds and extracting links/content from configured sites. A noteworthy point: the skill defaults to third‑party RSSHub mirror domains (e.g. rss.injahow.cn, rss.shab.fun, a vercel.app host). The SKILL.md also suggests editing the script to change these mirrors. Otherwise the instructions do not attempt to read local files, environment secrets, or send data to unexpected endpoints.
Install Mechanism
No install spec (instruction-only) and the included script is pure Python standard library; nothing is downloaded or written by an install step.
Credentials
No required environment variables, credentials, or config paths are declared or used in the visible code. The script makes outbound HTTP(S) requests only to the listed news/RSS sources and mirrors.
Persistence & Privilege
always:false (default) and no indication the skill modifies other skills or system settings. The skill can be invoked autonomously by the agent (platform default) but it does not request permanent elevated presence.
Assessment
This skill appears coherent and low-risk: it fetches RSS feeds and scrapes news pages using a bundled Python script and requires no secrets. Things to consider before installing: (1) the skill uses third‑party RSS mirror domains (rss.injahow.cn, rss.shab.fun, rsshub-7x3pyolbs.vercel.app, etc.); if you care about supply-chain/trust, review or replace those mirror URLs with sources you trust or the official RSSHub. (2) The skill performs outbound HTTP(S) requests to listed sites — these will reveal your agent's IP and may be blocked by some sites; run it behind a proxy if needed. (3) Confirm the remainder of the script (the truncated portion in the provided file) contains no unexpected network endpoints or file I/O before granting broad autonomous invocation. (4) Scraping may violate some sites' terms of service; use responsibly. If you want extra assurance, run the script in a sandboxed environment and inspect the full source for any hidden endpoints.

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

latestvk972hhsh4rhnh4g9ntw3rz899182rc2h
1.3kdownloads
3stars
8versions
Updated 1mo ago
v1.1.9
MIT-0

新闻与资讯查询

通过 RSS 源和网页抓取获取热点要闻,支持关键词过滤。

支持的新闻分类

分类参数值来源
热点要闻hot人民网时政、新浪财经、36氪、财联社、雪球、观察者网、IT之家
科技媒体tech_media36氪、钛媒体、InfoQ、量子位、机器之心、新智元
证券网站securities东方财富、同花顺、雪球、富途牛牛
官方渠道official工信部、发改委

配置与网络要求

此技能开箱即用,无需申请 API Key。

RSSHub 镜像源说明:

默认优先使用 https://rss.injahow.cn (国内访问较快)。若该源失效,可在 scripts/news_market.py 中替换为以下备选源:

  • https://rss.shab.fun
  • https://rsshub.rssforever.com
  • https://rsshub-7x3pyolbs.vercel.app
  • https://rsshub.app (官方源,可能需要代理)

各资讯分类的网络访问要求:都可直接访问。

命令行调用

# 获取热点新闻(默认)
python3 skills/news_market/scripts/news_market.py hot

# 单关键词搜索(包含)
python3 skills/news_market/scripts/news_market.py hot --keyword AI

# 多关键词(包含/排除)
python3 skills/news_market/scripts/news_market.py hot --include ai,算力,人工智能,大模型 --exclude 招聘,课程,直播 --limit 20 --json

# 分类获取:科技媒体
python3 skills/news_market/scripts/news_market.py category --cat tech_media --limit 20

# 分类 + 只看 AI 或算力相关(建议同时加中文同义词)
python3 skills/news_market/scripts/news_market.py category --cat tech_media --include ai,算力,人工智能,大模型 --limit 20 --json

# 分类 + 不看 AI/算力相关
python3 skills/news_market/scripts/news_market.py category --cat tech_media --exclude ai,算力,人工智能,大模型 --limit 20 --json

# 控制摘要长度(默认 100 字符)
python3 skills/news_market/scripts/news_market.py hot --detail 500    # 显示 500 字符摘要
python3 skills/news_market/scripts/news_market.py hot --detail -1     # 显示全文
python3 skills/news_market/scripts/news_market.py hot --detail 0      # 不显示摘要

# 指定返回条数
python3 skills/news_market/scripts/news_market.py hot --limit 20

# JSON 格式输出(包含完整正文,不截断)
python3 skills/news_market/scripts/news_market.py hot --json

# 查看所有支持的分类和来源
python3 skills/news_market/scripts/news_market.py sources

AI 调用场景

用户说"今天有什么新闻":

python3 skills/news_market/scripts/news_market.py hot --limit 60

用户想深入阅读某篇文章:

# 使用 --detail -1 获取 RSS 全文内容
python3 skills/news_market/scripts/news_market.py hot --keyword "关键词" --detail -1 --limit 5

# 或使用 --json 获取完整 JSON(含全文)
python3 skills/news_market/scripts/news_market.py hot --keyword "关键词" --json --limit 5

获取新闻后,整理为简洁的列表返回给用户,包含标题、来源和链接。英文内容可适当翻译摘要。

深入阅读策略

当用户想详细了解某篇新闻时,按以下优先级获取全文:

  1. 首选:--detail -1--json — 直接从 RSS 源获取全文内容,无需额外网络请求
  2. 备选:web_fetch — 人民网、36氪等中文站点通常允许抓取

注意事项

  • 纯 Python 标准库实现,无需额外依赖
  • RSS 源可能因网站调整而失效,脚本会自动跳过失败的源
  • 中文新闻源(人民网、36氪等)通常允许 web_fetch 抓取详情页

Comments

Loading comments...