← Back to Skills Marketplace
flyingtimes

MailMe X News

by flyingtimes · GitHub ↗ · v1.6.1
cross-platform ⚠ suspicious
490
Downloads
0
Stars
0
Active Installs
9
Versions
Install in OpenClaw
/install mailme-x-news
Description
抓取 X/Twitter 帖子,通过 AI 翻译成中文,并发送邮件。完全通过技能控制,无需额外脚本。
README (SKILL.md)

MailMe X News

抓取 X/Twitter 帖子,通过 AI 翻译成中文,生成综述,并发送邮件。

配置

创建配置文件 config.json(与 SKILL.md 同目录):

{
  "to": "[email protected]",
  "cc": "[email protected]"
}
  • to: 主收件人(必填)
  • cc: 抄送人(可选)

前置要求

  1. crawl-from-x - X/Twitter 抓取工具(Browser Relay + 登录 X)
  2. send-email - 邮件发送工具(已配置 SMTP 和密钥)
  3. translate - 翻译技能(已安装)

使用方法

快速开始

使用 crawl-from-x 技能抓取 X 推文

AI 会自动完成所有步骤:抓取 → 翻译 → 生成综述 → 合并 → 发送邮件 ✨


工作流程

  1. 抓取 - 调用 crawl-from-x 技能,保存到 results/posts_YYYYMMDD_HHMMSS.md
  2. 翻译 - 翻译为中文,保存为 posts_YYYYMMDD_HHMMSS_zh.md
  3. 生成综述 - 分析推文内容,生成综述,保存为 summary_YYYYMMDD_HHMMSS.md
  4. 合并 - 将综述和翻译推文合并为 summary_complete_YYYYMMDD_HHMMSS.md
  5. 发送邮件 - 使用合并后的文件发送邮件,内嵌图片,应用模板

文件说明

  • posts_*.md - 原始抓取文件
  • posts_*_zh.md - 翻译后的文件
  • summary_*.md - 仅包含综述部分
  • summary_complete_*.md - 综述 + 翻译推文的完整内容(用于邮件发送)

发送邮件

邮件发送会自动:

  • 读取 config.json 中的收件人和抄送人
  • 查找最新的 summary_complete_*.md 文件
  • 切换到 results/ 目录(确保图片相对路径正确)
  • 使用 default 模板(仿照 x.com 样式)
  • 自动检测 Markdown 格式并内嵌图片

关键: 必须在 results/ 目录下执行发送命令,否则图片无法正确解析。


注意事项

  1. Browser Relay 必须启动并已连接浏览器扩展
  2. 浏览器必须登录 X 账号
  3. 确保 send-email 技能已正确配置 SMTP 和密钥
  4. 定期清理旧文件,避免占用磁盘空间

故障排查

抓取失败

  • 检查 Browser Relay 状态:openclaw browser status
  • 确认浏览器扩展已连接(绿色图标)

翻译失败

  • 确认抓取已完成:ls -lht $CLAWD/skills/crawl-from-x/results/

发送失败

  • 检查配置:cat $CLAWD/skills/mailme-x-news/config.json
  • 检查 SMTP:cd $CLAWD/skills/send-email/scripts && python3 send_email.py config
  • 检查密钥:python3 send_email.py usernamepython3 send_email.py password
  • 确认合并文件存在:ls -lht $CLAWD/skills/crawl-from-x/results/summary_complete_*.md

邮件中没有图片

  • 确认在 results/ 目录下执行发送命令
  • 检查图片文件存在:ls -lh $CLAWD/skills/crawl-from-x/results/images/

定时任务

通过 OpenClaw cron 设置定时任务,每天自动发送 X 推文摘要。

示例:每天早上 8:00 执行

mailme-x-news

更新日志

  • 2026-03-02 v6 - 明确工作流程:抓取 → 翻译 → 生成综述 → 合并 → 发送邮件
