Agent skill

Morning Newspaper Assistant Skill

by DjangoPeng in DjangoPeng/agentic-ai

当用户希望生成 AI 早报、运行晨报链路、查看今日资讯摘要,或消息中包含”早报””晨报””今日资讯””新闻摘要”等关键词时触发。

MITAuto-check: notes

Install Morning Newspaper Assistant Skill

skills CLI
$ npx skills add DjangoPeng/agentic-ai --skill morning-newspaper-assistant-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install DjangoPeng/agentic-ai morning-newspaper-assistant-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/DjangoPeng/agentic-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/morning-newspaper/skills/morning-newspaper-assistant-skill .claude/skills/morning-newspaper-assistant-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
morning-newspaper-assistant-skill
GitHub stars
152
Token cost
~974 tokens
SKILL.md length
203 words
Files
2 (incl. scripts)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

当用户希望生成 AI 早报、运行晨报链路、查看今日资讯摘要,或消息中包含”早报””晨报””今日资讯””新闻摘要”等关键词时触发。

  • Works in 3 steps: 环境变量 MORNING_NEWSPAPER_ROOT → ~/projects/agentic-ai/morning-newspaper → ~/.openclaw/workspace/morning-newspaper
  • SKILL.md covers 项目依赖, 稳定目标, 稳定工作流 and 人工或模型回填点, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Morning Newspaper Assistant Skill is an agent skill from DjangoPeng/agentic-ai. 当用户希望生成 AI 早报、运行晨报链路、查看今日资讯摘要,或消息中包含”早报””晨报””今日资讯””新闻摘要”等关键词时触发。

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/run_morning_report.py`).

The repository describes itself as: 一套经过生产验证的 OpenClaw + Claude Code 实战知识库:涵盖生产部署、IM 接入、模型配置、安全加固,以及一系列可落地的 AI Agent 业务流项目(小红书发布 / 财务票据 / 智能早报 / CRM / 量化投研 / 密钥巡检自愈)。 The licence is MIT.

Example prompts

  • “/morning-newspaper-assistant-skill”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 环境变量 MORNING_NEWSPAPER_ROOT
  2. ~/projects/agentic-ai/morning-newspaper
  3. ~/.openclaw/workspace/morning-newspaper

What it can do on your machine

Read from SKILL.md and the folder at commit c8bc8f1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Morning Newspaper Assistant Skill loads about 974 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~974

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:154
    项目根目录 `.env` 至少需要:

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from DjangoPeng/agentic-ai at commit c8bc8f1, republished under its MIT licence (© DjangoPeng). 203 words, ~974 tokens.

Download SKILL.mdSave it as .claude/skills/morning-newspaper-assistant-skill/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
morning-newspaper-assistant-skill
description
当用户希望生成 AI 早报、运行晨报链路、查看今日资讯摘要,或消息中包含”早报””晨报””今日资讯””新闻摘要”等关键词时触发。

Morning Newspaper Assistant Skill

当用户希望运行中文 AI 晨报助手链路、生成 top10_publishable.json、输出静态页面、启动 8510 固定链接,或者排查邮箱提醒与成稿稳定性时,使用本 Skill。

项目依赖

这个 Skill 依赖完整项目仓库,不能只拷贝 SKILL.md 单独使用。

按以下顺序定位项目根目录:

  1. 环境变量 MORNING_NEWSPAPER_ROOT
  2. ~/projects/agentic-ai/morning-newspaper
  3. ~/.openclaw/workspace/morning-newspaper

若这些路径都不存在,应明确告诉用户:当前环境尚未部署完整项目仓库,请先完成部署。

主要入口:

  • <repo_root>/scripts/run_daily_pipeline.py
  • <repo_root>/config/sources.yaml

稳定目标

  1. runtime/top10_publishable.json 稳定为 10 条
  2. runtime/dashboard.html 稳定可生成
  3. 8510 固定链接稳定可用
  4. 右侧”今日待办提醒”优先读取真实邮箱结果,而不是占位 JSON
  5. 如果 IMAP 连通但收不到新邮件,自动继续走 POP3 fallback

稳定工作流

A. 每日稳定主流程

重要:不要直接执行 run_daily_pipeline.py。 该脚本是批处理入口,不会生成 LLM 结果文件。必须按以下步骤逐步执行,在每个"LLM 关口"处读取 prompt 文件、生成结果、再继续。

第一阶段:采集与准备
bash
python3 scripts/collect_mailbox.py
python3 scripts/collect_raw.py
python3 scripts/enrich_content.py
python3 scripts/prepare_title_shortlist.py

产出:

  • runtime/collected_raw.json
  • runtime/content_enriched.json
  • runtime/title_candidates.json
  • runtime/title_shortlist_prompt.txt
LLM 关口 1:标题粗筛

读取 runtime/title_shortlist_prompt.txt,按 prompt 要求生成结果,写入 runtime/title_shortlist_result.json。

必须基于本轮 title_candidates.json 生成,不能复用旧文件。

然后继续:

bash
python3 scripts/apply_title_shortlist.py
python3 scripts/prepare_draft_input.py

产出:runtime/shortlist.json、runtime/draft_input.json、runtime/draft_prompt.txt

LLM 关口 2:中文成稿

读取 runtime/draft_prompt.txt,按 prompt 要求生成结果,写入 runtime/draft_result.json。

必须基于本轮 draft_input.json 生成,不能复用旧文件。

然后继续:

bash
python3 scripts/apply_draft_results.py
python3 scripts/prepare_top10_ranking.py

产出:runtime/drafted_items.json、runtime/top10_ranking_input.json、runtime/top10_ranking_prompt.txt

LLM 关口 3:Top10 精排

读取 runtime/top10_ranking_prompt.txt,按 prompt 要求生成结果,写入 runtime/top10_ranking_result.json。

必须基于本轮 top10_ranking_input.json 生成,不能复用旧文件。

然后继续:

bash
python3 scripts/apply_top10_ranking.py
python3 scripts/build_dashboard.py
python3 scripts/check_runtime_status.py

产出:runtime/top10_publishable.json、runtime/dashboard.html

防串轮次机制

每个 apply 脚本会检查结果文件的修改时间是否晚于输入文件。如果结果文件更旧,说明是上一轮遗留的,脚本会报错要求重新生成。遇到此错误时,必须删掉旧文件、重新读取当前 prompt 生成新结果。

B. 只重建页面
bash
python3 scripts/run_daily_pipeline.py --rebuild-dashboard-only
C. 8510 固定链接服务
bash
./scripts/serve_dashboard_8510.sh

这个脚本会:

  • 停掉已有的 8510 服务实例
  • 在 runtime/ 目录下启动 python3 -m http.server 8510 --bind 0.0.0.0

人工或模型回填点

以下 3 个结果文件当前仍可由模型或人工回填:

  • runtime/title_shortlist_result.json
  • runtime/draft_result.json
  • runtime/top10_ranking_result.json

如果缺少这些文件,Skill 不应假装完成,而应明确指出缺的是哪一步。

页面与数据规则

  • Top10 必须完整展示 10 条
  • summary/summary_main 不允许是 [TEST] 标题 这类占位文本
  • Tavily 条目没有发布时间时,页面可以显示 -,不要额外加“待确认”文案
  • Tavily 图标不应退回默认 •
    • HN → 📰
    • GitHub → 🧰
    • 官方模型/研究页 → 🧠
    • 商业/融资新闻 → 💼
    • 其他 Tavily → 🔎
  • 邮箱提醒区如果没有真实提醒,应显示空态;不要保留“邮箱模块已切换为独立区域”这种占位卡片

邮箱规则

  • 真实邮箱提醒写入:runtime/executive_mailbox.json
  • 事件队列写入:runtime/mail_event_queue.json
  • 采集报告写入:runtime/mailbox_collect_report.json
  • 若 IMAP 成功但 alerts/events 都为空,且已开启 pop3_fallback_enabled,则必须继续尝试 POP3

邮箱配置

支持任何提供 IMAP/POP3 服务的邮箱(163、QQ、Gmail、Outlook 等),服务器地址在 config/sources.yaml 的 assistant_mailbox 段配置。

项目根目录 .env 至少需要:

text
IMAP_USER=your_email@example.com
IMAP_PASS=your_imap_authorization_code

注意:IMAP_PASS 填邮箱后台生成的客户端授权码 / 应用专用密码,不是网页登录密码。

页面输出

  • 静态页面:runtime/dashboard.html
  • 固定分享链接:http://<服务器IP>:8510/dashboard.html
  • Streamlit 看板入口:scripts/dashboard_app.py

回复要求

执行完后,至少汇报:

  • 当前链路完成到了哪一步
  • runtime/dashboard.html 是否已更新
  • 8510 页面服务是否正常
  • 采集总数、候选池数量、成稿数量、Top10 数量、邮箱提醒数量、异常来源数量
  • 如果缺少模型回填文件,明确指出缺的是哪一个

© DjangoPeng, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in morning-newspaper/skills/morning-newspaper-assistant-skill of DjangoPeng/agentic-ai.

  • SKILL.md
  • scripts/run_morning_report.py

Open the folder on GitHubat commit c8bc8f1

Compare with similar skills

Morning Newspaper Assistant Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Morning Newspaper Assistant Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Morning Newspaper Assistant Skill this skillDjangoPeng/agentic-ai152—~974Automated safety check: NotesMIT
Morning Brief Rendererasgeirtj/system_prompts_leaks69k—~4.5kAutomated safety check: PassCC0-1.0
Generic Assistantmastra-ai/mastra29k—~1.1kAutomated safety check: PassCustom licence
Morning Digestyc-software/qm15k—~756Automated safety check: PassMIT
N8n Docs Assistantn8n-io/n8n207k—~550Automated safety check: PassCustom licence
Nemoclaw Maintainer MorningNVIDIA/NemoClaw23k—~763Automated safety check: PassApache-2.0

Similar skills

  • Morning Brief Renderer

    asgeirtj/system_prompts_leaks

    Renders a calm, single-page HTML morning brief from your connected calendar, email and chat, or sets it up to run automatically on weekdays.

    69k GitHub stars~4.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Generic Assistant

    mastra-ai/mastra

    Fallback authoring playbook for building general-purpose personal assistant agents that do not fit a more specific archetype.

    29k GitHub stars~1.1k tokensUpdated today
    Sales & SupportAuto-check passed
  • Morning Digest

    yc-software/qm

    Assemble and deliver one short morning digest for the person who owns the cron — what changed overnight in the sources they already connected, and what it means for their day.

    15k GitHub stars~756 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Official

    Answers n8n product, setup, credential, node, hosting, API, and usage questions from current n8n docs.

    207k GitHub stars~550 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Official

    Prepare the NemoClaw morning maintainer plan: triage the backlog, select a target version, and identify release candidates and stragglers.

    23k GitHub stars~763 tokensUpdated today
    DevelopmentAuto-check passed
  • RAG Assistant

    Atmosphere/atmosphere

    Knowledge base assistant that retrieves and cites documents from a curated index.

    3.8k GitHub stars~504 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed

More from DjangoPeng/agentic-ai

  • Xhs Auto Publisher

    DjangoPeng/agentic-ai

    面向云服务器的小红书图文自动发布 Skill。适用于需要在 Linux 云服务器上,通过 Playwright/CDP、二维码人工接管、登录缓存、龙虾代发飞书群图片消息、截图留痕与审计日志来完成小红书草稿或发布流程的场景。

    152 GitHub stars~570 tokensUpdated 3 mo ago
    Auto-check passed
  • CRM Assistant

    DjangoPeng/agentic-ai

    将销售会议 transcript、飞书会议原始 JSON、飞书云文档正文或 Word/DOCX 会议纪要,转换成 CRM 结构化结果,并按客户信息表 + 商机推进快照表两表模型生成/同步飞书多维表格记录时使用。适用于多轮客户推进、客户画像增量更新、商机阶段判断、Lead Score 计算,以及“弱值不覆盖旧值、沟通风格/风险顾虑合并”的客户字段更新规则。

    152 GitHub stars~681 tokensUpdated 3 mo ago
    Auto-check passed
  • Financial Expense Automation

    DjangoPeng/agentic-ai

    当用户上传 PDF、JPG、JPEG、PNG 附件,或消息中包含"报销""发票""票据""录入""火车票""机票"等关键词时触发。对附件内容进行识别,若确认为报销票据则提取结构化字段并写入飞书多维表格;若识别后内容不是报销票据,告知用户并终止流程。

    152 GitHub stars~816 tokensUpdated 3 mo ago
    Auto-check passed
  • GitHub Secret Auditor

    DjangoPeng/agentic-ai

    当用户希望让 OpenClaw 通过 ACP 调度 Claude Code,对 GitHub 仓库进行 API Key、Token、密码、私钥、Webhook URL 等敏感信息泄露巡检、自动修复、验收、推送修复 commit,并通过飞书发送巡检报告时使用。

    152 GitHub stars~2.8k tokensUpdated 3 mo ago
    Auto-check: notes

Questions about Morning Newspaper Assistant Skill

What does Morning Newspaper Assistant Skill do?

当用户希望生成 AI 早报、运行晨报链路、查看今日资讯摘要,或消息中包含”早报””晨报””今日资讯””新闻摘要”等关键词时触发。. Morning Newspaper Assistant Skill is an agent skill from DjangoPeng/agentic-ai.

How do I install Morning Newspaper Assistant Skill in Claude Code?

Run `npx skills add DjangoPeng/agentic-ai --skill morning-newspaper-assistant-skill -a claude-code`. Or copy the skill folder (morning-newspaper/skills/morning-newspaper-assistant-skill in DjangoPeng/agentic-ai) into .claude/skills/morning-newspaper-assistant-skill in your project. Claude Code loads it when a task matches its description.

How do I install Morning Newspaper Assistant Skill in Codex?

Run `npx skills add DjangoPeng/agentic-ai --skill morning-newspaper-assistant-skill -a codex`. Or copy the skill folder (morning-newspaper/skills/morning-newspaper-assistant-skill in DjangoPeng/agentic-ai) into .agents/skills/morning-newspaper-assistant-skill in your project. Codex loads it when a task matches its description.

Can I use Morning Newspaper Assistant Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add DjangoPeng/agentic-ai --skill morning-newspaper-assistant-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/morning-newspaper-assistant-skill, .gemini/skills/morning-newspaper-assistant-skill, .github/skills/morning-newspaper-assistant-skill and .opencode/skills/morning-newspaper-assistant-skill in your project.

What does Morning Newspaper Assistant Skill need to run?

Going by SKILL.md and its folder, Morning Newspaper Assistant Skill needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Morning Newspaper Assistant Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Morning Newspaper Assistant Skill safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Morning Newspaper Assistant Skill use?

Morning Newspaper Assistant Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Morning Newspaper Assistant Skill use?

About 974 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Morning Newspaper Assistant Skill?

Skills that share tags, products or a category with Morning Newspaper Assistant Skill: Morning Brief Renderer (asgeirtj/system_prompts_leaks, 69k stars), Generic Assistant (mastra-ai/mastra, 29k stars), Morning Digest (yc-software/qm, 15k stars) and N8n Docs Assistant (n8n-io/n8n, 207k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Morning Newspaper Assistant Skill?

DjangoPeng (a GitHub user) maintains it in DjangoPeng/agentic-ai, which has 152 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 8, 2026.

Source: DjangoPeng/agentic-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.