360 Secure SkillHub
360 安全技能中心

Paper Report Delivery

该 Skill 指导构建端到端每日论文报告流程:收集论文、分组选取、生成中文摘要与创新分析、输出含内嵌图片的可读 HTML,并归档后按重试和消息分块回退方式投递到 Telegram。

fanwu-fan
fanwu-fan
热度 81.58
最近更新 2026-05-11 17:32:23
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:工作流 / 报告撰写 / 摘要总结 / 研究 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add paper-report-delivery
Metadata
name
paper-report-delivery
description
Build, automate, or maintain a daily paper-report delivery pipeline that collects papers, selects A/B groups, generates Chinese summaries and detailed innovation analysis, produces readable HTML with embedded images, prepares Telegram message chunks, archives outputs, and delivers reports to Telegram with retry and HTML-then-fallback behavior. Use when asked to create or improve a paper/news digest workflow, daily report automation, Telegram delivery pipeline, readable HTML report generation, or fallback delivery logic for unstable Telegram document sending.

Paper Report Delivery

Use this skill to implement or maintain an end-to-end daily paper report workflow.

Do this

  1. Read references/workflow.md first.
  2. Keep the pipeline end-to-end: collection, selection, readable output, archive, delivery.
  3. Prefer Telegram-only proxying via channels.telegram.proxy when Telegram API needs Clash.
  4. Treat Telegram message delivery and Telegram document delivery as separate reliability paths.
  5. Prefer this delivery order:
    • split HTML delivery
    • retry for a bounded window
    • Telegram message chunk fallback
  6. Keep local artifacts even when remote delivery fails.

Reusable scripts

Use these bundled scripts when they fit:

  • scripts/build_readable_html.py
    • Build a readable single-file HTML report with embedded images.
  • scripts/build_telegram_messages.py
    • Convert a readable report JSON into Telegram-sized message chunks.
  • scripts/send_telegram_retry.sh
    • Retry Telegram sending for unstable transport.
  • scripts/send_html_then_fallback.py
    • Try split HTML for up to 30 minutes, then fall back to Telegram message chunks.

Implementation rules

  • Keep HTML as the best-reading artifact.
  • Keep Telegram message chunks as the most reliable delivery artifact.
  • Archive HTML, PDF, and markdown even when only Telegram text is delivered.
  • Do not assume Telegram document delivery is stable.
  • If Telegram is unreachable, finish artifact generation and leave cached delivery files behind.

When editing an existing repo

  • Integrate into the repo’s main pipeline entrypoint instead of creating a disconnected side script.
  • Add flags for skipping fetch, skipping send, and archive-only mode.
  • Keep delivery logic explicit and observable in logs.
  • If Telegram transport is flaky, add retries before changing report content.

Publishing hygiene

Before public release:

  • Remove hard-coded local paths
  • Remove hard-coded Telegram targets and group names
  • Replace fixed dates with dynamic YYYY-MM-DD handling
  • Keep transport settings configurable

Packaging

After the skill is complete, package it with the local package_skill.py helper from the OpenClaw skill-creator skill.