Usage Guidance
Before installing or invoking this skill, verify how the required credentials and other skills are handled: 1) Inspect the 'send-email' skill to confirm where SMTP username/password are stored and whether they are kept in a secure secret store (not in plain scripts); 2) Inspect the 'crawl-from-x' skill to ensure it does not exfiltrate scraped content to unknown endpoints and that Browser Relay operation is local and authorized; 3) Confirm what $CLAWD points to in your environment and whether cross-skill file reads are acceptable; 4) Test in an isolated environment (or with non-sensitive accounts) first; 5) If you plan to schedule it, ensure the automated run uses least privilege and that recipient addresses in config.json are intended defaults; 6) If you need higher assurance, ask the publisher for a clear list of required credentials and a description of where secrets live and how image/content data is handled before granting the skill access. If you cannot audit the dependent skills, treat this skill as potentially risky.
Capability Analysis
Type: OpenClaw Skill Name: mailme-x-news Version: 1.6.1 The skill's `SKILL.md` instructs the AI agent to perform actions that, while aligned with its stated purpose of processing and emailing X/Twitter content, demonstrate risky capabilities. Specifically, the agent is instructed to change directories (`cd results/`) and to execute diagnostic commands like `python3 send_email.py password` (in SKILL.md) which queries sensitive configuration data. While these actions are presented for legitimate troubleshooting, they highlight the agent's ability to navigate the filesystem and access potentially sensitive information, which could be leveraged by a malicious prompt injection if the agent's output is not properly secured.
Capability Assessment
Purpose & Capability
The skill claims only to fetch X posts, translate, and email them, which is coherent at a high level, but it relies on three other skills (crawl-from-x, send-email, translate) and platform state (Browser Relay, logged-in browser). The SKILL.md does not declare any required credentials or environment variables even though sending email (SMTP credentials) and driving a logged-in X account clearly require secrets and config held somewhere. That gap is disproportionate and unexplained.
Instruction Scope
Runtime instructions tell the agent to read and operate on files in other skills' directories (e.g., $CLAWD/skills/crawl-from-x/results/, $CLAWD/skills/send-email/scripts) and to run commands such as 'python3 send_email.py username' and 'openclaw browser status'. The document references the $CLAWD environment variable and instructs the agent to change directories into results/ before sending mail. These steps mean the agent will read other skills' files and may access credentials or sensitive files — but those accesses are not documented in requires.env.
Install Mechanism
This is an instruction-only skill with no install spec and no code files; nothing is written to disk by an installer. That minimizes installation risk.
Credentials
No environment variables, credentials, or config paths are declared, yet the workflow depends on SMTP keys, a logged-in X browser session, and a platform path ($CLAWD). The skill implicitly assumes other installed skills hold sensitive credentials, but doesn't state which secrets are required or how they're protected. That lack of declared proportionality is a red flag.
Persistence & Privilege
always is false and there is no install-time persistence requested. The skill can be invoked by the agent (normal default), but it does not claim elevated or always-on privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mailme-x-news
  3. After installation, invoke the skill by name or use /mailme-x-news
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.6.1
完善工作流程文档,明确抓取→翻译→生成综述→合并→发送邮件的步骤
v1.6.0
v1.6.0 - 更新 default 模板。正文 24px 粗体,浅色渐变底色,装饰边框。YouTube 风格配色,清晰易读。
v1.5.0
v1.5.0 - 更新 default 模板为 YouTube 风格。使用 YouTube 的设计语言,清晰易读,现代简约。
v1.4.0
v1.4.0 - 更新 default 模板集成。使用新的紫色渐变设计,每个帖子独立卡片,增强视觉效果。更新文档,说明模板的使用方式和效果。
v1.3.0
v1.3.0 - 添加模板支持。使用 --template default 参数启用仿照 x.com 样式的默认模板,现代简约商务风格,卡片式布局。完全兼容 Markdown 自动检测和图片内嵌。
v1.2.0
v1.2.0 - 完善文档,添加环境变量说明。修正所有使用绝对路径的地方,改用 确保跨环境兼容。
v1.1.0
v1.1.0 - 使用 环境变量确保跨环境兼容。修正发送邮件时的工作目录问题,确保图片正确内嵌。新增故障排查文档。
v1.0.1
修复:使用 环境变量替代绝对路径,确保跨环境兼容。新增:发送邮件前必须切换到 results 目录的工作流程说明。
v1.0.0
Initial release: 抓取 X/Twitter 帖子,AI 翻译成中文并自动发送邮件
Metadata
Slug mailme-x-news
Version 1.6.1
License
All-time Installs 0
Active Installs 0
Total Versions 9
Frequently Asked Questions

What is MailMe X News?

抓取 X/Twitter 帖子,通过 AI 翻译成中文,并发送邮件。完全通过技能控制,无需额外脚本。 It is an AI Agent Skill for Claude Code / OpenClaw, with 490 downloads so far.

How do I install MailMe X News?

Run "/install mailme-x-news" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is MailMe X News free?

Yes, MailMe X News is completely free (open-source). You can download, install and use it at no cost.

Which platforms does MailMe X News support?

MailMe X News is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MailMe X News?

It is built and maintained by flyingtimes (@flyingtimes); the current version is v1.6.1.

💬 Comments