返回顶部
g

generate-daily-sports-update生成每日运动报告

Runs the sports science crawler to generate a daily report, sync to Notion, and prevent duplicate content.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
318
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

generate-daily-sports-update

生成每日体育动态

此技能运行dailysportsupdate.py脚本,用于获取最新的体育科学研究与可穿戴技术新闻。它自动处理去重功能,因此您可以频繁运行而无需担心看到重复内容。

前提条件

  • - Python 3:需要安装python3。
  • 依赖项:必须安装requirements.txt中定义的Python包(pip3 install -r requirements.txt)。
  • 环境变量
- NOTION_TOKEN:Notion API的集成令牌。 - NOTIONPAGEID:用于同步每日更新的Notion页面ID。
  • - 所需工具:您必须能够使用run_command工具在bash终端中执行脚本。

操作说明

  1. 1. 定位脚本
dailysportsupdate.py脚本位于用户的sports-science-daily目录中。您应首先确保处于正确的工作目录。
  1. 2. 运行更新
使用run_command工具执行Python脚本。

bash
python3 dailysportsupdate.py --days 2

- --days N:(可选)回溯天数(默认为7天)。如果长时间未运行,可增加此值(例如--days 7或--days 30)。
- --no-history:(可选)仅在需要强制重新获取已处理项目时使用(例如用于调试)。

  1. 3. 输出与同步
- 脚本将在本地生成一个Markdown文件,命名为:YYYY-MM-DD_运动科学日报.md - 它将使用Notion API自动将编译好的内容块直接同步到指定的Notion页面。 - 它会在本地更新processed_history.json,将已获取的URL/PMID标记为已处理。
  1. 4. 处理无新内容情况
- 如果脚本终端输出包含🎉 没有发现新内容,则表示回溯期内所有找到的项目均已处理并同步过。您可以尝试使用更大的--days参数运行。

安全与隐私说明

  • - 调用的外部端点
- https://eutils.ncbi.nlm.nih.gov:用于获取PubMed论文统计数据和摘要。 - https://api.notion.com:用于创建和填充每日报告。 - 各种RSS订阅源URL(例如Garmin、MySportScience、YouTube RSS)。
  • - 检查的文件:打开并更新processed_history.json,并在工作目录本地创建.md报告文件。
  • 此技能会发起网络请求以获取相关体育科学数据,但不会暴露任何用户个人身份信息。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 generate-daily-sports-update-1776273394 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 generate-daily-sports-update-1776273394 技能

通过命令行安装

skillhub install generate-daily-sports-update-1776273394

下载

⬇ 下载 generate-daily-sports-update v1.0.0(免费)

文件大小: 2.17 KB | 发布时间: 2026-4-16 17:45

v1.0.0 最新 2026-4-16 17:45
- Initial release of the generate-daily-sports-update skill.
- Runs a Python script to fetch recent sports science and wearable tech news, deduplicates entries, and syncs reports to Notion.
- Requires Python 3, Notion API credentials, and access to the run_command tool.
- Outputs a daily Markdown report and updates local history to prevent duplicate content.
- Utilizes several external endpoints, including PubMed and Notion APIs, with local file management for tracking processed items.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部