lumapost
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 "lumapost" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1c7dd665c548eb2651878ad4496d5e9daee134ba1a3f5b679a2e642fcfc0464d. Verify the upstream source and version against https://skillhub.cn/skills/user_97a89d14/maomaolumapost 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
LumaPost — intelligent news email dispatch. Automatically searches latest news across eight fields such as AI, hardware, and finance; generates polished HTML emails and sends them to inboxes four times daily. Supports cloud deployment via GitHub Actions so it can send even when your computer is off.
Introduction source: third_party · user_97a89d14 · 2.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: lumapost
version: "2.0.0"
description: "LumaPost 光影邮报 - 智能新闻邮件推送。自动搜索全球AI/硬件/财经等8大领域最新资讯,生成精美HTML邮件,每日4次推送到邮箱。支持GitHub Actions云端部署(电脑关机也能发)。"
author: "QiXua"
category: "automation"
tags: ["news", "email", "automation", "ai", "daily", "github-actions"]LumaPost · 光影邮报 Skill
一键发送精美新闻邮件,支持早报/午报/午后速递/晚间总结四个时段。支持本地运行和 GitHub Actions 云端部署。
触发词
用户说以下内容时触发本 Skill:
发送 LumaPost 新闻邮件发一份光影邮报LumaPost 早报/午报/午后速递/晚间总结帮我发新闻邮件
使用方式(二选一)
方式一:GitHub Actions 云端部署(推荐 ✅)
优点:电脑关机也能自动发送,完全免费。
- Fork 本仓库到个人账号
- 在仓库 Settings → Secrets → Actions 中添加 5 个 secret:
SMTP_HOST=smtp.qq.comSMTP_PORT=465SMTP_SECURE=trueSMTP_USER=你的QQ邮箱@qq.comSMTP_PASS=你的SMTP授权码
- 点击 Actions → LumaPost Email → Run workflow 测试
- 系统会自动每天 6:00/12:00/16:00/24:00 发送邮件
方式二:本地运行(需 WorkBuddy 自动化)
直接对 WorkBuddy 说:
发送 LumaPost 新闻邮件
执行流程(本地模式)
当触发本 Skill 时,执行以下步骤:
第1步:检查配置
读取本地 .env 文件,确认以下配置存在:
SMTP_USER(QQ邮箱)SMTP_PASS(SMTP授权码)
第2步:搜索新闻
使用 WebSearch 工具搜索以下 8 个领域的最新新闻:
- AI大模型、人工智能
- 半导体芯片、硬件
- GitHub热门开源项目
- 国内重要新闻
- 国际新闻
- 手机数码
- 游戏动漫
- 财经理财
第3步:生成JSON数据
将新闻整理为 JSON 格式,保存到 data/latest.json。
第4步:生成HTML邮件
运行命令:
cd lumapost && node scripts/gen-html.js --data-file=data/latest.json --output=data/email.html
第5步:发送邮件
cd lumapost && node scripts/send-email.js --to=你的邮箱 --subject="LumaPost 光影邮报" --body-file=data/email.html
配置说明
本地配置(.env)
SMTP_HOST=smtp.qq.com
SMTP_PORT=465
SMTP_SECURE=true
SMTP_USER=你的QQ邮箱
SMTP_PASS=SMTP授权码
云端配置(GitHub Secrets)
在仓库 Settings → Secrets → Actions 中添加:
| Name | Value |
|---|---|
| SMTP_HOST | smtp.qq.com |
| SMTP_PORT | 465 |
| SMTP_SECURE | true |
| SMTP_USER | 你的QQ邮箱 |
| SMTP_PASS | 你的SMTP授权码 |
文件结构
lumapost/
├── .github/workflows/email.yml # GitHub Actions 工作流
├── SKILL.md # ← 本文件
├── README.md # 项目说明
├── GitHub部署教程/ # 详细部署教程
├── lumapost/
│ ├── scripts/
│ │ ├── gen-html.js # 生成HTML邮件
│ │ ├── send-email.js # 发送邮件
│ │ └── fetch-github.js # GitHub项目抓取
│ ├── data/ # 测试数据
│ ├── .env # 本地配置(不提交)
│ └── package.json
└── .workbuddy/ # WorkBuddy 自动化配置
定时自动运行
云端(GitHub Actions)
已自动配置,每天 4 次定时触发:
- 06:00(北京时间)早报
- 12:00(北京时间)午报
- 16:00(北京时间)午后速递
- 24:00(北京时间)晚间总结
本地(WorkBuddy 自动化)
在 WorkBuddy 中说:
创建 LumaPost 定时任务,每天6:00/12:00/16:00/24:00自动发送
⚠️ 本地方式需要 WorkBuddy 保持运行,电脑关机不执行。建议用 GitHub Actions。
常见问题
Q: 邮件收不到? A: 检查 GitHub Secrets 配置是否正确,或检查垃圾邮件箱。
Q: 能改邮件样式吗?
A: 编辑 lumapost/scripts/gen-html.js 中的 generateHTML() 函数。
Q: 新闻内容是真实的吗? A: 是的,每次运行都会通过 WebSearch 搜索最新新闻。
Q: 朋友能用我的仓库吗? A: 可以!Fork 本仓库,添加他自己的 Secrets 即可。
Q: 电脑关机还能发邮件吗? A: 使用 GitHub Actions 可以,完全云端运行,无需电脑开机。
进阶教程:修改版块与信息源
一、增加/删除新闻版块
第 1 步:修改 JSON 数据
编辑 lumapost/data/test-noon.json,在 sections 数组中添加或删除版块:
{
"sections": [
// ... 现有版块 ...
{
"name": "🏥 医疗健康",
"colorKey": "health",
"items": [
{
"title": "新闻标题",
"summary": "新闻摘要",
"quicknote": "一句话短评",
"source": "健康时报",
"time": "2026-06-29",
"url": "https://example.com",
"stars": 4,
"verified": true
}
]
}
]
}
第 2 步:添加版块颜色
编辑 lumapost/scripts/gen-html.js,找到 getSectionTheme() 函数,添加新颜色主题:
function getSectionTheme(key) {
const themes = {
ai: { icon: '🤖', gradient: '...' },
// ... 现有主题 ...
health: { icon: '🏥', gradient: 'linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%)' }
};
return themes[key] || themes.ai;
}
第 3 步:推送更新
git add lumapost/data/test-noon.json lumapost/scripts/gen-html.js
git commit -m "feat: 新增医疗健康版块"
git push origin main
二、修改信息源(接入实时新闻 API)
当前版本使用静态测试数据。如需实时新闻,推荐接入免费 API:
| API | 免费额度 | 申请地址 |
|---|---|---|
| NewsAPI | 100次/天 | https://newsapi.org |
| GNews | 100次/天 | https://gnews.io |
操作步骤:
- 注册获取 API Key
- 添加 GitHub Secret:
NEWS_API_KEY - 创建
scripts/fetch-news.js调用 API 生成 JSON - 修改
.github/workflows/email.yml,在 Generate HTML 前加 Fetch 步骤:
- name: Fetch latest news
env:
NEWS_API_KEY: ${{ secrets.NEWS_API_KEY }}
run: |
cd lumapost
node scripts/fetch-news.js --output=data/latest.json
- 将 Generate HTML 的输入改为
data/latest.json
如需现成的
fetch-news.js脚本,联系项目维护者获取。
三、修改定时发送时间
编辑 .github/workflows/email.yml:
schedule:
- cron: '0 0 * * *' # 北京时间 08:00(只发一次)
Cron 格式:分 时 日 月 星期
- UTC 时间 + 8小时 = 北京时间
四、修改邮件主题
编辑 .github/workflows/email.yml 中的 subject:
subject: 📰 我的每日新闻早报Current listing version
2.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 支持8大领域新闻聚合与精美HTML邮件生成
- 提供GitHub Actions云端部署方案,实现关机自动推送
- 覆盖早报/午报/午后速递/晚间总结四个时段
Areas to improve
-
触发词覆盖不全 Reported severity: Minor
缺少对'早报/午报'等时段触发词的口语化变体覆盖(如'来份早报')
Recommendation: 补充常见口语化触发词以提升匹配率
Highlights
- 核心触发词精准,边界清晰
- 覆盖主要使用场景
Areas to improve
-
文档过长 Reported severity: Minor
SKILL.md内容约1800行,超出推荐长度
Recommendation: 精简重复内容,将进阶教程移至独立文档
Highlights
- 结构完整,涵盖使用方式、配置、定时任务等关键信息
- 提供详细的文件结构与常见问题解答
Areas to improve
-
错误处理缺失 Reported severity: Major
未处理SMTP连接失败、WebSearch无结果等关键异常场景
Recommendation: 增加异常处理机制与用户提示
Highlights
- 云端部署方案成熟可靠
- 提供详细的配置说明与故障排查指南
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.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 249
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.
- example.com
- gnews.io
- newsapi.org
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.