Files
Weekly-report/SKILL.md
T
2026-02-23 16:05:13 +00:00

2.3 KiB

SKILL.md - 光电行业周报生成

描述

每周自动搜索并整理光电/光子行业重要新闻,生成HTML格式简报发送到指定邮箱。

使用场景

  • 每周一早上9点自动执行
  • 手动触发生成周报

任务内容

搜索主题

  1. 硅光子与CPO - 共封装光子最新进展
  2. LiDAR市场 - 自动驾驶传感器技术进展和市场份额
  3. 量子通信 - 量子网络、隐形传态等突破
  4. 激光技术 - 工业、医疗领域应用
  5. 投资融资 - 并购、融资新闻
  6. 公司财报 - 主要公司业绩

搜索流程

第一步:搜索当周热点

先用 web_search 搜索当周光电/光子行业热点话题:

  • "photonics industry trends 2026"
  • "optics news this week 2026"
  • "silicon photonics breakthrough 2026"

根据热点结果,调整以下6个主题的侧重点。

第二步:分类搜索

使用 web_search 工具搜索以下关键词组合:

  • "silicon photonics CPO 2026"
  • "LiDAR market 2026"
  • "quantum communication breakthrough 2026"
  • "laser technology industrial medical 2026"
  • "photonic company funding 2026"

邮件格式

  • 格式:HTML
  • 语言:中文
  • 包含图表、数据、分析

邮件配置

Python发送邮件代码

import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart

smtp_server = "smtp.exmail.qq.com"
smtp_port = 465
username = "clara@rymophotonics.com"
password = "授权码"

msg = MIMEMultipart("alternative")
msg["Subject"] = "光电行业周报 - 2026年2月第4周"
msg["From"] = "Clara <clara@rymophotonics.com>"
msg["To"] = "info@rympo.com"

html = """<html>...</html>"""
msg.attach(MIMEText(html, "html", "utf-8"))

with smtplib.SMTP_SSL(smtp_server, smtp_port) as server:
    server.login(username, password)
    server.sendmail(username, ["info@rympo.com"], msg.as_string())

Cron配置

  • 表达式: 0 9 * * 1 (每周一早上9点)
  • 时区: UTC
  • 会话目标: isolated

注意事项

  • 搜索结果需包含具体数据、市场份额、公司名称
  • 财报信息需包含营收数字和关键指标
  • 投资融资需包含融资金额和投资方