Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

qqbot-daily-news-briefingqqbot 每日新闻简报

Agent Skill

qqbot-daily-news-briefing 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,399

周安装

98

GitHub Stars

公开资料未说明

下载量

776
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qqbot-daily-news-briefing(qqbot 每日新闻简报)
来源仓库:https://github.com/propn/qqbot-daily-news-briefing
安装命令:
openclaw skills install qqbot-daily-news-briefing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install qqbot-daily-news-briefing

简介

使用百度 API 或 DuckDuckGo 搜索,通过 QQ、Telegram 或 Discord 生成并提供带有人工智能评论的自动化每日科技和金融新闻简报。

SKILL.md

name
daily-news-briefing
description
Automated daily news briefing generation and delivery system. Supports tech (AI, chips, semiconductors) and finance (stocks, markets, crypto) news from China and international sources. Features dual-search architecture with Baidu API (preferred) and DuckDuckGo fallback (no API key required). Use when users need: (1) Scheduled daily news delivery via cron jobs, (2) Multi-source news aggregation with AI commentary, (3) News generation with custom search queries, (4) Automated delivery to messaging channels (QQ/TG/Discord), or (5) Customizable briefing templates and delivery times.

Daily News Briefing Skill

Automated daily news briefing system that generates comprehensive tech and financial reports with AI-powered commentary and delivers them via configured messaging channels. Supports dual-search architecture with Baidu API (preferred when configured) and DuckDuckGo fallback (always available, no API key required).

Installation & Configuration

Step 1: Install via ClawHub

Option A: From ClawHub (Published)

# Search and install
clawhub search daily-news-briefing
clawhub install daily-news-briefing

# Verify installation
ls ~/.openclaw/skills/daily-news-briefing/

Option B: From Local Directory

# Copy skill to OpenClaw skills directory
cp -r /path/to/daily-news-briefing ~/.openclaw/skills/

# Verify structure
ls ~/.openclaw/skills/daily-news-briefing/scripts/

Step 2: Configure Environment Variables (Optional)

Note: The skill has a built-in fallback to DuckDuckGo if no Baidu API key is configured. Baidu API provides better structured data, but DuckDuckGo works perfectly fine without any API keys.

With Baidu API (Recommended for Better Results):

Create a configuration file with your Baidu Search API key:

Option A: System-wide (Recommended for servers)

# Create config file
sudo nano /etc/profile.d/daily-news-briefing.sh

# Add your configuration
export BAIDU_API_KEY="bce-v3/ALTAK-your-api-key-here"
export NEWS_TARGET_USER="9C12E02D9038B14FCEDCE1B69AAEAB3F"  # QQ user ID
export NEWS_CHANNEL="qqbot"  # qqbot, telegram, discord

# Reload configuration
source /etc/profile.d/daily-news-briefing.sh

Option B: User-specific

# Add to ~/.bashrc or ~/.zshrc
echo 'export BAIDU_API_KEY="your-api-key"' >> ~/.bashrc
echo 'export NEWS_TARGET_USER="target-user-id"' >> ~/.bashrc
source ~/.bashrc

Without API Key (Uses DuckDuckGo):

The skill will automatically use DuckDuckGo web search if no Baidu API key is configured:

# Just set target user and channel - that's it!
export NEWS_TARGET_USER="your-qq-user-id"
export NEWS_CHANNEL="qqbot"

Compare Search Methods:

FeatureBaidu APIDuckDuckGo
API Key Required✅ Yes (75 chars)❌ No
Result Quality🏆 Better structured data👍 Good for most use cases
Rate Limits⚠️ API quota applies✅ None
Setup Time~2 mins (get API key)0 mins (works out of box)
Content PreviewFull article snippetsTitle + URL only

*Recommendation*: Start with DuckDuckGo to test quickly, add Baidu API later if you need better content previews.

Step 3: Customize Delivery Settings (Optional)

Edit the delivery script to match your preferences:

nano ~/.openclaw/skills/daily-news-briefing/scripts/deliver-briefing.sh

Key settings to modify:

# Change target user ID
TARGET_USER="your-qq-user-id"  # Line ~10

# Change delivery channel (--channel parameter)
--channel qqbot      # QQ Bot (default)
--channel telegram   # Telegram
--channel discord    # Discord

Step 4: Set Up Cron Job for Automated Delivery

