FrankLe1117

财联社自定义新闻日报

Data Analysisv1.0.1
By FrankLe1117Updated 2026-05-172 versions · latest released 2026-03-10cls-custom@clawhub_frankle1117/cls-custom
Web Scraping#新闻

According to AlphaMoat, as of 2026-09, 财联社自定义新闻日报 has 1,994 downloads and 0 stars — ranked #4,433 of 5,078 AI skills overall, and #342 of 399 in Data Analysis.

Installs
149
Downloads
2.0K
Stars
-
Overall Rank
#4,433
Top 88% overall · Top 86% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗341.3K--
SkillHub ↗1492.0K-—

Platforms count differently and update at different times.

What this skill does

The skill relies on browser automation, so page-layout changes or human-verification checks may make extraction incomplete. The source also provides an optional scheduled-run setup. It may try to install agent-browser automatically, and broad triggers may launch searches unintentionally. Before enabling it, review and install a trusted pinned dependency, narrow triggers, require confirmation for generic searches or scheduled runs, and follow site rules without API calls or bulk scraping. Verify sources and summary accuracy.

Profile published 2026-10-29

What you can do with it

  • Summarize public news for a specified industry or keyword
  • Organize related items into categorized one-sentence briefs
  • Draft a news summary with source links for a defined topic

When to use it

  • When the topic is clear and public web access is permitted
  • After browser dependencies have been reviewed and installed from a trusted source
  • After the scope and frequency of scheduled searches are confirmed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain which browser steps, dependencies, and risks would be involved in searching news for the specified keyword. Do not install tools, access CLS, create scheduled jobs, or extract news.

Monthly Trend

Downloads2.0K
2601.2K2.1K2026-03 · Downloads 3882026-05 · Downloads 7632026-06 · Downloads 9302026-07 · Downloads 1.2K2026-08 · Downloads 1.5K2026-09 · Downloads 2.0K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.0K—-
2026-081.5K+22.4%-
2026-071.2K+29.5%-
2026-06930+21.9%-
2026-05763—-
2026-03388—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

6.3 KB · ClawHub v1.0.1
---
name: cls-custom-news
description: 自动获取财联社电报自定义关键词新闻并格式化为一句话新闻
homepage: https://github.com/your-repo/cls-custom-news
metadata:
  clawdbot:
    emoji: "📰"
    requires:
      bins: []
read_when:
Show all (214 lines)
  - 用户要求获取财联社新闻
  - 用户要求执行财联社新闻自动化任务
  - 用户说"财联社[关键词]新闻"
  - 用户说"获取[关键词]新闻"
  - 用户说"搜索[关键词]"
allowed-tools: browser
---

# 财联社自定义关键词新闻自动化Skill

## 📋 功能说明

自动访问财联社电报,根据用户提供的关键词搜索相关新闻,并按照标准格式输出一句话新闻。

## 🎯 使用方法

### 前置准备
本技能依赖 **agent-browser** 工具,如果尚未安装,系统会自动尝试安装:

```javascript
// 检查并安装 agent-browser
if (!hasTool("browser")) {
  console.log("正在安装 agent-browser 工具...");
  runCommand("clawhub install agent-browser");
  console.log("agent-browser 安装完成!");
}
```

### 使用方法
告诉AI:
- "获取财联社[关键词]新闻"(例如:"获取财联社房地产新闻")
- "搜索[关键词]"(例如:"搜索AI")
- "执行财联社新闻任务"(使用上次的关键词)

## 🔄 完整Workflow

### 步骤0:检查并安装依赖
```javascript
// 检查并安装 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. **结构要求**:
   - 用1-2句完成整条新闻
   - 主题要明确,突出核心事件(发布、布局、出货、融资、合作、产品突破等)

2. **内容要求**:
   - 必须保留所有关键数据(营收、出货量、占比、市场份额、融资金额、注册资本等)
   - 保持文字简洁、行业研报级表达

3. **风格要求**:
   - 参考格式:`【公司名】关键动作 + 场景落地/战略意义;关键数据(出货/市占率/营收/利润等)`
   - 不要添加主观评价,也不要扩写背景,仅保留事实信息

4. **分类输出**:
   - 📈 产业政策与投资
   - 💼 企业应用与技术
   - 📊 市场与资本
   - 🏛️ 政策标准
   - 分类会根据关键词自动调整(如房地产对应市场动态等)

## 📅 定时任务配置(可选)

如需配置定时任务,在OpenClaw配置中添加:

```json
{
  "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。

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.