cls-morning-briefing

Automated daily morning briefing from CLS. Scrapes the day's flash news from cls.cn Telegram pages, structures it into an 8-section Markdown briefing, and pushes it to Feishu. Triggered by user prompts like “generate briefing”, “CLS morning briefing”, “daily briefing”, “morning briefing”, or by scheduled triggers. Uses Playwright for deep scraping and can supplement with WebSearch for prior-day US/China market close data.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cls-morning-briefing" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2f9752b21d0e017d1d38337b96a1fb3496bd8f62127edd3aafd5088bacd98b2c. Verify the upstream source and version against https://skillhub.cn/skills/user_2089f7f3/cls-morning-briefing before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Automated daily morning briefing from CLS. Scrapes the day's flash news from cls.cn Telegram pages, structures it into an 8-section Markdown briefing, and pushes it to Feishu. Triggered by user prompts like “generate briefing”, “CLS morning briefing”, “daily briefing”, “morning briefing”, or by scheduled triggers. Uses Playwright for deep scraping and can supplement with WebSearch for prior-day US/China market close data.

0 Downloads

Introduction source: third_party · user_2089f7f3 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: cls-morning-briefing
description: 财联社每日早报自动生成。从 cls.cn 电报页抓取当日快讯,按 8 板块结构化模板整理为 Markdown 早报并推送飞书。当用户要求"生成早报""财联社早报""每日早报""morning briefing"或定时触发时使用。支持 Playwright 深度抓取 + WebSearch 补充前一日美股/A 股收盘数据。
agent_created: true

财联社每日早报 — 自动生成

Overview

每日盘前 09:00 左右,从财联社电报页 https://www.cls.cn/telegraph 抓取当日快讯(07:00–09:30 窗口),按 8 板块结构化模板整理为 Markdown 早报,保存到 deliverables/daily-report/cls-news-morning-YYYY-MM-DD.md,并通��飞书 Bot 推送。

Data Collection Workflow

Step 1 — Fetch Telegraph Items

首选 Playwright 抓取(WebFetch 只能拿到最新几条,无法回溯 07:xx 窗口):

// 使用已有的 cls_morning_capture_脚本模式:
// 1. 启动 chromium,打开 https://www.cls.cn/telegraph
// 2. 等待 telegraph-list 加载
// 3. 循环点击 "加载更多" 按钮(最多 5 次),每次等待 1.5s
// 4. 提取所有 .telegraph-item 的 datetime + content
// 5. 过滤掉 UI junk("桌面通知"等非快讯条目)
// 6. 写入 cls_telegraph_items_YYYYMMDD.json

如果 Playwright 不可用,回退到 WebFetch(只抓 09:00+ 最新条目)。

Step 2 — Supplement Market Data

电报不包含前一日收盘数据,需要通过 WebSearch 补充:

  • 美股收盘(前一日):道琼斯/纳斯达克/标普 500/费城半导体的点位和涨跌幅
  • A 股收盘(前一日):上证/深证/创业板/科创 50 的点位和涨跌幅、领涨/领跌板块
  • 大宗商品:原油(WTI/布伦特)、黄金、白银价格
  • 其他:融资余额变动、北向资金、解禁日历等

Step 3 — Push to Feishu

用 Python subprocess 调用 node.exe + run.js(严禁使用 lark-cli.cmd,换行符会丢失):

NODE = r"C:\Users\peng\.workbuddy\binaries\node\versions\22.22.2\node.exe"
CLI_DIR = r"C:\Users\peng\.workbuddy\binaries\node\cli-connector-packages"
RUN_JS = os.path.join(CLI_DIR, "node_modules", "@larksuite", "cli", "scripts", "run.js")
cmd = [NODE, RUN_JS, 'im', '+messages-send',
       '--user-id', 'ou_484afbaa2628e1fe79ff1497bd24ff7b',
       '--as', 'bot', '--markdown', content]
env = dict(os.environ); env.pop('NODE_OPTIONS', None)
subprocess.run(cmd, capture_output=True, cwd=CLI_DIR, env=env, timeout=120)

推送内容必须与 Markdown 文档完全一致,不得精简改写。


Output Format — 8-Section Template

Title & Header

