← Back to Skills Marketplace
财经热点新闻爬取与话题归纳系统
by
village_dog
· GitHub ↗
· v1.0.5
· MIT-0
383
Downloads
0
Stars
2
Active Installs
6
Versions
Install in OpenClaw
/install stock-hot-news
Description
爬取主流财经网站实时热点新闻,提供混合评分与专业HTML报告,支持快讯采集与话题归纳分析。
Usage Guidance
要点与建议:
1) 来源与信任:发布源未知且包内包含多个.py实现,先确认作者/来源可靠再运行。不要在生产机器或含敏感数据的主机上直接执行。
2) 配置与凭据:该技能要求在 url_config.json 中放置 API 密钥(未在元数据中列出)。在提供任何密钥前,审阅 url_config.json 的字段与代码中如何使用这些密钥;更安全的做法是使用仅限测试权限的 API 密钥或在隔离环境中运行。
3) 本地写入与路径:默认写入 c:/SelfData/claw_temp/*,如果这不是你想要的位置,先在 url_config.json 中修改为安全目录,或在运行前检查/修改代码中的默认路径。
4) 外部依赖与副作用:运行需要 scrapling(和可能的 Playwright/浏览器驱动),这些会通过 subprocess 启动外部进程并打开网络连接与浏览器实例。准备在受控环境中安装并观察首次运行的行为(例如防火墙/网络监控)。
5) 代码审查建议:若你不信任作者,至少审阅主要文件(main.py、module1_main_sites.py、module2_summarize_filtered.py、module4_report_generator.py)以确认没有把抓取结果上报到未声明的外部服务器或包含隐藏的命令执行逻辑。搜索代码中是否存在非新闻目标的远程 URL 或 base64/exec/urllib 的不明用途。
6) 运行建议:优先在隔离容器(例如虚拟机或容器)中按 SKILL.md 指示运行,使用测试配置(无真实密钥),并监控网络/文件写入。若一切正常,再决定是否在更高权限环境中使用。
Capability Analysis
Type: OpenClaw Skill
Name: stock-hot-news
Version: 1.0.5
The bundle is a financial news aggregator that crawls multiple sites, scores news using an LLM, and generates HTML reports. It is classified as suspicious due to high-risk behaviors: it attempts to access sensitive browser user data (specifically QQBrowser profiles in `module3_news_flash.py`) to load cookies, uses `subprocess` to execute external commands (`scrapling`, `summarize`, `powershell`), and includes functionality to automatically delete files and open local HTML files in a browser. While these features are aligned with the tool's stated purpose, the hardcoded paths to specific user directories (e.g., `C:/Users/13620/...`) and broad system interactions pose privacy and security risks.
Capability Assessment
Purpose & Capability
技能名与描述(抓取主流财经网站、汇总与生成HTML报告)与包含的代码文件一致:多个爬虫模块、归纳/评分/报告模块、主调度器等都实现了声明的功能。要求python和scrapling工具与爬取功能相符。
Instruction Scope
SKILL.md 明确指示运行 main.py,并在配置文件(url_config.json)中配置“API密钥和输出目录”。但是未声明任何需要的环境变量或明确哪些API密钥会被写入/使用。代码会读取并写入本地配置与输出目录(默认指向 c:/SelfData/claw_temp/*),并且通过 subprocess 调用外部二进制(scrapling)并可能启动浏览器(playwright 模式)。这些操作会创建/写入文件,并可以访问网络(仅用于抓取新闻),但将 API 密钥放在文件中和未声明的外部依赖扩大了信任范围与攻击面。
Install Mechanism
Registry 元数据/report 指示“无 install 规范 (instruction-only)”,但 SKILL.md 包含 openclaw.requires/install 元数据(要求 python 与 scrapling 包)。代码通过 subprocess 调用 'scrapling' 命令行。如果 scrapling/Playwright 没安装,运行时将尝试调用外部二进制/驱动并可能触发额外下载(浏览器驱动等)。总体为中等风险(非任意远程二进制下载),但元数据不一致值得注意。
Credentials
注册表/技能声明没有要求任何环境凭据,但 README/SKILL.md 和代码要求在 url_config.json 中配置“API 密钥”。这 means credentials are expected but not declared. 将密钥保存在仓库旁的JSON文件(默认路径)相比使用环境变量或 secret 管理更容易泄露或被误上传。代码也创建并写入默认的 Windows 路径(c:/SelfData/...), 这对非Windows系统或有权限边界的环境可能是问题。
Persistence & Privilege
技能没有设为 always:true,也不要求修修改其它技能或全局代理配置;它在本地创建目录/文件并运行爬虫,权限范围局限于运行用户能访问的文件和网络(正常)。无自动常驻权限请求。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-hot-news - After installation, invoke the skill by name or use
/stock-hot-news - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
- 新增目录迁移说明文档:添加了 DIRECTORY_MIGRATION.md 文件。
- 现有功能和配置保持不变。
v1.0.4
- 移除冗余文档文件:DEEP_ANALYSIS_ENHANCEMENT.md, JRJ_HOT_NEWS_README.md, STCN_HOT_NEWS_README.md
- 文档更加精简,仅保留核心SKILL.md,便于维护和用户查阅
v1.0.3
重大改进:全路径配置化,移除所有硬编码路径;配置验证增强;模块稳定性提升;向后兼容保障。
v1.0.2
安全修复:移除硬编码API密钥;文档更新:添加技术支持信息;功能优化:智能配置回退机制;配置优化:明确3网站支持状态。
v1.0.1
版本更新:1. 优化配置文件,将未实现的6个网站标记为禁用并添加说明;2. 更新README,明确当前版本支持3个主力网站;3. 完善SKILL.md技能描述文件;4. 系统经过实际运行验证稳定。
v1.0.0
首次发布:3大主力财经网站爬取、混合评分系统、专业HTML报告、实时快讯采集、自动化工作流。配置已精简,文档已更新。
Metadata
Frequently Asked Questions
What is 财经热点新闻爬取与话题归纳系统?
爬取主流财经网站实时热点新闻,提供混合评分与专业HTML报告,支持快讯采集与话题归纳分析。 It is an AI Agent Skill for Claude Code / OpenClaw, with 383 downloads so far.
How do I install 财经热点新闻爬取与话题归纳系统?
Run "/install stock-hot-news" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 财经热点新闻爬取与话题归纳系统 free?
Yes, 财经热点新闻爬取与话题归纳系统 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 财经热点新闻爬取与话题归纳系统 support?
财经热点新闻爬取与话题归纳系统 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 财经热点新闻爬取与话题归纳系统?
It is built and maintained by village_dog (@diudiuhuang); the current version is v1.0.5.
More Skills