跳到正文
TakoAPI
返回技能列表

alexa-cli

由 buddyh 提供

Speech & Transcription
3.3k下载量由 clawskills.sh 提供
14星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control Amazon Alexa devices and smart home via the `alexacli` CLI.

描述

该技能的功能

Controls Amazon Echo devices and Alexa-connected smart home via the `alexacli` CLI. Supports text-to-speech, multi-device announcements, natural language smart home commands, and capturing Alexa's text responses. Uses Amazon's unofficial API, the same one the Alexa mobile app uses.

Lets scripts and agents send commands to Alexa and read back responses as text, enabling automation that the Alexa app or voice alone cannot script.

何时使用

  • Announcing a CI build result on all Echo devices
  • Dimming lights to a specific level from a terminal script
  • Locking the front door via a shell one-liner
  • Checking the thermostat setting inside a home automation script
  • Playing an MP3 through an Echo device from a URL

示例工作流

输入

User asks: announce 'Dinner is ready' on every Echo device in the house

智能体
  1. 1

    Run alexacli auth status to confirm the session token is valid

  2. 2

    Run alexacli speak 'Dinner is ready!' --announce to broadcast to all devices

  3. 3

    Check exit code to confirm the command was accepted

输出

All Echo devices in the home play the announcement aloud simultaneously

前置要求

  • Amazon account with at least one Echo device configured
  • Browser-based login via `alexacli auth` (re-authenticate every ~14 days)

安装

clawhub install buddyh/alexa-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接