Skip to main content
skill CX Codex

ouraclaw — Claude Code skill: what it does, how to install

Fetches Oura Ring sleep metrics and HRV using a local CLI tool. It helps you inspect sleep scores and sleep stages directly inside agent sessions.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add montagao/skills --skill ouraclaw -a claude-code
Open on GitHub

What ouraclaw does

This skill instructs the agent on how to call the ouraclaw command-line utility. The CLI prints raw JSON directly to stdout. The assistant reads sleep scores and bedtime intervals. It also pulls resting heart rate and heart rate variability metrics without extra wrappers.

Commands split into two paths. Running ouraclaw score fetches aggregate scores for last night or an explicit date window. Detailed sleep stages and timestamps require ouraclaw sleep. Specific attributes can be extracted via jq filters.

The tool depends on a local clone linked through Bun. Without running ouraclaw auth to store credentials in .env, the binary halts with a 401 error.

What it helps with

  • retrieve sleep scores for last night or date ranges
  • inspect bedtime timestamps and sleep stages
  • pull resting heart rate and HRV numbers in JSON
  • filter Oura Ring metrics using jq

Example prompts for the agent

  • How did I sleep last night according to my Oura Ring?
  • Check my sleep score between 2025-02-01 and 2025-02-15
  • Show my HRV and sleep stages from the last session

How to install ouraclaw

1Skills CLI (Vercel)

npx skills add montagao/skills --skill ouraclaw -a claude-code

2Manually: put the files in place

~/.claude/skills/ouraclaw/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ouraclaw/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ouraclaw

How do I install ouraclaw in Claude Code?

Run npx skills add montagao/skills --skill ouraclaw -a claude-code. You also need the ouraclaw repository cloned to ~/projects/ouraclaw and linked using Bun.

What does the ouraclaw skill do?

It gives your AI assistant instructions to pull Oura Ring sleep metrics via a local CLI. The agent can inspect night scores, sleep cycles, heart rate, and HRV.

How to fix a 401 error or missing access token?

Navigate into ~/projects/ouraclaw and execute ouraclaw auth. This refreshes expired tokens or writes new credentials into .env.

Similar skills

All skills for Notes, tasks and projects →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor