← 返回
数据分析 中文

Oura Cli

Retrieve health and biometric data from your Oura Ring via CLI commands for sleep, activity, readiness, heart rate, and more using specified dates.
通过CLI命令从Oura Ring获取健康和生物特征数据,包括睡眠、活动、就绪状态、心率等,使用指定日期。
supadoopa
数据分析 clawhub v1.0.0 1 版本 99921.6 Key: 无需
★ 2
Stars
📥 1,235
下载
💾 19
安装
1
版本
#latest

概述

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 [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 : REQUIRED for most time-series data. The start date of the range.
  • --end : 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 03:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,832
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,250

Adam Skill 1.0.0

supadoopa
管理日程、任务、家庭协调、购物、预约和规划,提高个人组织能力和效率。
★ 0 📥 416