How to Connect OpenClaw with Whoop Data for a 24/7 AI Health Assistant
Have you ever wished for a personal assistant who knows exactly how you slept last night, how well your body recovered, and whether you should hit the gym or take it easy today?
I recently discovered a practical way to make that happen. By connecting the rich body data from a Whoop wearable to OpenClaw—a versatile AI framework—I turned my AI assistant into a round‑the‑clock health coach that speaks plain English and actually understands my numbers.
This isn’t a complex coding project. It’s a step‑by‑step setup that anyone with a bit of patience can follow. In this guide, I’ll walk you through the entire process, from creating a Whoop developer app to receiving personalised health reports on your phone.
Why This Combination Makes Sense
A few months ago, a friend recommended I try the Whoop strap. I wore it for a while, and the data opened my eyes. It showed that my average sleep was only four to five hours a night. I’ve always been the type who can function on little sleep, but the numbers made it clear: that wasn’t healthy.
In tech and Web3 circles we often talk about “capital” and “principal”. But the truth is, your body is your most fundamental asset. I decided to take sleep seriously, aiming for a solid seven hours.
Whoop is excellent at giving detailed, professional‑grade insights: sleep stages, heart rate variability (HRV), recovery scores, and strain from daily activities. It also has a mature API that lets other applications access this data securely. The only downside? There’s no built‑in Chinese localisation, and even for English speakers, the raw data can feel overwhelming.
That’s where OpenClaw steps in. When connected to Whoop, your AI assistant can not only interpret those complex metrics but also answer your questions in natural language, generate daily summaries, and offer actionable advice based on your real‑time state. It’s like having a private health coach who never sleeps and always knows your latest stats.
What You’ll Need
-
A Whoop wearable (any model that syncs with the Whoop app) -
An OpenClaw instance (you can self‑host or use a managed service like Starchild) -
A Whoop developer account (free to create)
Step 1: Create an Application in the Whoop Developer Dashboard
Before OpenClaw can read your Whoop data, you need to give it permission. This is done through a standard OAuth flow, which requires you to register an “application” with Whoop.
-
Go to the Whoop Developer Dashboard. -
Click Create New Application. -
Fill in the basic details. Two fields are especially important: -
Privacy Policy URL – For a personal project, you can use a placeholder. I used a generic one that works. -
OAuth Redirect URLs – This is critical. It tells Whoop where to send the authorisation code after you log in. You can use a temporary redirect URL for the initial setup (I’ll share one that works).
-
-
Under Scopes, select all permissions. This ensures your assistant can access everything from sleep data to real‑time recovery metrics. -
After creation, you’ll receive three credentials: -
Client ID -
Client Secret -
Redirect URLs
-
Keep these safe. You’ll need them in the next step.
Step 2: Install the Whoop Skill for OpenClaw
OpenClaw uses “skills” to add new capabilities. There’s an official skill that handles the Whoop integration. Installing it is straightforward.
In your OpenClaw terminal (or chat interface), run:
clawhub install whoop-openclaw-skill
This command fetches the skill from Clawhub, the official skill repository, and installs it into your OpenClaw environment.
Step 3: Link Your Whoop Account to OpenClaw
Now it’s time to connect the pieces. You’ll provide the credentials from Step 1 to your AI assistant and complete the authorisation.
-
Send the credentials – Give your OpenClaw assistant the Client ID, Client Secret, and Redirect URLs you saved. The assistant will use them to generate a unique authorisation link.
-
Authorise in your browser – Copy that link and open it in any web browser. You’ll be taken to Whoop’s login page. Log in with your Whoop account and confirm that you want to grant access to your new “application”.
-
Capture the authorisation code – After you approve, the browser will redirect to the URL you specified, and the address bar will contain a
code=parameter. That long string is your authorisation code. -
Complete the setup – Send that code back to your OpenClaw assistant. It will exchange it for a refresh token and access token. At this point, the connection is established.
-
Set up automatic token refresh (optional but recommended) – Whoop access tokens expire after a while. To keep the connection alive, you can set a recurring task. Simply tell your assistant:
whoop_oauth run refresh every hourThis will refresh the tokens automatically, so you never have to repeat the manual authorisation.
Step 4: Design Your Personalised Health Report
This is where the magic happens. You can ask OpenClaw to generate a daily summary of your health data, delivered exactly when you want it. For example, I have mine send a detailed report every morning after I wake up.
You can customise the format to suit your preferences. Here’s a template I use that covers the most important metrics:
📋 Whoop Detailed Body Data Report — [Date]
━━━━━━━━━━━━━━━━━━━━━━
🌙 Sleep Analysis
• Bedtime: [time]
• Wake-up: [time]
• Actual sleep: [duration]
• Sleep cycles: [number]
• Sleep efficiency: [percentage]
• Sleep consistency: [percentage]
• Respiratory rate: [bpm]
💓 Cardiovascular Recovery
• Recovery score: [percentage]
• Heart rate variability (HRV): [ms]
• Resting heart rate: [bpm]
• Blood oxygen saturation: [percentage]
• Skin temperature: [°C]
🔥 Yesterday’s Strain
• Strain score: [value]
• Average heart rate: [bpm]
• Peak heart rate: [bpm]
• Calories burned: [kJ / kcal]
━━━━━━━━━━━━━━━━━━━━━━
📝 Recommendations
Based on your recovery and sleep data, here are personalised suggestions:
• [OpenClaw’s advice, e.g., “Consider a low‑intensity recovery workout today.”]
• [Sleep target for tonight]
• [Hydration and nutrition tips]
To set this up, simply tell your assistant:
“Every morning after I wake up, generate a report using this template and send it to me via [your preferred channel, e.g., Telegram, WhatsApp, or WeChat].”
Once active, you’ll receive a clean, readable summary every day without lifting a finger. You can also ask follow‑up questions like:
-
“Why was my HRV so low yesterday?” -
“What should I eat today to recover better?” -
“Based on my sleep debt, when should I go to bed tonight?”
Step 5: Bring It All to WeChat (or Any Messaging App)
If you don’t run your own OpenClaw instance or prefer to interact through WeChat, there’s an easy option. Starchild provides a ready‑to‑use service that connects OpenClaw to WeChat with almost no configuration.
With Starchild, you simply scan a QR code to link your WeChat account. Then you can receive your Whoop health reports directly in WeChat and chat with your AI assistant using the same interface. It’s a great way to make the experience feel native if you already live in WeChat for daily communication.
How to Use Your AI Health Assistant Day to Day
Once everything is set up, you’ll have a powerful tool that goes beyond simple reports. Here are a few ways to integrate it into your routine:
-
Morning check‑in – Let the assistant greet you with your recovery score and a suggestion for the day’s training intensity. -
Pre‑workout advice – Ask whether your body is ready for a high‑strain session or if you should stick to active recovery. -
Evening reflection – Review your day’s strain and see how it matches your recovery capacity. -
Long‑term tracking – Request trends over the past week or month to identify patterns, like how sleep affects your HRV.
Because the assistant has access to your historical data, it can answer context‑aware questions. For example, “How does my recovery this week compare to last week?” or “When did I last have a recovery score above 80%?”
Frequently Asked Questions
Do I need to own a Whoop strap to follow this guide?
Yes, this guide is specifically for Whoop users because the integration relies on Whoop’s API. If you use another wearable like an Apple Watch or Oura Ring, you would need a different skill or a custom integration.
Is programming experience required?
No. The steps are mostly about copying credentials, running one installation command, and pasting links into a browser. If you already have OpenClaw running, the rest is like setting up a new app on your phone.
How secure is this setup?
The connection uses OAuth 2.0, which means you never share your Whoop password with OpenClaw or any third party. You authorise a specific “application” (the one you created) to read your data, and you can revoke that permission at any time from your Whoop account settings.
I don’t have OpenClaw installed. Can I still do this?
You’ll need an OpenClaw instance to host the skill. If self‑hosting sounds daunting, look for managed services like Starchild that offer a pre‑configured OpenClaw environment with easy setup.
What data can OpenClaw access from Whoop?
If you selected all scopes during the developer app creation, your assistant can read sleep data, recovery metrics, heart rate, HRV, respiratory rate, skin temperature, blood oxygen saturation, strain scores, and more. It can also pull historical data, so you can ask about trends over any time period.
Can I customise the report language or format?
Absolutely. The template shown is just an example. You can tell your assistant exactly what data points you want, how you want them displayed, and even the tone of the recommendations. Because OpenClaw is highly configurable, you can shape it to match your personal style.
Why This Matters for Long‑Term Health
Wearable devices have made it possible to collect vast amounts of personal health data, but that data is only useful if you can understand and act on it. A static dashboard full of numbers rarely leads to behaviour change. But when an AI assistant presents those numbers in a conversational way, gives you context, and offers concrete suggestions, the information becomes actionable.
This is especially valuable for people with demanding jobs—whether in tech, finance, or any field that involves long hours and high stress. Your body’s recovery capacity is a limited resource, and having real‑time feedback helps you manage it consciously rather than running on autopilot.
I started this project because I wanted to fix my sleep. The first week of daily reports made it impossible to ignore the sleep debt I was accumulating. Instead of vaguely “trying to sleep more,” I had a clear nightly target and could see the impact on my HRV the next morning. Within a month, my average sleep increased by nearly two hours.
Final Thoughts
Turning your AI assistant into a health coach is surprisingly achievable. With a Whoop wearable and a few minutes of configuration, you can create a system that not only tracks your body’s signals but also communicates with you in a natural, supportive way.
Whether you’re an athlete aiming to optimise recovery, a busy professional wanting to prevent burnout, or simply someone curious about what your data can tell you, this integration offers a practical path forward. The tools are already there—you just need to connect them.
Now, go give your AI assistant a new job. It’s ready to help you take better care of your most important asset.
