Xpersona
E

English Daily Report

CLAWHUB · Unverified

生成每日英语学习报告,包含新闻摘要、中文翻译、词汇注释、PDF 和音频版本。适用于:(1) 接收每日英语新闻摘要进行学习,(2) 获取中文翻译和词汇注释,(3) 生成 PDF 和音频版本用于离线学习 Skill: English Daily Report Owner: zhaofangzheng Summary: 生成每日英语学习报告,包含新闻摘要、中文翻译、词汇注释、PDF 和音频版本。适用于:(1) 接收每日英语新闻摘要进行学习,(2) 获取中文翻译和词汇注释,(3) 生成 PDF 和音频版本用于离线学习 Tags: audio:1.0.5, cron:1.0.5, english:1.0.5, latest:1.2.2, learning:1.0.5, news:1.0.5, pdf:1.0.5 Version history: v1.2.2 | 2026-03-26T03:41:26.118Z | user 安全修复:增强 HTML 转义防护,所有用户输入和动态内容均经过 escape_html 转义;添加安全说明文档 v1.2.1 | 2026-03-26T03:38:40.945Z | user 添加内容类型标注

62
Rank
84
Safety
991
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 991 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17ay6sh5bt1cn1agpp18kney983gzqq:english-daily-report
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zhaofangzheng-english-daily-report/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

109,329 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: english-daily-report
version: 1.2.2
description: 生成每日英语学习报告,包含新闻摘要、中文翻译、词汇注释、PDF 和音频版本。适用于:(1) 接收每日英语新闻摘要进行学习,(2) 获取中文翻译和词汇注释,(3) 生成 PDF 和音频版本用于离线学习
metadata:
  {
    "openclaw":
      {
        "emoji": "📰",
        "requires":
          {
            "bins": ["bash", "chrome"],
            "tools": ["tts", "web_search", "web_fetch"],
            "env": ["BRAVE_API_KEY(optional)"],
          },
        "install":
          [
            {
              "id": "chrome",
              "kind": "system",
              "label": "Google Chrome or Chromium (for PDF generation)",
              "check": "command -v google-chrome || command -v chromium || test -f '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'",
            },
          ],
      },
  }
---

# English Daily Report Skill - 英语每日报告

生成每日英语学习报告,包含新闻摘要、中文翻译、词汇注释、PDF 和音频版本。

## ⚠️ 前置依赖要求

**安装前请确认以下依赖已就绪:**

### 🔒 安全说明

本技能包含 PDF 生成脚本,已实施以下安全措施:

- **HTML 转义防护**:所有用户输入内容(标题、内容、翻译、词汇)均经过 HTML 实体转义
- **沙箱建议**:脚本在用户本地 workspace 运行,不访问外部网络
- **代码审查**:脚本开源可审计,位于 `scripts/generate-pdf-html.sh`

**建议**:首次使用前可审查脚本代码,确认无恶意内容。

| 依赖 | 类型 | 用途 | 是否必需 |
|------|------|------|----------|
| **Bash** | Shell | 运行生成脚本 | ✅ 必需 |
| **Chrome/Chromium** | 系统应用 | 无头模式渲染 PDF | ✅ 必需 |
| **TTS 工具** | OpenClaw 工具 | 生成音频 (MP3) | ✅ 必需 |
| **web_fetch 工具** | OpenClaw 工具 | 抓取新闻网页 | ✅ 必需 |
| **web_search 工具** | OpenClaw 工具 | 搜索今日新闻 | ⚠️ 可选(需 API 密钥) |
| **BRAVE_API_KEY** | 环境变量 | web_search 的 API 密钥 | ⚠️ 可选 |

### 检查依赖

```bash
# 检查 Chrome/Chromium
# macOS:
test -f "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" && echo "Chrome OK"
# Linux:
command -v google-chrome || command -v chromium || command -v chromium-browser

# 检查 TTS 工具(OpenClaw 内置)
openclaw help tts
```

### 安装 Chrome(如未安装)

- **macOS**: https://www.google.com/chrome/
- **Linux**: `sudo apt install chromium-browser` 或 `sudo yum install chromium`
- **Windows (WSL)**: 使用 Windows Chrome 路径

### 配置 TTS

TTS 使用 OpenClaw 内置工具,无需额外配置。可选配置语速:

```json
// ~/.openclaw/openclaw.json
{
  "messages": {
    "tts": {
      "edge": {
        "rate": "-15%"  // 负值=更慢,适合英语学习
      }
    }
  }
}
```

### 配置 Brave API(可选,用于真实新闻搜索)

```bash
# 获取 API 密钥:https://brave.com/search/api/
openclaw configure --section web
# 或设置环境变量:export BRAVE_API_KEY=your_key
```

---

## 工作流程

### 1. 获取新闻

**模式 A:真实新闻抓取(优先)**

使用 `web_search` 或 `web_fetch` 获取今日英语新闻:

```
# 前提:需要配置 Brave Search API 密钥
# 配置方法:openclaw configure --section web 或设置 BRAVE_API_KEY 环境变量

# 方式 1:使用 web_search 搜索今日新闻(freshness="pd" 表示过去一天)
web_search query="tech news" freshness="pd" count="5"
# 从返回结果中选择 1-2 篇,用 web_fetch 抓取具体内容

# 方式 2:直接用 web_fetch 尝试多个新闻源(无需 API 密钥)
# 按顺序尝试,直到成功获取内容
web_fetch url="https://www.chinadaily.com.cn/world"
web_fetch url="https://news.cgtn.com/"
web_fetch url="https://www.shanghaidaily.com/"
web_fetch url="https://www.globaltimes.cn/"
# 选择 1-2 篇相关新闻进行摘要
```

