News Brief Automation
Turn ad-hoc “go check the news and summarize it” work into a repeatable automation made of:
- - one prompt file under INLINECODE0
- one report folder under INLINECODE1
- one stable output format
- one explicit dedupe rule against the latest saved report
Workflow
- 1. Identify the recurring job:
- source set
- cadence
- selection criteria
- output language
- save location
- delivery target
- 2. Prefer one prompt file per job under
automation/cron/<job-name>.md. - Create a matching report directory under
reports/<topic>/. - Instruct the agent to compare candidates against the newest saved report before drafting the final output.
- Require “save first, send second” so future runs always have a concrete baseline for dedupe.
- Make the format stable and easy to skim.
- If a run has little novelty, emit a short incremental edition instead of padding the report.
What A Good Cron Prompt Must Contain
Each recurring prompt should explicitly define:
- - the goal
- the schedule context
- the priority sources to inspect
- what counts as worth including
- the required output structure
- dedupe rules against the newest prior report
- save path and filename convention
- send-after-save behavior
- fallback behavior if a source is unavailable
Use direct instructions. Avoid fuzzy wording like “make it good” or “summarize nicely”.
Good Defaults
Source handling
Prefer primary index pages first, then open individual links only when context is missing.
Common defaults:
- - Hacker News: homepage + INLINECODE4
- GitHub: Trending
- Hugging Face: hot/trending models, datasets, spaces
- RSS/blogs: feed page first, article page second
- Generic news sites: homepage/section page first, article page second
Selection logic
Prioritize items that are:
- - newly surfaced
- rapidly rising
- widely discussed
- practically useful
- unusually opinionated or technically deep
For technical audiences, bias toward:
- - AI
- developer tools
- open source
- infrastructure
- security
- data engineering
- engineering practice
Deduplication
Always inspect the newest report in the target report folder.
Keep only:
- - new items
- items with clear rank/momentum change
- items with meaningful new developments
- previously seen items that deserve a shorter refreshed mention
Drop or compress:
- - unchanged repeats
- low-signal filler
- items included yesterday/last run with no meaningful change
If most candidates repeat prior coverage, explicitly publish an incremental short edition.
Output structure
Prefer Markdown with:
- - dated title
- short “what matters now” section
- numbered list of items
- link for each item
- one-line reason to care
- optional discussion angle / watchpoint
Keep tone concise and opinionated enough to be useful.
File And Naming Conventions
Use this layout unless the user asks otherwise:
CODEBLOCK0
Use date-only filenames for once-per-day reports. Use hour-stamped filenames for multiple runs per day.
Common Patterns
Daily digest
Use when the user wants one higher-signal summary per day.
Recommended traits:
- - 5-10 items
- more synthesis
- a “today’s observation” section
- date-only filenames
Intraday brief
Use when the user wants multiple updates per day.
Recommended traits:
- - 3-8 items
- stronger dedupe
- incremental mode when nothing major changed
- hour-stamped filenames
Mixed-source trend watch
Use when combining 2-4 complementary sources like GitHub + Hugging Face + HN.
Recommended traits:
- - sectioned output per source
- final cross-source observations
- avoid repeating the same project across sections unless the angle differs
Editing Existing Automations
When converting an existing one-off prompt into a reusable workflow:
- 1. Preserve the parts that already work:
- source order
- output shape
- report path
- 2. Remove accidental details that do not generalize.
- Keep the reusable operating logic:
- fetch
- select
- dedupe
- save
- send
- 4. Move concrete examples and templates into
references/ so SKILL.md stays lean.
Quality Bar Before Packaging Or Publishing
Before packaging or publishing:
- - keep
SKILL.md concise and trigger-focused - ensure the description clearly says when the skill should activate
- provide at least one reusable prompt template in INLINECODE8
- avoid extra docs like README or changelog files inside the skill
- package the exact skill folder
- reject vague prompts that do not specify dedupe or save paths
References
- - Read
references/examples.md for concrete example automations. - Read
references/templates.md for reusable cron prompt templates.
新闻简报自动化
将临时性的“去查看新闻并总结”工作转化为可重复的自动化流程,包含以下要素:
- - automation/cron/ 目录下的一个提示文件
- reports/ 目录下的一个报告文件夹
- 一种稳定的输出格式
- 一条针对最新保存报告的明确去重规则
工作流程
- 1. 识别重复性任务:
- 信息来源集合
- 执行频率
- 筛选标准
- 输出语言
- 保存位置
- 交付目标
- 2. 每个任务优先在 automation/cron/<任务名称>.md 下放置一个提示文件。
- 在 reports/<主题>/ 下创建对应的报告目录。
- 指示代理在起草最终输出前,将候选内容与最新保存的报告进行比对。
- 要求“先保存,后发送”,确保后续运行始终有具体的去重基准。
- 保持格式稳定且易于快速浏览。
- 如果当次运行新增内容较少,则发布简短的增量版本,而非填充报告。
优质定时提示必须包含的内容
每个重复性提示应明确定义:
- - 目标
- 时间安排上下文
- 需要检查的优先信息来源
- 什么内容值得纳入
- 要求的输出结构
- 针对最新先前报告的去重规则
- 保存路径和文件名规范
- 保存后发送的行为
- 信息来源不可用时的回退行为
使用直接指令。避免模糊措辞,如“做好点”或“好好总结”。
良好默认设置
信息来源处理
优先查看主索引页面,仅在缺少上下文时打开单个链接。
常见默认设置:
- - Hacker News:首页 + newest
- GitHub:Trending
- Hugging Face:热门/趋势模型、数据集、空间
- RSS/博客:先看订阅页面,再看文章页面
- 通用新闻网站:先看首页/栏目页面,再看文章页面
筛选逻辑
优先考虑以下内容:
- - 新近出现
- 快速上升
- 广泛讨论
- 实用性强
- 观点独特或技术深度高
针对技术受众,偏向于:
- - 人工智能
- 开发者工具
- 开源
- 基础设施
- 安全
- 数据工程
- 工程实践
去重
始终检查目标报告文件夹中的最新报告。
仅保留:
- - 新项目
- 排名/热度有明显变化的项目
- 有重大新进展的项目
- 之前见过但值得简短更新的项目
压缩或删除:
- - 无变化的重复内容
- 低信号填充内容
- 昨天/上次运行已包含且无有意义变化的项目
如果大多数候选内容与先前报道重复,则明确发布简短的增量版本。
输出结构
优先使用 Markdown,包含:
- - 带日期的标题
- 简短的“当前重点”部分
- 编号列表
- 每个项目的链接
- 一行说明关注理由
- 可选的讨论角度/关注点
保持语气简洁且有一定观点,使其具有实用性。
文件与命名规范
除非用户另有要求,使用以下布局:
text
automation/cron/<任务名称>.md
reports/<主题>/YYYY-MM-DD.md
reports/<主题>/YYYY-MM-DD-HH00.md
每日一次的报告使用仅含日期的文件名。每日多次运行的报告使用带小时戳的文件名。
常见模式
每日摘要
适用于用户希望每天获得一份高质量总结的情况。
推荐特征:
- - 5-10 个项目
- 更多综合归纳
- “今日观察”部分
- 仅含日期的文件名
日内简报
适用于用户希望每天获得多次更新的情况。
推荐特征:
- - 3-8 个项目
- 更强的去重
- 无重大变化时使用增量模式
- 带小时戳的文件名
多来源趋势观察
适用于结合 2-4 个互补来源,如 GitHub + Hugging Face + HN。
推荐特征:
- - 按来源分节输出
- 最终跨来源观察总结
- 除非角度不同,否则避免在不同节中重复同一项目
编辑现有自动化流程
将现有的一次性提示转换为可重用工作流时:
- 1. 保留已有效的部分:
- 信息来源顺序
- 输出格式
- 报告路径
- 2. 移除无法通用的偶然性细节。
- 保留可重用的操作逻辑:
- 获取
- 筛选
- 去重
- 保存
- 发送
- 4. 将具体示例和模板移至 references/,使 SKILL.md 保持精简。
打包或发布前的质量标准
在打包或发布前:
- - 保持 SKILL.md 简洁且聚焦于触发条件
- 确保描述清晰说明技能应在何时激活
- 在 references/ 中至少提供一个可重用的提示模板
- 避免在技能内添加 README 或变更日志等额外文档
- 打包精确的技能文件夹
- 拒绝未指定去重或保存路径的模糊提示
参考资料
- - 阅读 references/examples.md 获取具体自动化示例。
- 阅读 references/templates.md 获取可重用的定时提示模板。