ruhrpotter

Oura Ring Integration

生活サービスv1.0.2
作者:ruhrpotter更新日 2026-05-11全 3 バージョン · 最新版の公開日 2026-01-08oura@clawhub_ruhrpotter/oura
健康管理#Repository

AlphaMoatによると、2026-09時点でOura Ring Integrationのダウンロード数は3,878、スター数は4で、AIスキル全体5,078件中2,680位、生活サービスでは246件中105位です。

インストール数
243
ダウンロード数
3878
スター数
4
総合順位
#2,680
全体の上位 53% · 生活サービスの上位 43%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11936244-
SkillHub ↗24338784—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

ruhrpotter/oura-cli リポジトリから CLI をビルドし、OAuth で認証(トークンは ~/.config/oura-cli/config.json に保存)した後、./oura get <category> に --start/--end の日付範囲を付けて照会します。カテゴリには sleep・activity・readiness・heartrate・workout・spo2・sleep-details・stress・resilience・cv-age・vo2-max・ring-config などがあり、ほとんどの時系列データでは --start <YYYY-MM-DD> が必須で --end は任意です。CLI は認証済みである必要があり、認証エラー時は ./oura auth login の実行をユーザーに促します。相対日付(今日、昨日、先週)は絶対的な YYYY-MM-DD 形式に解決し、出力は JSON です。

資料公開日 2026-10-27

できること

  • ユーザーの睡眠スコア・コンディション・活動量に関する質問に回答
  • 日付範囲を指定して心拍数の時系列やワークアウト記録を照会
  • 個人プロフィールとリングのハードウェア設定を取得

使う場面

  • ユーザーが Oura Ring の睡眠・コンディション・心拍数などの健康データを尋ねるとき
  • 健康やバイオメトリックの質問に Oura API (V2) のデータが必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

昨夜の睡眠はどうだった?
今日のコンディションスコアは?
2024 年 1 月第 1 週の心拍数データを見せて

月次の推移

ダウンロード数3878
2580327739742026-03 · ダウンロード数 26762026-05 · ダウンロード数 30472026-06 · ダウンロード数 31942026-07 · ダウンロード数 34862026-08 · ダウンロード数 36002026-09 · ダウンロード数 387826-0326-09
スター数4
3452026-03 · スター数 42026-05 · スター数 42026-06 · スター数 42026-07 · スター数 42026-08 · スター数 42026-09 · スター数 426-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093878—4
2026-083600+3.3%4
2026-073486+9.1%4
2026-063194+4.8%4
2026-053047—4
2026-032676—4

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.6 KB・ClawHub v1.0.2
# 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](https://github.com/ruhrpotter/oura-cli)

## Installation

### 1. Build the CLI
すべて表示(全 99 行)
```bash
cd ~
git clone https://github.com/ruhrpotter/oura-cli.git
cd oura-cli
go build -o oura ./cmd/oura
```

### 2. Create Oura OAuth App
1. Go to [Oura Developer Portal](https://cloud.ouraring.com/oauth/developer)
2. Create a new application
3. Set Redirect URI to: `http://localhost:8080/callback`
4. Note down your **Client ID** and **Client Secret**

### 3. Authenticate
```bash
export OURA_CLIENT_ID="your_client_id"
export OURA_CLIENT_SECRET="your_client_secret"
./oura auth login
```

A browser will open for OAuth authorization. Tokens are stored in `~/.config/oura-cli/config.json`.

## 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**:
```bash
./oura get sleep --start 2024-03-15
```

**User Request**: "What is my readiness score today?"
**Context**: Today is 2024-03-15.
**Command**:
```bash
./oura get readiness --start 2024-03-15
```

**User Request**: "Show my heart rate for the first week of January 2024."
**Command**:
```bash
./oura get heartrate --start 2024-01-01 --end 2024-01-07
```

**User Request**: "Who am I?"
**Command**:
```bash
./oura get personal
```

生活サービスの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。