360 Secure SkillHub
360 安全技能中心

Oura (API v2)

该 Skill 通过 Oura 个人访问令牌调用 Oura v2 用户数据接口,按指定日期抓取睡眠、准备度和活动数据,规范化为统一的每日 JSON,再渲染成简短的 Markdown 摘要消息,供任意聊天渠道使用;不指定目的地渠道,需要在环境中提供 OURA_ACCESS_TOKEN。

分类:生活
gavinchengcool
gavinchengcool
热度 37.80
最近更新 2026-05-11 17:31:16

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add gavinchengcool/openclaw-oura
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
openclaw-oura
description
Oura Ring data source for OpenClaw (Tier 1). Use to connect an Oura account using an Oura Personal Access Token, fetch Oura v2 usercollection data (sleep, readiness, activity), normalize it into a stable daily JSON shape for the Wellness hub, and render a short summary message for any chat channel.

Oura (Personal Access Token)

This is a source skill. It fetches Oura data and outputs normalized daily JSON + a human-readable digest. It does not hardcode the destination channel.

Configuration

Required env var:

  • OURA_ACCESS_TOKEN

Optional:

  • OURA_TZ (default: Asia/Shanghai)

Fetch + normalize for a day

python3 scripts/oura_fetch_daily.py --date today --out /tmp/oura_raw_today.json
python3 scripts/oura_normalize_daily.py /tmp/oura_raw_today.json --out /tmp/oura_today.json
python3 scripts/oura_render.py /tmp/oura_today.json --format markdown --channel generic

Notes

  • API reference: references/oura_api.md
  • Output schema: references/output_schema.md