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.
npx skills add montagao/skills --skill ouraclaw -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/ouraclaw/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ouraclaw/
1Skills CLI (Vercel)
npx skills add montagao/skills --skill ouraclaw -a codex2Manually: put the files in place
.agents/skills/ouraclaw/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add montagao/skills --skill ouraclaw -a cursor2Manually: put the files in place
.cursor/skills/ouraclaw/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install montagao/skills ouraclaw2Manually: put the files in place
.github/skills/ouraclaw/SKILL.md1Skills CLI (Vercel)
npx skills add montagao/skills --skill ouraclaw -a gemini-cli2Platform CLI
gemini skills install https://github.com/montagao/skills --path ouraclawManually: put the files in place
.devin/skills/ouraclaw/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add montagao/skills --skill ouraclaw -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.