360 Secure SkillHub
360 安全技能中心

Ouraskill

该 Skill 通过 uv 运行 scripts/sync_oura.py,使用 OURA_TOKEN 访问 Oura Ring API,抓取指定日期或最近 N 天的睡眠、准备度、活动、心率、压力、SpO2 与训练数据,写入 {baseDir}/health/YYYY-MM-DD.md,并可通过 OpenClaw 的 cron 工具定时同步。

freakyflow
freakyflow
热度 62.66
最近更新 2026-05-17 11:39:02
分类:生活依赖:代码执行 / 读写文件 / 第三方 API应用场景:健康 / 自动化脚本 / 数据处理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add oura-ring
Metadata
name
oura-ring
description
Syncs daily health and fitness data from Oura Ring into markdown files. Provides sleep, readiness, activity, heart rate, stress, SpO2, and workout data.
disable-model-invocation
true
metadata
{"openclaw":{"primaryEnv":"OURA_TOKEN","requires":{"bins":["uv"],"env":["OURA_TOKEN"]},"config":[{"id":"oura_token","label":"Oura Personal Access Token","type":"secret","env":"OURA_TOKEN"}]}}

Oura Ring

This skill syncs your daily health data from Oura Ring into readable markdown files.

Syncing Data

Sync today's data:

uv run {baseDir}/scripts/sync_oura.py

Sync a specific date:

uv run {baseDir}/scripts/sync_oura.py --date 2026-02-07

Sync the last N days:

uv run {baseDir}/scripts/sync_oura.py --days 7

Reading Health Data

Health files are stored at {baseDir}/health/YYYY-MM-DD.md — one file per day.

To answer health or fitness questions, read the relevant date's file from the {baseDir}/health/ directory. If the file doesn't exist for the requested date, run the sync command for that date first.

Cron Setup

Schedule the sync script to run every morning using OpenClaw's cron tool so your health data stays up to date automatically.