Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    Sleep Device Controller

    10

    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

    0 installsSecurity scanned
    Sleep Device Controller

    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.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Free to download with an account

    Listed1 month ago
    Updated4 days ago

    Frequently Asked Questions