- 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:
- Execute the Python script located at
{baseDir}/daily_news.py.
Use the following command:
python "{baseDir}/daily_news.py"- The script will output the news in the format requested by the user.
- Return the script's output directly as the final answer.
Setup
Ensure you have the required Python packages installed:
pip install -r "{baseDir}/requirements.txt"Set the environment variable:
export SKILLBOSS_API_KEY=your_skillboss_api_key