微算力 · API 导航与自营网关
API 接入 EN
未登录登录
💍

Oura 健康数据一键掌控

Oura Ring Integration · v1.0.1
developer-tools 安全 S+ 级 作者 ruhrpotter 公开目录收录
2.7k 下载 4 安装 12.7k 收藏 8 浏览

简介

通过命令行获取 Oura Ring 健康数据,支持睡眠、心率、活动、压力等多维度生理指标查询,适合健康追踪与数据分析场景。

原始描述

Retrieve and summarize health, sleep, activity, readiness, and biometric data from the Oura Ring API via a command-line interface.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/oura-ring-integration/
其它 Agent解压到它自己的 skills 目录,目录名用 oura-ring-integration

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文

Oura Ring CLI Skill

Description

This tool allows retrieving health and biometric data from the Oura Ring API (V2) via a command-line interface. Use this to answer questions about the user's sleep, activity, readiness, and physiological stats.

Repository: https://github.com/ruhrpotter/oura-cli

Prerequisite

The CLI must be authenticated. If a command fails with an auth error, notify the user to run ./oura auth login.

Syntax

./oura get <category> [flags]

Categories

  • personal: User profile (age, weight, height, email).
  • sleep: Daily sleep scores and efficiency.
  • activity: Daily activity scores, steps, and movement.
  • readiness: Daily readiness scores indicating recovery.
  • heartrate: Time-series heart rate data.
  • workout: Detailed workout sessions.
  • spo2: Blood oxygen saturation levels.
  • sleep-details: Detailed sleep sessions including hypnograms.
  • sessions: Activity sessions (e.g. naps, rest).
  • sleep-times: Optimal bedtime guidance.
  • stress: Daily stress levels.
  • resilience: Daily resilience scores and recovery.
  • cv-age: Cardiovascular age estimates.
  • vo2-max: VO2 Max measurements.
  • ring-config: Ring hardware configuration (color, size, etc.).
  • rest-mode: Rest mode periods.
  • tags: Enhanced tags (notes, lifestyle choices).

Arguments

  • --start <YYYY-MM-DD>: REQUIRED for most time-series data. The start date of the range.
  • --end <YYYY-MM-DD>: OPTIONAL. The end date of the range. If omitted, it may default to the start date or return a single day depending on context.

Agent Instructions

  1. Date Resolution: You MUST resolve all relative date terms (e.g., "today", "yesterday", "last week", "this month") into absolute YYYY-MM-DD string format based on the current operational date.
  2. Date ranges:
    • For "today": Set --start to today's date.
    • For "yesterday": Set --start to yesterday's date.
    • For "last 7 days": Set --start to 7 days ago and --end to today.
  3. Path: Assume the binary is ./oura in the current working directory unless the user specifies otherwise.
  4. Output: The CLI returns JSON. Parse the JSON data array to formulate a natural language response.

Examples

User Request: "How was my sleep last night?" Context: Today is 2024-03-15. "Last night" usually implies the sleep session ending on the morning of today, or the previous day's data depending on how Oura dates it (Oura dates sleep by the morning it ends). Reasoning: Sleep for the night of the 14th to 15th is logged as 2024-03-15. Command:

./oura get sleep --start 2024-03-15

User Request: "What is my readiness score today?" Context: Today is 2024-03-15. Command:

./oura get readiness --start 2024-03-15

User Request: "Show my heart rate for the first week of January 2024." Command:

./oura get heartrate --start 2024-01-01 --end 2024-01-07

User Request: "Who am I?" Command:

./oura get personal

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

health-trackingwearablesclibiometricssleep-analysisfitness-dataapi-clientquantified-self

同类 Skill