{
  "schemaVersion": "1.0",
  "item": {
    "slug": "lifx",
    "name": "Openclaw Lifx",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Stillstellung/lifx",
    "canonicalUrl": "https://clawhub.ai/Stillstellung/lifx",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/lifx",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=lifx",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "lifx-api.sh",
      "scene-status.py",
      "setup.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/lifx"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/lifx",
    "agentPageUrl": "https://openagent3.xyz/skills/lifx/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lifx/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lifx/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "LIFX Light Control",
        "body": "Control LIFX smart lights via the LIFX HTTP API through natural language."
      },
      {
        "title": "References",
        "body": "lifx-api.sh — Bash wrapper for all LIFX API calls\nscene-status.py — Scene matching and active detection\nsetup.sh — Device discovery and skill configuration"
      },
      {
        "title": "Configuration",
        "body": "Set your LIFX API token (get one at https://cloud.lifx.com/settings):\n\nbash setup.sh <your-token>\n\nThis discovers your lights, groups, and scenes, then generates a personalized SKILL.md with your device context."
      },
      {
        "title": "Device Context",
        "body": "Run bash setup.sh <your-token> to populate this section with your lights, rooms, and scenes.\nThe setup script queries the LIFX API and rewrites this file with your personal device context.\n\nLocation: (not configured)"
      },
      {
        "title": "Rooms and Lights",
        "body": "(populated by setup.sh)"
      },
      {
        "title": "Scenes",
        "body": "(populated by setup.sh)"
      },
      {
        "title": "Multi-zone Devices",
        "body": "(populated by setup.sh)"
      },
      {
        "title": "Discover lights",
        "body": "bash lifx-api.sh discover\n\nShows all lights organized by room with power state, color, and brightness."
      },
      {
        "title": "Toggle lights on/off",
        "body": "bash lifx-api.sh toggle <selector>\n\nSelectors:\n\nIndividual light: id:<light_id>\nGroup/room: group_id:<group_id>\nAll lights: all"
      },
      {
        "title": "Set light state (color, brightness, power)",
        "body": "bash lifx-api.sh state <selector> '{\"power\":\"on\",\"color\":\"blue\",\"brightness\":0.75,\"duration\":1.0}'\n\nColor formats:\n\nNamed: red, blue, green, white, warm white, purple, orange\nHex: #ff6b35\nKelvin: kelvin:2700 (warm) to kelvin:6500 (cool daylight)\nHSB: hue:240 saturation:1.0\n\nAlways include \"power\":\"on\" and a brightness value when setting colors, or lights with brightness 0 will stay invisible."
      },
      {
        "title": "Activate a scene",
        "body": "bash lifx-api.sh scene <scene_uuid>"
      },
      {
        "title": "Toggle a room",
        "body": "bash lifx-api.sh group-toggle <group_id>"
      },
      {
        "title": "Multi-zone gradients (Beam / Strip devices)",
        "body": "Multi-zone devices support individually addressable zones. Create gradients by setting different zone ranges:\n\nbash lifx-api.sh state 'id:<light_id>|0-4' '{\"power\":\"on\",\"color\":\"purple\",\"brightness\":1.0,\"duration\":1.0}'\nbash lifx-api.sh state 'id:<light_id>|5-9' '{\"power\":\"on\",\"color\":\"red\",\"brightness\":1.0,\"duration\":1.0}'\n\nThe pipe character in zone selectors is automatically URL-encoded by the script."
      },
      {
        "title": "Check scene status",
        "body": "python3 scene-status.py all    # Show all active scenes\npython3 scene-status.py check <uuid>  # Check specific scene"
      },
      {
        "title": "List current light states",
        "body": "bash lifx-api.sh list    # Full JSON\nbash lifx-api.sh groups  # Summary by room"
      },
      {
        "title": "Behavior Guidelines",
        "body": "When user says a room name, match it to the group IDs in the device context above.\nDefault brightness to 1.0 (100%) when setting colors unless user specifies otherwise.\nDefault duration to 1.0 seconds for smooth transitions.\nFor \"turn off\" commands, use {\"power\":\"off\"} — don't toggle (toggling is ambiguous).\nFor \"turn on\" commands, use {\"power\":\"on\",\"brightness\":1.0} to ensure visibility.\nWhen asked about what's on/what scene is active, use the scene-status tool or discover command.\nBe conversational about results: \"Done, bedroom is now blue at 75%\" not \"API returned 207\"."
      }
    ],
    "body": "LIFX Light Control\n\nControl LIFX smart lights via the LIFX HTTP API through natural language.\n\nReferences\nlifx-api.sh — Bash wrapper for all LIFX API calls\nscene-status.py — Scene matching and active detection\nsetup.sh — Device discovery and skill configuration\nConfiguration\n\nSet your LIFX API token (get one at https://cloud.lifx.com/settings):\n\nbash setup.sh <your-token>\n\n\nThis discovers your lights, groups, and scenes, then generates a personalized SKILL.md with your device context.\n\nDevice Context\n\nRun bash setup.sh <your-token> to populate this section with your lights, rooms, and scenes. The setup script queries the LIFX API and rewrites this file with your personal device context.\n\nLocation: (not configured)\n\nRooms and Lights\n\n(populated by setup.sh)\n\nScenes\n\n(populated by setup.sh)\n\nMulti-zone Devices\n\n(populated by setup.sh)\n\nHow to Control Lights\nDiscover lights\nbash lifx-api.sh discover\n\n\nShows all lights organized by room with power state, color, and brightness.\n\nToggle lights on/off\nbash lifx-api.sh toggle <selector>\n\n\nSelectors:\n\nIndividual light: id:<light_id>\nGroup/room: group_id:<group_id>\nAll lights: all\nSet light state (color, brightness, power)\nbash lifx-api.sh state <selector> '{\"power\":\"on\",\"color\":\"blue\",\"brightness\":0.75,\"duration\":1.0}'\n\n\nColor formats:\n\nNamed: red, blue, green, white, warm white, purple, orange\nHex: #ff6b35\nKelvin: kelvin:2700 (warm) to kelvin:6500 (cool daylight)\nHSB: hue:240 saturation:1.0\n\nAlways include \"power\":\"on\" and a brightness value when setting colors, or lights with brightness 0 will stay invisible.\n\nActivate a scene\nbash lifx-api.sh scene <scene_uuid>\n\nToggle a room\nbash lifx-api.sh group-toggle <group_id>\n\nMulti-zone gradients (Beam / Strip devices)\n\nMulti-zone devices support individually addressable zones. Create gradients by setting different zone ranges:\n\nbash lifx-api.sh state 'id:<light_id>|0-4' '{\"power\":\"on\",\"color\":\"purple\",\"brightness\":1.0,\"duration\":1.0}'\nbash lifx-api.sh state 'id:<light_id>|5-9' '{\"power\":\"on\",\"color\":\"red\",\"brightness\":1.0,\"duration\":1.0}'\n\n\nThe pipe character in zone selectors is automatically URL-encoded by the script.\n\nCheck scene status\npython3 scene-status.py all    # Show all active scenes\npython3 scene-status.py check <uuid>  # Check specific scene\n\nList current light states\nbash lifx-api.sh list    # Full JSON\nbash lifx-api.sh groups  # Summary by room\n\nBehavior Guidelines\nWhen user says a room name, match it to the group IDs in the device context above.\nDefault brightness to 1.0 (100%) when setting colors unless user specifies otherwise.\nDefault duration to 1.0 seconds for smooth transitions.\nFor \"turn off\" commands, use {\"power\":\"off\"} — don't toggle (toggling is ambiguous).\nFor \"turn on\" commands, use {\"power\":\"on\",\"brightness\":1.0} to ensure visibility.\nWhen asked about what's on/what scene is active, use the scene-status tool or discover command.\nBe conversational about results: \"Done, bedroom is now blue at 75%\" not \"API returned 207\"."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Stillstellung/lifx",
    "publisherUrl": "https://clawhub.ai/Stillstellung/lifx",
    "owner": "Stillstellung",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/lifx",
    "downloadUrl": "https://openagent3.xyz/downloads/lifx",
    "agentUrl": "https://openagent3.xyz/skills/lifx/agent",
    "manifestUrl": "https://openagent3.xyz/skills/lifx/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/lifx/agent.md"
  }
}