Xpersona
每

每日新闻搜索与智能摘要

CLAWHUB · Unverified

Automatically scrape, process, and generate daily news digests from Chinese news sources. Covers industry dynamics, policy updates, economy, tech, energy, an... Skill: 每日新闻搜索与智能摘要 Owner: zigu-creator Summary: Automatically scrape, process, and generate daily news digests from Chinese news sources. Covers industry dynamics, policy updates, economy, tech, energy, an... Tags: latest:1.0.12 Version history: v1.0.12 | 2026-06-09T02:40:26.589Z | user v1.0.12 (2026-06-09) — Filtering Rules Expansion & Sync Fix Added 3 new exclusion categories to rules_config.py: cultural events/pro

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K 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 s174gcx5nz7epm7zrz1qwamqt184w949:news-digest-v1
  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-zigu-creator-news-digest-v1/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

85,748 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: news-digest
description: "Automatically scrape, process, and generate daily news digests from Chinese news sources. Covers industry dynamics, policy updates, economy, tech, energy, and pricing information. Use when: user asks for daily news summary, news digest, 每日新闻摘要, 新闻汇总, 新闻摘要, or wants to set up automated news monitoring from Chinese news websites. Outputs formatted summaries with source attribution and original links."
version: 1.0.12
---

# News Digest - 每日新闻摘要

Automated pipeline for Chinese news aggregation and digest generation.

## Quick Start (3 步搞定)

```bash
# 第 1 步:安装依赖
pip install requests beautifulsoup4

# 第 2 步:一键初始化(建表 + 插入示例网站 + 关键词)
python scripts/news_digest_v2/init_db.py

# 第 3 步:运行摘要
python scripts/news_digest_v2/run_all_stages.py
```

或者一条命令全部搞定:
```bash
python scripts/news_digest_v2/quick_start.py
```

Output: `.news-digest-out.md` (workspace) + `新闻摘要_YYYYMMDD_HHMMSS.txt` (desktop)

## Architecture

```
Stage 1:   Fetch     →  Scrape websites → Filter → Save to SQLite DB
Stage 2:   Process   →  Deduplicate (≥90% similarity) → Tag keywords
Stage 2.5: LLM       →  Batch LLM summarization (optional, requires API key)
Stage 3:   Output    →  Read LLM summaries (fallback to rule summaries) → Save to files
```

## Setup

### Prerequisites

- Python 3.8+ with: `requests`, `beautifulsoup4`
- SQLite (built-in)

### Initialize Database

Run the init script to create tables and seed with sample data:

```bash
python scripts/news_digest_v2/init_db.py
```

This creates:
- Database tables (articles, monitor_websites, system_keywords, digest_output)
- 10 sample news websites (People.cn, Xinhua, 36Kr, etc.)
- 18 sample keywords (产业, 政策, 经济, 科技, etc.)

Default database path: `news.db` (in the skill directory).
Override with environment variable: `NEWS_DIGEST_DB=/your/path/news.db`

### Customizing Your Sources

After initialization, add or remove websites and keywords via SQL:

```sql
-- Add a website
INSERT INTO monitor_websites (name, url, selector, category, priority)
VALUES ('示例网站', 'https://example.com', 'a', '财经', 1);

-- Add a keyword
INSERT INTO system_keywords (keyword, category, weight)
VALUES ('新能源', 'core', 5);
```

### Core Database Tables

| Table | Purpose |
|-------|---------|
| `articles` | Scraped news articles (title, content, URL, date, keywords, duplicate flag) |
| `monitor_websites` | Monitored websites (name, URL, CSS selector, category, enabled) |
| `system_keywords` | Keywords for relevance scoring (core vs auxiliary, with weight) |
| `digest_output` | LLM-generated summaries (optional) |

## Usage

### Full Pipeline

```bash
python scripts/news_digest_v2/run_all_stages.py
```

Takes ~13 minutes (network + LLM bound).

### One-Command Quick Start

```bash
python scripts/news_digest_v2/quick_start.py
```

Runs init + fetch + process + output in one shot.

### Cron Job Example

```yaml
schedule: "0 20 * * *"  # Daily 20:00
payload:
  run: python scripts/news_digest_v2/run_all_stages.py
  then: read .news-d

_meta.json

{
  "ownerId": "kn7983et5m2qgha7y8gvb8dgsn84w87m",
  "slug": "news-digest-v1",
  "version": "1.0.12",
  "publishedAt": 1780972826589
}

skill-card.md

## Description:

Automatically scrapes Chinese news sources, filters and deduplicates articles, and generates daily summaries with source attribution and original links.

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

## Publisher:

[zigu-creator](https://clawhub.ai/user/zigu-creator)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to set up a local Chinese news monitoring workflow that fetches news, filters low-relevance content, optionally summarizes with an LLM, and produces a daily digest for review or distribution.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can make broad network requests to configured news sites and custom article links.

Mitigation: Run it only with reviewed monitor_websites entries and trusted article sources before using the full pipeline.

Risk: The LLM stage can reuse an OpenClaw API key from local configuration when dedicated NEWS_DIGEST_LLM credentials are not set.

Mitigation: Set dedicated, limited NEWS_DIGEST_LLM_API_KEY and NEWS_DIGEST_LLM_BASE_URL values, or remove the OpenClaw config fallback before execution.

Risk: The skill writes a local SQLite database plus digest files in the workspace and Desktop.

Mitigation: Run it in a workspace where these writes are expected, and review generated digest content before sharing it.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/zigu-creator/skills/news-digest-v1)
- [Publisher profile](https://clawhub.ai/user/zigu-creator)

## Skill Output:

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

**Output Format:** [Markdown and plain text digest files with source titles, summaries, dates, and original links; setup guidance includes Markdown with bash and SQL snippets.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes .news-digest-out.md in the workspace and a timestamped Chinese text digest on Desktop; optional LLM summarization uses configured API credentials.]

## Skill Version(s):

1.0.12 (source: SKILL.md frontmatter and ClawHub release evidence, released 2026-06-09)

## 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 每日新闻搜索与智能摘要 and adjacent AI workflows.