alexa-cli
بواسطة buddyh
Speech & Transcriptionموجز
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
Run
alexacli auth statusto confirm the session token is valid - 2
Run
alexacli speak 'Dinner is ready!' --announceto broadcast to all devices - 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.