← Back to Skills Marketplace
财联社自定义新闻日报
by
FrankLe1117
· GitHub ↗
· v1.0.1
· MIT-0
351
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install cls-custom
Description
自动获取财联社电报自定义关键词新闻并格式化为一句话新闻
README (SKILL.md)
财联社自定义关键词新闻自动化Skill
📋 功能说明
自动访问财联社电报,根据用户提供的关键词搜索相关新闻,并按照标准格式输出一句话新闻。
🎯 使用方法
前置准备
本技能依赖 agent-browser 工具,如果尚未安装,系统会自动尝试安装:
// 检查并安装 agent-browser
if (!hasTool("browser")) {
console.log("正在安装 agent-browser 工具...");
runCommand("clawhub install agent-browser");
console.log("agent-browser 安装完成!");
}
使用方法
告诉AI:
- "获取财联社[关键词]新闻"(例如:"获取财联社房地产新闻")
- "搜索[关键词]"(例如:"搜索AI")
- "执行财联社新闻任务"(使用上次的关键词)
🔄 完整Workflow
步骤0:检查并安装依赖
// 检查并安装 agent-browser
if (!hasTool("browser")) {
console.log("正在安装 agent-browser 工具...");
runCommand("clawhub install agent-browser");
console.log("agent-browser 安装完成!");
// 等待工具安装完成
sleep(3000);
}
步骤1:打开财联社电报页面
browser action=navigate url=https://www.cls.cn/telegraph
步骤2:获取页面快照,找到搜索框
browser action=snapshot interactive=true refs=aria
搜索框通常为 ref=e109
步骤3:提取用户输入的关键词并搜索
// 从用户消息中提取关键词(如果用户提供了关键词)
// 如果没有提供默认使用"新闻"
let keyword = 用户输入的关键词 || "新闻";
console.log("正在搜索关键词:", keyword);
步骤4:在搜索框输入关键词并搜索
browser action=act request={"kind": "type", "ref": "e109", "text": keyword, "submit": true}
步骤5:等待页面加载完成
browser action=act request={"kind": "wait", "loadState": "networkidle"}
步骤6:获取搜索结果页面快照
browser action=snapshot interactive=true refs=aria
步骤7:提取所有新闻内容
识别包含关键词的相关新闻链接,提取完整文本内容。
步骤8:按照一句话新闻格式化输出
📝 输出格式要求
改写规则(严格遵守)
-
结构要求:
- 用1-2句完成整条新闻
- 主题要明确,突出核心事件(发布、布局、出货、融资、合作、产品突破等)
-
内容要求:
- 必须保留所有关键数据(营收、出货量、占比、市场份额、融资金额、注册资本等)
- 保持文字简洁、行业研报级表达
-
风格要求:
- 参考格式:
【公司名】关键动作 + 场景落地/战略意义;关键数据(出货/市占率/营收/利润等) - 不要添加主观评价,也不要扩写背景,仅保留事实信息
- 参考格式:
-
分类输出:
- 📈 产业政策与投资
- 💼 企业应用与技术
- 📊 市场与资本
- 🏛️ 政策标准
- 分类会根据关键词自动调整(如房地产对应市场动态等)
📅 定时任务配置(可选)
如需配置定时任务,在OpenClaw配置中添加:
{
"cron": {
"entries": {
"cls-robot-news": {
"enabled": true,
"name": "财联社机器人新闻自动化",
"schedule": {
"kind": "cron",
"expr": "0 9,30 17 * * 1-5",
"tz": "Asia/Shanghai"
},
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"message": "执行财联社机器人新闻自动化任务"
},
"delivery": {
"mode": "announce"
}
}
}
}
}
时间说明:
0 9,30 17 * * 1-5= 每个工作日的9:00和17:30执行- 可根据需要调整
🎨 输出示例
机器人新闻示例
## 🤖 财联社机器人一句话新闻(2026-03-10)
### 📈 产业政策与投资
【江苏省工信厅】发布《脑机接口产业创新发展行动方案》,加强脑机接口传感器、芯片、电池等核心硬件与软件系统集成适配,研发脑控装备与机器人、植入式神经调控设备等产品;目标2030年认定不少于30个"三首两新"产品。
【长电科技】在上海临港启用汽车电子与机器人专用芯片封测工厂,占地210亩,一期规划5万平方米洁净厂房,引入AI技术参与生产监控、质量分析和缺陷识别。
房地产新闻示例
## 🏠 财联社房地产一句话新闻(2026-03-10)
### 📈 市场动态
【国家统计局】1月份新建商品住宅销售价格环比上涨0.2%,同比上涨2.3%;一线城市新建商品住宅销售价格环比上涨0.4%,二线城市上涨0.2%,三线城市持平。
【万科集团】1月份实现销售额342.3亿元,同比下降12.5%;实现销售面积258.1万平方米,同比下降15.3%。
🔧 故障排查
问题1:搜索框ref变化
- 解决:重新获取页面快照,找到新的搜索框ref
问题2:页面加载慢
- 解决:增加wait时间,或使用
timeoutMs: 10000
问题3:新闻提取不完整
- 解决:检查页面结构,调整提取逻辑
📊 性能指标
- 执行时间:约10-15秒
- 新闻数量:通常10-20条
- 准确率:>95%
🔄 更新日志
- 2026-03-10: 初始版本创建(机器人新闻专用)
- 2026-03-10: 支持自定义关键词搜索
- 2026-03-10: 添加自动安装 agent-browser 功能
- 支持定时任务(工作日9:00和17:30)
- 标准化输出格式,适配任意关键词
⚠️ 重要提醒
- 本技能需要 agent-browser 工具支持
- 首次使用时会自动尝试安装,但需要网络连接
- 如果安装失败,请手动运行:
clawhub install agent-browser - 定时任务仅在工具安装成功后才会正常执行
📞 联系方式
如有问题或建议,请在GitHub提issue。
Usage Guidance
This skill appears to do what it says: open the public 财联社 telegraph page, search for keywords, extract articles and produce one‑line news summaries. Before enabling: 1) Confirm you trust and want the agent to perform network access and to install the agent-browser tool (it runs 'clawhub install agent-browser' if missing). 2) If you don't want recurring runs, do not add the cron entry to your OpenClaw config. 3) Check the agent-browser package/source (and the skill's GitHub repo if you want more assurance) to ensure you trust what will be installed. 4) Be aware of target-site scraping and terms-of-service considerations. If you only want manual use, invoke the skill on demand and avoid adding the scheduled cron config.
Capability Analysis
Type: OpenClaw Skill
Name: cls-custom
Version: 1.0.1
The skill automates news retrieval from Cailian Press (cls.cn) but includes instructions in skill.md to execute system commands via runCommand ("clawhub install agent-browser") to manage dependencies. While this behavior is plausibly needed for the stated purpose of the skill, the use of shell-level execution within the agent's workflow represents a high-risk capability that could be leveraged for unauthorized system modifications if the instructions were altered.
Capability Assessment
Purpose & Capability
Name/description indicate fetching and formatting news from 财联社电报; the instructions only require a browser tool and page interactions consistent with that purpose. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Runtime instructions are narrowly focused on navigating the target site, finding the search box, extracting articles, and formatting output. They also instruct the agent to check for and install the agent-browser tool (via a runCommand/clawhub call) — this is within scope but worth noting because it causes the agent to invoke a system install step and network access.
Install Mechanism
The skill itself has no install spec and contains no code files. It instructs the agent to run 'clawhub install agent-browser' if the browser tool is missing; using the platform's package/install helper is expected for a browser-based skill. There are no downloads from arbitrary URLs embedded in the skill.
Credentials
The skill does not request environment variables, secrets, or other credentials. Its needs (network access and the browser tool) are proportional to scraping/searching a public news site.
Persistence & Privilege
always is false and the skill is user-invocable. The SKILL.md documents an optional cron config that, if added by the user, will schedule periodic runs — this can cause recurring autonomous execution but is opt-in and not enforced by the skill itself.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cls-custom - After installation, invoke the skill by name or use
/cls-custom - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 新增自动安装 agent-browser 工具功能,无需用户手动操作
- 使用说明与Workflow增加依赖检查和安装流程
- 增补重要提醒,提示首次使用需联网自动安装依赖,并说明手动安装命令
- 其余功能、输出要求与定时任务配置保持原有一致
v1.0.0
cls-custom-news 1.0.0 初始版本发布
- 自动获取财联社电报中自定义关键词的新闻,并按行业研报标准格式输出一句话新闻
- 支持通过简单语句(如“获取财联社[关键词]新闻”或“搜索[关键词]”)自动检索新闻
- 一键执行自动化新闻任务,支持定时自动推送(工作日早晚)
- 新闻输出按类型分组,严格保留关键数据和事实,表达简明
- 完善的操作步骤、处理流程与故障排查文档
Metadata
Frequently Asked Questions
What is 财联社自定义新闻日报?
自动获取财联社电报自定义关键词新闻并格式化为一句话新闻. It is an AI Agent Skill for Claude Code / OpenClaw, with 351 downloads so far.
How do I install 财联社自定义新闻日报?
Run "/install cls-custom" 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 FrankLe1117 (@frankle1117); the current version is v1.0.1.
More Skills