**⚠️ 重要:多链接尝试策略**

单个链接失败时,应依次尝试多个备用链接:
1. 先试首页/栏目页(如 `/world`、`/china`)
2. 再试具体文章页(从首页提取链接)
3. 至少尝试 3 个不同来

_meta.json

{
  "ownerId": "kn76w6d5wj7cgfm9yx32bzvg698397tb",
  "slug": "english-daily-report",
  "version": "1.2.2",
  "publishedAt": 1774496486118
}

references/example-report.md

# Example English Daily Report - 示例报告

## 真实新闻模式示例

**日期**: 2026-03-26

---

### 📰 English Daily Report - 2026-03-26

**【真实新闻 · Real News】**

**Title**: China's Quantum Computing Breakthrough Achieves New Milestone

**来源**: China Daily  
**原文链接**: https://www.chinadaily.com.cn/a/202603/26/WS67e3a1b2a310a88364c9f123.html

**English Content**:

Chinese scientists have announced a major breakthrough in quantum computing technology. Researchers at the University of Science and Technology of China successfully demonstrated a 512-qubit quantum processor, surpassing previous records. The achievement could accelerate developments in cryptography, drug discovery, and artificial intelligence. The team leader stated that this represents a significant step toward practical quantum computing applications. International experts praised the accomplishment as a landmark in the global quantum race.

**Chinese Translation**:

中国科学家宣布在量子计算技术领域取得重大突破。中国科学技术大学的研究人员成功展示了 512 量子比特处理器,超越了此前的记录。这一成就有望加速密码学、药物发现和人工智能领域的发展。团队负责人表示,这标志着向实用量子计算应用迈出了重要一步。国际专家称赞这一成就是全球量子竞赛中的里程碑。

**📝 Vocabulary & Grammar Notes**:

- **breakthrough** (n.): 突破
- **qubit** (n.): 量子比特(量子计算基本单位)
- **surpass** (v.): 超越,胜过
- **cryptography** (n.): 密码学
- **accelerate** (v.): 加速,促进
- **practical** (adj.): 实用的,实际的
- **landmark** (n.): 里程碑,地标

---

### 脚本命令

```bash
~/.openclaw/workspace/skills/english-daily-report/scripts/generate-pdf-html.sh \
  "2026-03-26" \
  "real" \
  "China's Quantum Computing Breakthrough Achieves New Milestone" \
  "Chinese scientists have announced a major breakthrough in quantum computing technology. Researchers at the University of Science and Technology of China successfully demonstrated a 512-qubit quantum processor, surpassing previous records. The achievement could accelerate developments in cryptography, drug discovery, and artificial intelligence. The team leader stated that this represents a significant step toward practical quantum computing applications. International experts praised the accomplishment as a landmark in the global quantum race." \
  "中国科学家宣布在量子计算技术领域取得重大突破。中国科学技术大学的研究人员成功展示了 512 量子比特处理器,超越了此前的记录。这一成就有望加速密码学、药物发现和人工智能领域的发展。团队负责人表示,这标志着向实用量子计算应用迈出了重要一步。国际专家称赞这一成就是全球量子竞赛中的里程碑。" \
  "breakthrough:突破" \
  "qubit:量子比特" \
  "surpass:超越" \
  "cryptography:密码学" \
  "accelerate:加速" \
  "practical:实用的" \
  "landmark:里程碑"
```

### TTS 命令

```
tts text="China's Quantum Computing Breakthrough Achieves New Milestone. Chinese scientists have announced a major breakthrough in quantum computing technology. Researchers at the University of Science and Technology of China successfully demonstrated a 512-qubit quantum processor, surpassing previous records. The achievement could accelerate developments in cryptography, drug discovery, and artificial intelligence. The team leader stated that this represents a significant step toward practical quantum computing applications. International experts praised the accomplishment as a landmark in the global quantum race."
```

skill-card.md

## Description:

Generates a daily English-learning report with a news-style summary, Chinese translation, vocabulary notes, PDF output, and TTS audio.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zhaofangzheng](https://clawhub.ai/user/zhaofangzheng)

### License/Terms of Use:

MIT-0

## Use Case:

External users and language learners use this skill to create a daily English study package from real news or clearly labeled study material, including text, PDF, and audio outputs.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security summary reports a local file-overwrite weakness in the PDF generation script.

Mitigation: Review the script before running it, restrict write access to the OpenClaw uploads directory, and harden date handling and temporary-file creation before production use.

Risk: The security summary says network and TTS privacy disclosure is incomplete.

Mitigation: Treat web fetching and TTS as external-service interactions and avoid sending sensitive content through those features unless the operator has approved the providers.

Risk: The security guidance warns against untrusted date values until the PDF script is hardened.

Mitigation: Use trusted ISO-style dates only, or add input validation and mktemp-based temporary files before accepting arbitrary user-supplied dates.

## Reference(s):

- [Example English Daily Report](references/example-report.md)
- [ClawHub skill page](https://clawhub.ai/zhaofangzheng/skills/english-daily-report)
- [Publisher profile](https://clawhub.ai/user/zhaofangzheng)
- [Google Chrome](https://www.google.com/chrome/)
- [Brave Search API](https://brave.com/search/api/)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown report content with shell commands for PDF generation and TTS audio creation]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces report text and guides creation of PDF and MP3 files under the OpenClaw uploads directory.]

## Skill Version(s):

1.2.2 (source: frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to English Daily Report and adjacent AI workflows.