## 财联社每日早报 | YYYY年MM月DD日 星期X

> 数据来源:财联社 (cls.cn) | 生成时间:YYYY-MM-DD HH:MM

一、头条要闻

提取今日最重磅的 4-5 条宏观、政策、国际地缘或行业里程碑事件。

格式:

### [序号]. [新闻标题]
**时间**:HH:MM | **来源**:财联社 [作者/记者(若有)]
[2行以内的简要内容提炼,重点字词加粗。特别重要的后续关联事件加粗置底。]

二、行业动态

将快讯中的行业动态分类归纳。常见分类:科技/AI、新能源/光伏、电子/半导体、金融科技、汽车/军工、房地产、医药等。

格式:

### [行业图标] [行业名称]
| 标题 | 要点 |
|------|------|
| 简短标题 | 1-2句话核心要点 |

三、公司要闻

提取涉及具体上市公司的重大事件(大额投资、并购、大涨停牌、减持、立案、大额解禁等)。

格式:

| 公司/标的 | 事件 | 影响 |
|-----------|------|------|
| **公司名** | 事件简述 | [影响/定性分析,负面或风险加 ⚠️ 前缀] |

四、国际市场要闻

### 🌍 美股收盘([前一日日期])
| 指数 | 收盘点位 | 涨跌幅 |
|------|----------|--------|
| 道琼斯 | [点位] | [✅上涨/❌下跌X%] |
| 纳斯达克 | [点位] | [涨跌幅] |
| 费城半导体 | [点位] | [涨跌幅] |
- **资金/板块动态**:简述资金流向或板块异动
- **大宗商品**:简述原油、黄金等走势
- **地缘/欧洲**:相关海外宏观动态

五、昨日A股板块表现([前一日日期]收盘)

⚠️ 命名规范:标题必须用"昨日"而非"今日"。早报生成时(通常 09:00 盘前)当日 A 股尚未收盘,该表数据本质是前一交易日收盘数据。

格式:

| 板块 | 涨跌幅 | 领涨股 |
|------|--------|--------|
| [板块名] | **+百分比%** | [股票A]+百分比% |

六、今日风口与潜力题材

### 🔥 今日风口
1. **[题材名]** - [逻辑支撑简述]
### 💡 潜力题材
1. **[题材名]** - [驱动事件/数据简述]

七、今日重要事件日历

| 时间 | 事件 | 关注点 |
|------|------|--------|
| [日期/期间] | [事件名称] | [核心关注方向] |

八、投资避雷针

| 风险类型 | 详情 |
|----------|------|
| [🚫停牌核查/⚠️减持/⚠️解禁/⚠️立案/📉降价压力] | **[核心公司/标的]** [具体风险细节] |

Footer — 免责声明

> *免责声明:本报告基于财联社公开信息整理,仅供投资参考,不构成任何投资建议。*

Key Rules

# Rule Detail
1 真实性第一 所有数据必须与输入源完全一致,绝对不允许胡编乱造
2 排版规范 严格使用 Emoji 提升可读性,表格对齐,多用粗体突出关键词
3 时效性 识别"今日""明日"并换算为明确日期(如"今日(7/29)")
4 缺数据处理 无相关数据的板块保留标题,下方写"(今日无相关数据)"
5 内容筛选方向 宏观政策、市场行情、全球市场、公司/产业、AI/机器人、风口热点、投资日历
6 飞书推送一致性 推送内容必须与 Markdown 文档完全一致,不得精简改写
7 飞书推送方式 必须用 node.exe + run.js 直接调用,禁止用 lark-cli.cmd(换行丢失)

References

references/template-example.md

包含一份完整示例早报(2026-07-29),展示 8 板块在实际数据下的真实形态。当需要参考排版效果时加载此文件。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 高价值/高频刚需。直接解决用户明确的核心任务痛点,显著提升日常高频场景的效率,自动化生成财联社早报并推送飞书
Trigger Precision88/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards85/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例,frontmatter完整,单文件≤500行
Execution Reliability78/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Invoke commands or scripts

    Read the script and arguments first. Use ordinary privileges and a scoped directory; confirm installation or execution in your host tool.

    Mentioned in main document · lines 52
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • www.cls.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.