alexa-cli
БесплатноБез исполняемых скриптовНе проверенControl Amazon Alexa devices and smart home via the `alexacli` CLI. Use when a user asks to speak/announce on Echo devices, control lights/thermostats/locks…
от sundial-org★ 676 звёзд на GitHubОб этом скилле
Alexa CLI
Use alexacli to control Amazon Echo devices and smart home via the unofficial Alexa API.
Devices
alexacli devices
alexacli devices --json
Text-to-Speech
# Speak on a specific device
alexacli speak "Hello world" -d "Kitchen Echo"
# Announce to ALL devices
alexacli speak "Dinner is ready!" --announce
# Device name matching is flexible
alexacli speak "Build complete" -d Kitchen
Voice Commands (Smart Home Control)
Send any command as if you spoke it to Alexa:
# Lights
alexacli command "turn off the living room lights" -d Kitchen
alexacli command "dim the bedroom lights to 50 percent" -d Bedroom
# Thermostat
alexacli command "set thermostat to 72 degrees" -d Bedroom
# Locks
alexacli command "lock the front door" -d Kitchen
# Music
alexacli command "play jazz music" -d "Living Room"
# Timers
alexacli command "set a timer for 10 minutes" -d Kitchen
The -d flag specifies which Echo processes the command.
Ask (Get Response Back)
Send a command and capture Alexa's text response:
alexacli ask "what's the thermostat set to" -d Kitchen
# Output: The thermostat is set to 68 degrees.
alexacli ask "what's on my calendar today" -d Kitchen --json
Useful for querying device state or getting Alexa-specific info.
History
alexacli history
alexacli history --limit 5 --json
Command Reference
| Command | Description |
|---|---|
alexacli devices |
List all Echo devices |
alexacli speak <text> -d <device> |
Text-to-speech on device |
alexacli speak <text> --announce |
Announce to all devices |
alexacli command <text> -d <device> |
Voice command (smart home, music, etc.) |
alexacli ask <text> -d <device> |
Send command, get response back |
alexacli history |
View recent voice activity |
alexacli auth |
Configure authentication |
Notes
- Uses Amazon's unofficial API (same as Alexa app)
- Refresh token valid ~14 days, re-run
alexacli authif expired - Device names support partial, case-insensitive matching
- For AI/agentic use,
alexacli commandwith natural language is preferred
Установить alexa-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл alexa-cli?
Control Amazon Alexa devices and smart home via the `alexacli` CLI. Use when a user asks to speak/announce on Echo devices, control lights/thermostats/locks, send voice commands, or query Alexa.
Как установить скилл alexa-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alexa-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic