返回 Skill 列表
extension
分类: 数据与分析需要 API Key

mar-daily-news

每日通过SkillBoss API Hub抓取百度、Google等来源的热点新闻。

person作者: marjoriebroadhubclawhub

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:
    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:

pip install -r "{baseDir}/requirements.txt"

Set the environment variable:

export SKILLBOSS_API_KEY=your_skillboss_api_key