agentleFS
WesleyyCWesleyyC/oura-skill/SKILL.md

oura

Skill0 starsChanged 4 months agoMITView on GitHub

Use when a user asks to retrieve, inspect, compare, export, summarize, or analyze Oura Ring or Oura Cloud API V2 data, including sleep, readiness, activity, heart rate, workouts, stress, SpO2, resilience, tags, sessions, or ring information.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. vellum-ai/vellum-assistant★ 1.5ksame name
    2. jincai/openclaw-skills★ 18same name
    3. davidmosiah/oura-mcp★ 5same name
    4. sumedhkhodke/oura-mcp-server★ 1same name
    5. AntVsl/oura_mcp★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 7 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the bundled dependency-free Python CLI for Oura Cloud API V2 access.

    line 8
  2. Distinctive:

    Never ask the user to paste a client secret, access token, refresh token, authorization code, or callback URL containing a code into chat.

    line 12
  3. Distinctive:

    Never pass secrets as command-line arguments, print configuration files, or expose raw Oura responses unless the user explicitly asks for …

    line 14
  4. Distinctive:

    Treat Oura output as sensitive health data.

    line 15
  5. Very specific:

    Use default when no profile is specified.

    line 16
  6. Distinctive:

    Keep OAuth tokens and records isolated by profile.

    line 17
  7. Distinctive:

    Treat absent records as missing data, not zero.

    line 18
  8. Very specific:

    Run status. This is safe before configuration and never prints credentials.

    line 32
  9. Very specific:

    If app credentials are missing, ask the user to run configure in their own terminal.

    line 33
  10. Very specific:

    If the selected profile is not authorized, ask the user to run authorize --profile default --open-browser.

    line 34
  11. Distinctive:

    Read references/endpoints.md for the allowlisted resource map and expected OAuth scopes.

    line 37
  12. Distinctive:

    Use the official Oura API V2 documentation when current API behavior must be verified.

    line 49

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Oura

Use the bundled dependency-free Python CLI for Oura Cloud API V2 access. It handles OAuth, refresh-token rotation, pagination, bounded retries, and isolated profiles. Prefer it to direct curl calls.

Safety contract

  • Never ask the user to paste a client secret, access token, refresh token, authorization code, or callback URL containing a code into chat.
  • Have the user run configure and authorize in their own terminal. configure obtains the client secret with a hidden prompt and saves private files locally.
  • Never pass secrets as command-line arguments, print configuration files, or expose raw Oura responses unless the user explicitly asks for the raw data.
  • Treat Oura output as sensitive health data. Return only what the request needs and do not persist or publish it unless explicitly asked.
  • Use default when no profile is specified. Before accessing another profile, name it explicitly and confirm the intended profile.
  • Keep OAuth tokens and records isolated by profile. Only combine profiles for an explicitly requested comparison, and label every result.
  • Treat absent records as missing data, not zero. State the profile and requested date or datetime range in summaries.

Locate the CLI

Resolve the CLI from the skill that was actually loaded: take the absolute directory containing this SKILL.md, append scripts/oura.py, and use that absolute path for every command. Do not assume a particular installation directory or invoke a different checkout.

python3 /absolute/path/to/the/loaded/oura-skill/scripts/oura.py COMMAND

The CLI uses only the Python standard library; do not install packages for normal use.

Workflow

  1. Run status. This is safe before configuration and never prints credentials.
  2. If app credentials are missing, ask the user to run configure in their own terminal. The default profile is default, and the default redirect URI is http://localhost:8910/callback.
  3. If the selected profile is not authorized, ask the user to run authorize --profile default --open-browser. The loopback listener validates OAuth state before saving tokens.
  4. For a daily overview, run daily --start-date YYYY-MM-DD --end-date YYYY-MM-DD --profile default. Both endpoints are inclusive, and the result contains activity, readiness, and sleep for one profile.
  5. For other data, run resources, then get RESOURCE with the supported date, datetime, --latest, --fields, or --all-pages options. Pass the user's actual end date; the CLI normalizes endpoint-specific Oura behavior internally.
  6. Read references/endpoints.md for the allowlisted resource map and expected OAuth scopes.

To add another person or ring account, authorize a separate profile such as secondary. The Oura application credentials are shared locally, while OAuth tokens remain profile-specific. Change the default only when explicitly requested with default-profile PROFILE.

Error handling

  • 401: the CLI refreshes once. If authorization still fails, ask the user to reauthorize that profile.
  • 403: explain that OAuth consent may lack the resource's scope; do not claim the data is absent.
  • 429 or 5xx: the CLI retries within a fixed bound. Report failure without an unbounded retry loop.
  • Empty results: mention the requested range, possible Oura sync delay, and that missing data is not a zero value.
  • Network failure: report it as a connectivity problem before suggesting reauthorization.

Use the official Oura API V2 documentation when current API behavior must be verified.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.