For daily delivery at 9:00 AM:

# Edit crontab
crontab -e

Add these lines (adjust paths if needed):

# Generate news at 9:00 AM
0 9 * * * source /etc/profile && cd ~/.openclaw/skills/daily-news-briefing/scripts && python3 generate-briefing.py >> /var/log/daily-news.log 2>&1

# Deliver at 9:01 AM  
1 9 * * * source /etc/profile && bash ~/.openclaw/skills/daily-news-briefing/scripts/deliver-briefing.sh >> /var/log/news-delivery.log 2>&1

Custom delivery times:

TimeCron Entry (Generate + Deliver)Use Case
7:00 AM0 7 * * * ...<br>1 7 * * * ...Early morning briefing
7:30 AM30 7 * * * ...<br>31 7 * * * ...After system fully up (recommended)
6:00 PM0 18 * * * ...<br>1 18 * * * ...Evening summary

Step 5: Test the Setup

Test API Key:

python3 -c "from generate_briefing import search_baidu; print(search_baidu('test', count=1))"

Generate News Manually:

cd ~/.openclaw/skills/daily-news-briefing/scripts
python3 generate-briefing.py

Check log: tail -20 /var/log/daily-news.log

Test Delivery:

bash deliver-briefing.sh

Check log: tail -30 /var/log/news-delivery.log

Verify Cron is Running:

# Check cron service
systemctl status cron

# View scheduled jobs
crontab -l

# Check last execution
grep "Starting news generation" /var/log/daily-news.log | tail -1

Step 6: Customize News Content (Optional)

Modify search queries in generate-briefing.py:

# Line ~85-90, customize keywords
china_tech = search_baidu('科技新闻 人工智能 芯片 AI 华为', count=3)
intl_tech = search_baidu('NVIDIA Broadcom Apple Microsoft AI', count=3)
china_finance = search_baidu('A 股 上证指数 港股 财经', count=3)
intl_finance = search_baidu('美股 纳斯达克 道琼斯 比特币', count=3)

Adjust article count: Change count=3 to 1-5 articles per category.

Customize AI commentary rules: See references/CONFIGURATION.md for pattern examples.

Components

Scripts

  • generate-briefing.py: Main news generation script. Fetches from 4 categories:

- China Tech News (AI, chips, Huawei, etc.) - International Tech News (NVIDIA, Apple, Microsoft, etc.) - China Financial Markets (A-shares, HK stocks) - International Finance (US stocks, Fed, crypto)

  • deliver-briefing.sh: Delivery wrapper with multiple fallback strategies:

- Method A: Direct OpenClaw CLI message send - Method B: Python delivery script - Method C: Create notification file

  • news-deliver-direct.py: Alternative Python-based delivery with headline extraction

References

See references/ for:

  • CONFIGURATION.md: Detailed setup guide and customization options
  • API_REFERENCE.md: Baidu API integration details and search query examples
  • TEMPLATE_EXAMPLES.md: Sample briefing outputs and markdown templates

Customization

Change Delivery Time

Edit crontab lines (format: minute hour day month weekday):

# 7:30 AM delivery
30 7 * * * ...
31 7 * * * ...

# 6:00 AM delivery  
0 6 * * * ...
1 6 * * * ...

Modify Search Queries

Edit queries in generate-briefing.py:

china_tech = search_baidu('科技新闻 人工智能 芯片 AI 华为', count=3)
intl_tech = search_baidu('NVIDIA Broadcom Apple Microsoft AI', count=3)

Add Custom Commentary Rules

See references/API_REFERENCE.md for commentary rule patterns.

Troubleshooting

No results from Baidu API:

  • Verify BAIDU_API_KEY is set and valid (length > 20 chars)
  • Check /var/log/daily-news.log for detailed errors

Delivery fails:

  • Check /var/log/news-delivery.log
  • Verify OpenClaw CLI is installed: openclaw --version
  • Confirm target user ID is correct in script config

Wrong headlines extracted:

  • Script supports both Chinese and English headers
  • Ensure markdown file has proper structure with ## 🖥️ and ## 📈 sections

Multi-Channel Delivery Configuration

Supported Channels

The skill supports any OpenClaw-configured messaging channel:

