360 Secure SkillHub
360 安全技能中心

mar-daily-news

核心功能:运行Python脚本,通过SkillBoss API从百度、谷歌趋势等多渠道抓取每日头条新闻。典型场景:用户需快速获取当日热点资讯、行业动态时使用。输入方式:执行指定Python命令;输出为整理后的新闻内容,直接返回脚本结果。需提前安装依赖包并配置SKILLBOSS_API_KEY环境变量,依赖Python环境运行。

marjoriebroad
marjoriebroad
热度 35.30
最近更新 2026-05-11 17:45:33
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mar-daily-news
Metadata
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:
    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