lifx
SKILL.md
LIFX Skill
Overview
Enables Claude to interact with LIFX for controlling WiFi-connected smart bulbs and light strips, creating scenes, and setting schedules without requiring a hub.
Quick Install
curl -sSL https://canifi.com/skills/lifx/install.sh | bash
Or manually:
cp -r skills/lifx ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set LIFX_EMAIL "your-email@example.com"
Privacy & Authentication
Your credentials, your choice. Canifi LifeOS respects your privacy.
Option 1: Manual Browser Login (Recommended)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
Option 2: Environment Variables
If you're comfortable sharing credentials, you can store them locally:
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
Capabilities
- Control individual lights and groups
- Set colors and color temperature
- Create and activate scenes
- Set schedules and timers
- Configure effects and themes
Usage Examples
Example 1: Light Control
User: "Set the LIFX lights to blue at 80%"
Claude: I'll adjust your LIFX lights to blue at 80% brightness.
Example 2: Scene Activation
User: "Activate the Movie Night scene"
Claude: I'll activate your Movie Night LIFX scene.
Example 3: Effects
User: "Enable the candle effect on the bedroom LIFX"
Claude: I'll start the candle flicker effect on your bedroom LIFX bulb.
Authentication Flow
- Navigate to cloud.lifx.com via Playwright MCP
- Click "Sign In" button
- Enter LIFX credentials
- Handle verification if required
- Maintain session for subsequent requests
Error Handling
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate automatically
- Verification Required: Complete email verification
- Rate Limited: Implement exponential backoff
- Light Offline: Check WiFi connectivity
Self-Improvement Instructions
When encountering new UI patterns:
- Document LIFX app/cloud changes
- Update selectors for new layouts
- Track new bulb and effect features
- Monitor firmware updates
Notes
- No hub required - WiFi direct
- Bright 1100+ lumen bulbs
- Built-in effects and themes
- Works with Alexa, Google, HomeKit
Weekly Installs
29
Repository
andrejones92/canifi-life-osFirst Seen
Jan 24, 2026
Installed on
claude-code26
gemini-cli23
opencode23
cursor21
antigravity20
codex20