ChannelTarget FormatExample ValueNotes
QQBotc2c:USERIDc2c:9C12E02D...Default, for private QQ messages
Telegram@username or chat ID@mychannel or 123456789Bot must be added to channel
Discordguild-id/channel-id1234567890/9876543210Bot needs permissions
Slack#channel-name or @user#general or U123456Slack app configured

Configure Channel in Script

Method 1: Environment Variable

export NEWS_CHANNEL="telegram"  # qqbot, telegram, discord, slack
export NEWS_TARGET_USER="@mychannel"  # Channel-specific target

Method 2: Edit deliver-briefing.sh

Find line ~50 and modify:

--channel qqbot      # Change to your preferred channel
-t "qqbot:c2c:${TARGET_USER}"  # Update target format per channel

Channel-Specific Setup

For Telegram:

  1. Create a bot via @BotFather
  2. Add bot to channel/group
  3. Get chat ID using openclaw status
  4. Set NEWS_TARGET_USER="@channelname" or numeric ID

For Discord:

  1. Create application in Discord Developer Portal
  2. Invite bot to server with proper permissions
  3. Use format: guild-id/channel-id
  4. Test with: openclaw message send --channel discord -t "GUILD/CHANNEL" -m "Test"

For QQBot:

  • Ensure QQ Bot is configured in OpenClaw
  • Use c2c format for private messages
  • Target user ID available from chat metadata

Output Format

Generated briefing includes:

  • Date and timestamp header
  • 4 news categories with 3 articles each (customizable)
  • AI-powered Jarvis commentary for each article
  • Source attribution and read-more links
  • File size: typically 10-15KB

Delivery message includes:

  • Preview with first headlines from tech & finance sections
  • <qqfile> attachment tag for full markdown report
  • Footer with next delivery time notice

Logs & Monitoring

Log FileLocationPurpose
News generation/var/log/daily-news.logSearch results, article counts, errors
Delivery attempts/var/log/news-delivery.logSend status, fallback methods used

View recent logs:

# Today's news generation
tail -50 /var/log/daily-news.log

# Latest delivery result
grep "completed\|ERROR" /var/log/news-delivery.log | tail -10

Troubleshooting

No results from Baidu API:

  • Verify BAIDU_API_KEY is set and valid (length > 20 chars)
  • Check /var/log/daily-news.log for "Found X results" messages
  • Test: python3 -c "from generate_briefing import search_baidu; print(search_baidu('test', count=1))"
  • Fallback: If Baidu API fails, script automatically uses DuckDuckGo (look for "falling back to DuckDuckGo" in logs)

No results from any source:

  • Check network connectivity: ping -c 2 duckduckgo.com
  • Verify firewall isn't blocking outbound HTTP/HTTPS
  • Test DuckDuckGo directly: curl -s "https://html.duckduckgo.com/html/?q=test"
  • Review /var/log/daily-news.log for detailed error messages

Delivery fails:

  • Check /var/log/news-delivery.log for specific error
  • Verify OpenClaw CLI is installed: openclaw --version
  • Confirm target user/channel ID is correct in script config
  • Test manual delivery: bash deliver-briefing.sh

Wrong headlines extracted:

  • Script supports both Chinese (## 🖥️ 中国科技新闻) and English headers
  • Ensure markdown file has proper structure with section markers
  • Check log shows file size > 1KB (not empty fallback)
  • DuckDuckGo results may have longer titles - this is normal

Cron job not running:

  • Verify cron service: systemctl status cron
  • Check crontab entries: crontab -l
  • Test cron timing: wait for scheduled time or adjust to test immediately
  • Check log rotation: old logs may be archived

Check which search method is being used:

# View log file
grep "Search method used" /var/log/daily-news.log | tail -1

# Or check footer of generated news file
tail -5 ~/daily-news-$(date +%Y%m%d).md

Expected output: 📊 Search method used: baidu or 📊 Search method used: duckduckgo

Notes

  • Script auto-generates filename with current date: daily-news-YYYYMMDD.md
  • Logs stored in /var/log/daily-news.log and /var/log/news-delivery.log
  • Fallback content generated if search returns no results (graceful degradation)
  • Supports multiple messaging channels via OpenClaw CLI
  • All credentials managed via environment variables (no hardcoded secrets)

Version: 1.0 Last Updated: 2026-03-28 Maintained by: Jarvis AI Assistant

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.27%
按下载量换算654

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills