Fetch Oura Ring sleep data using the ouraclaw CLI. Use when the user asks about their sleep score, sleep data, sleep stages, HRV, heart rate during sleep, bedtimes, or any Oura Ring data. Triggers on "sleep score", "how did I sleep", "oura data", "sleep data", "last night's sleep", "sleep quality", "HRV", or any request for Oura Ring metrics.
Install
npx skills add https://github.com/montagao/skills --skill ouraclawSKILL.md
Ouraclaw
Fetch Oura Ring sleep data via the ouraclaw CLI. Outputs JSON to stdout.
Ensure ouraclaw is installed
which ouraclaw
If not found:
git clone https://github.com/montagao/ouraclaw.git ~/projects/ouraclaw
cd ~/projects/ouraclaw && bun install && bun link
If auth is needed (no tokens in .env), run cd ~/projects/ouraclaw && ouraclaw auth.
Commands
# Last night's sleep score
ouraclaw score
# Date range
ouraclaw score --start 2025-02-01 --end 2025-02-15
# Detailed sleep sessions (stages, HR, HRV, bedtimes)
ouraclaw sleep
# Date range
ouraclaw sleep --start 2025-02-01 --end 2025-02-15
Extracting fields with jq
ouraclaw score | jq '.data[0].score'
ouraclaw sleep | jq '.data[0] | {bedtime_start, bedtime_end}'
ouraclaw score --start 2025-02-01 --end 2025-02-15 | jq '[.data[] | {day, score}]'
Error handling
- "No access token": Run
cd ~/projects/ouraclaw && ouraclaw auth. - 401 after auto-refresh fails: Re-run
ouraclaw auth.
Related skills
home-assistant-best-practiceshomeassistant-ai7.6KBest practices for HA automations, helpers, scripts, and dashboards. TRIGGER THIS SKILL WHEN: - Creating or editing automations, scripts, scenes, dashboards, blueprints - Choosing template sensors, helpers, or Jinja macros - Restructuring triggers, conditions, or modes; button, remote, or event-entity automations - Renaming entities or migrating device_id to entity_id - Looking up card types or domain docs; writing AppDaemon apps - Deleting or restoring a backup, or upgrading Core or the OS SYMPweatheropenclaw6.5KCurrent weather and forecasts with web_fetch, falling back to wttr.in curl for locations, rain, temperature, travel planning.ljg-relationshiplijigang6.2KRelationship analyst combining structural diagnostics (5-layer framework) with psychoanalytic depth (transference, unconscious patterns, resistance). Guides users through dialogue to "see" the real structure of their relationship issues. Use when user says "关系分析", "分析关系", "relationship", "人际关系", or describes a specific relationship problem they want to understand.kbo-resultsnomadamas5.8KFetch KBO game schedules and results for a specific date with the kbo-game npm package. Use when the user asks for today's KBO games, yesterday's scores, or a date-specific scoreboard.
