Alexa Remote Control for Openclaw

A command-line interface skill for controlling Amazon Echo devices and smart home integrations using shell scripts.

ignito-pg
v1.0.0
Feb 9, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install alexa-control

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install alexa-control using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Alexa Remote Control?

This skill provides a robust interface for managing Amazon Alexa devices directly from your terminal. By utilizing Openclaw Skills, users can bypass traditional UI limitations to automate complex tasks across their Echo ecosystem. The skill works by sending text-based commands to the Alexa service, enabling seamless integration into developer workflows.

Whether you need to trigger a morning routine or broadcast messages across multiple rooms, this tool simplifies the interaction between your local machine and your smart home hardware. It is a core utility for anyone looking to expand their Openclaw Skills library with IoT capabilities.

Alexa Remote Control Use Cases

  • Setting automated alarms and timers via shell scripts
  • Triggering smart home devices like lights and plugs from a terminal
  • Initiating music playback or flash briefings on specific Echo devices
  • Auditing and listing all connected Alexa hardware within an account

How Alexa Remote Control Works

  1. Secure a refresh token from Amazon using the alexa-cookie-cli tool to handle authentication.
  2. Configure the environment variables for your specific region (US or UK) and device name.
  3. Execute the alexa_remote_control.sh script with desired flags for device selection and command type.
  4. The script sends a textcommand request to Amazon's servers to trigger the specified action on the target Echo device.

Alexa Remote Control Setup

1. Clone the repository

git clone https://github.com/adn77/alexa-remote-control.git
cd alexa-remote-control

2. Generate Refresh Token

Use the following command to log in and obtain your token:

npx alexa-cookie-cli

3. Create a Wrapper Script

Create a file named alexa-command.sh and add your REFRESH_TOKEN along with the appropriate domain settings for your region:

#!/bin/bash
export REFRESH_TOKEN='Atnr|YOUR_TOKEN_HERE'
export AMAZON='amazon.com'
export ALEXA='alexa.amazon.com'
./alexa_remote_control.sh -d "Device Name" -e "textcommand:Set alarm for 7am"

Alexa Remote Control Data Schema & Taxonomy

Variable Description Example
REFRESH_TOKEN Amazon auth token Atnr
AMAZON Amazon domain amazon.com
ALEXA Alexa domain alexa.amazon.com
DEVICE Echo device name Bedroom Echo Show

Alexa Remote Control Advanced Features

  • Execute arbitrary voice commands using the textcommand flag
  • Support for regional domain customization (US, UK, etc.)
  • Automated device discovery to identify exact naming conventions using the -a flag
  • Scriptable interface for integration into larger automation pipelines through Openclaw Skills

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*