home / skills / openclaw / skills / alexa

alexa skill

/skills/ivangdavila/alexa

This skill helps you manage Alexa powered smart homes and routines by guiding device control, automation setup, and troubleshooting.

npx playbooks add skill openclaw/skills --skill alexa

Review the files below or copy the command above to add this skill to your agents.

Files (5)
SKILL.md
3.3 KB
---
name: Alexa
description: Control devices, run automations, and help users get more from Alexa with smart home, routines, and skill development guidance.
---

## Device Control

**Naming for reliable control:** Location + device type. "Kitchen light", "Bedroom fan". Avoid model numbers.

**Room-based commands:**
- "Turn off the bedroom" (all devices in room)
- "Turn on downstairs lights" (group)
- "Set living room to 72" (thermostat)

**Protocol hierarchy:** Matter > Zigbee > Wi-Fi. Built-in Zigbee hubs: Echo Plus, Echo 4th gen, Echo Show 10.

**Device not responding?** Check Alexa app → Devices → find device → verify online status. Re-discover if needed.

## Routines

**Create via:** Alexa app → More → Routines

**Triggers:**
- Voice phrase (unique, not similar to built-in commands)
- Schedule (time, sunrise/sunset)
- Device state (door unlocks, motion detected)
- Location (geofence enter/exit)
- Alarm dismissed

**Actions:** Device control, scenes, announcements, music, wait (sequencing), custom speech.

**Routine fails?** Check trigger phrase uniqueness, verify all devices online, review routine history in app.

## Shortcuts Integration

**Quick voice shortcuts:** Alexa app → More → Voice → Custom → create phrase that triggers existing command.

**Skills as automations:** Enable third-party skills that expose actions to routines (IFTTT, smart home brands).

**Announcements:** "Alexa, announce dinner is ready" → broadcasts to all Echo devices. Useful in routines.

## Smart Home Setup

**Adding devices:**
1. Enable brand's skill in Alexa app
2. Link account if required
3. "Alexa, discover devices" or Devices → + → Add Device
4. Assign to room (critical for room-based commands)

**Groups vs Scenes:**
- Groups: multiple devices, same action ("turn off downstairs")
- Scenes: multiple devices, preset states ("movie time" → dim lights, close blinds)

**Multi-room audio:** Create speaker groups, then "Play music on [group name]" or "Play everywhere".

## Skill Development

**When building custom skills:**
- Required intents: AMAZON.HelpIntent, AMAZON.StopIntent, AMAZON.CancelIntent, AMAZON.FallbackIntent
- Test in simulator AND on physical device (simulator misses edge cases)
- 10-20 sample utterances per intent minimum
- Voice-first: users don't see a screen

**Certification blockers:** Example phrases that don't work exactly as written, generic help intent, missing privacy policy.

## Troubleshooting

| Problem | Fix |
|---------|-----|
| "Device not responding" | Check Wi-Fi, verify in Alexa app, re-discover |
| Routine doesn't trigger | Rename trigger phrase, check routine history |
| Wrong device activates | Rename devices to be more distinct |
| Skill timeout | Check Lambda CloudWatch logs, increase timeout |
| "I don't know that" | Add more sample utterances to intent |

## Privacy Controls

**Voice history:** Alexa app → Privacy → Review Voice History. Enable auto-delete (3 or 18 months).

**Quick delete:** "Alexa, delete what I just said" or "delete everything I said today".

**Guard mode:** "Alexa, I'm leaving" → monitors for sounds (glass break, smoke alarm).

---

## When to Load More

| Situation | Reference |
|-----------|-----------|
| Full command list by category | `commands.md` |
| Smart home protocols, setup, troubleshooting | `smart-home.md` |
| Building custom skills, Lambda, certification | `development.md` |

Overview

This skill helps you control smart home devices, create and run routines, and get practical guidance for building Alexa skills. It focuses on reliable device naming, room‑based control, routine triggers and actions, and step‑by‑step smart home setup. It also covers troubleshooting, privacy controls, and certification tips for custom skill development.

How this skill works

It inspects device naming, room and group assignments, and protocol hierarchy (Matter > Zigbee > Wi‑Fi) to recommend reliable voice control patterns. It walks through creating routines, shortcuts, and multi‑room audio groups, and outlines developer checks like required intents, utterance counts, and testing on physical devices. It also provides concise troubleshooting steps and privacy control actions available in the Alexa app.

When to use it

  • Setting up or reorganizing smart home devices and rooms
  • Creating routines for time, device state, or location triggers
  • Building or certifying a custom Alexa skill
  • Troubleshooting non‑responsive devices, routines, or skill timeouts
  • Configuring privacy settings and voice history management

Best practices

  • Name devices by location + type (e.g., "Kitchen light") to avoid ambiguity
  • Assign every device to a room and use groups for bulk control, scenes for preset states
  • Prefer Matter then Zigbee then Wi‑Fi when selecting compatible devices and hubs
  • Use unique routine trigger phrases that don’t conflict with built‑in commands
  • Provide 10–20 sample utterances per intent and include all required built‑in intents for skills

Example use cases

  • Voice command: "Turn off the bedroom" to power down every device in a room
  • Routine: At sunset, set "movie time" scene to dim lights and close blinds
  • Shortcut: Create a quick phrase that triggers an existing smart home command or announcement
  • Skill dev: Test intents in both the simulator and on a physical Echo to catch edge cases
  • Troubleshoot: If a device is unresponsive, verify it’s online in the Alexa app and re‑discover if needed

FAQ

What if Alexa activates the wrong device?

Rename devices to more distinct, location‑based names and keep model numbers out of the voice name.

Why did my routine fail to run?

Check that the trigger phrase is unique, all devices are online, and review the routine history in the Alexa app for errors.