- Home
- Skills
- APIs & Backend
- Sleep Device Controller
Works with the AI Agents you already use
Sleep Device Controller
Control Eight Sleep pods through the API/CLI: authenticate, list devices, query sensor data, set temperature per side, manage alarms and schedules, and handle o
Free
Sleep Device Controller
Example session with this skill installed
Create a python script to warm the left side of my bed to 28 degrees and check if the device is online.
- Read your context and instructions
- Compiled the sleep device controller
I will generate a Python script using your ES_EMAIL and ES_PASS. It will authenticate, verify device connectivity, and issue a PUT request to /v1/devices/{id}/sides/left/target with a value of 28. It includes a backoff handler if the pod reports as offline.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Controlling smart beds manually through a mobile app prevents integration with home automation scripts or data analysis pipelines. Developers lack a structured way to programmatically manage temperatures, fetch biometric sensor data, and sync alarm schedules.
What it does
- Authenticates with the Eight Sleep API to manage session tokens.
- Lists available devices and maps individual side IDs for dual-zone control.
- Fetches high-resolution sensor data including heart rate, HRV, and respiratory metrics.
- Sets target temperatures for specific bed sides with safety clamping.
- Manages alarm configurations and weekly schedules via CLI or scripts.
Frameworks & tools
Eight Sleep API, cURL, Bash, Python, and jq.
Why this beats prompting it yourself
This skill handles the specific API handshake requirements and device side mapping logic that generic prompts miss. It includes built-in logic for handling offline devices with backoff strategies and stale data flagging to prevent script crashes.
Use cases
- Pre-heat the bed automatically based on external calendar events or sunset times.
- Export sleep biometrics to a private database for long-term health tracking.
- Sync bed alarms with phone or smart home morning routines.
- Monitor device connectivity and log hardware uptime.
Known limitations
Requires active Eight Sleep account credentials. Target temperatures are restricted to the 10-40°C range for safety.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Requires Eight Sleep account credentials via environment variables. Temperature settings are restricted to the 10-40°C range. Does not support other mattress brands.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
5 uses
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 months ago
- Free with an Agensi account
- Accounts
Eightsleep
Permissions
Allowed Hosts