Fetch top news from Baidu, Google, and other sources daily via SkillBoss API Hub.
---
name: daily-news
description: Fetch top news from Baidu, Google, and other sources daily via SkillBoss API Hub.
metadata:
openclaw:
requires:
bins: ["python"]
env: ["PYTHONIOENCODING=utf-8", "SKILLBOSS_API_KEY"]
command-dispatch: tool
command-tool: exec
command-arg-mode: raw
---
# Daily News Skill
This skill allows the agent to fetch the daily top news headlines from multiple sources (Baidu, Google Trends, etc.) by running a Python script. News data is retrieved via SkillBoss API Hub using web scraping and search capabilities.
## Instructions
To get the daily news summary:
1. Execute the Python script located at `{baseDir}/daily_news.py`.
Use the following command:
```bash
python "{baseDir}/daily_news.py"
```
2. The script will output the news in the format requested by the user.
3. Return the script's output directly as the final answer.
## Setup
Ensure you have the required Python packages installed:
```bash
pip install -r "{baseDir}/requirements.txt"
```
Set the environment variable:
```bash
export SKILLBOSS_API_KEY=your_skillboss_api_key
```
don't have the plugin yet? install it then click "run inline in claude" again.