# Send govee-control to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "govee-control",
    "name": "govee-control",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Cole-Z/govee-control",
    "canonicalUrl": "https://clawhub.ai/Cole-Z/govee-control",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/govee-control",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=govee-control",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "govee-control",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T02:55:53.751Z",
      "expiresAt": "2026-05-19T02:55:53.751Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=govee-control",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=govee-control",
        "contentDisposition": "attachment; filename=\"govee-control-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "govee-control"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/govee-control"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/govee-control",
    "downloadUrl": "https://openagent3.xyz/downloads/govee-control",
    "agentUrl": "https://openagent3.xyz/skills/govee-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/govee-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/govee-control/agent.md"
  }
}
```
## Documentation

### Govee OpenAPI (No Scripts)

Control Govee devices using manual curl commands only.

### Linux System Requirements

Linux shell with bash available.
curl installed.
Internet access to https://developer-api.govee.com and https://developer.govee.com.
Govee account with supported devices linked.
Optional: jq for pretty-printing JSON responses.

Quick check:

bash --version | head -n 1
curl --version | head -n 1
command -v jq >/dev/null && jq --version || echo "jq not installed (optional)"

### Required Credential

GOVEE_API_KEY (required)

### Autonomous Use Guardrails

Only read GOVEE_API_KEY from your chosen per-user secrets file.
Do not read unrelated secret files or system credentials.
Restrict outbound requests to:

https://developer-api.govee.com
https://developer.govee.com


Ask before controlling multiple devices or performing bulk changes.

### Get a Govee API Key

Open https://developer.govee.com/.
Sign in with the same Govee account that owns your devices.
Go to the API key section in the developer console.
Generate/apply for a key and copy it.
Keep it private (treat it like a password).

If the portal UI changes, use the same flow: sign in to Govee Developer → find API key management → create key.

### Secure Local Storage (Per-User)

Never store API keys in skill files, git, or chat logs.

Create a per-user secrets file (avoid /root unless intentionally running as root):

mkdir -p "$HOME/.openclaw/secrets"
cat > "$HOME/.openclaw/secrets/govee.env" <<'EOF'
export GOVEE_API_KEY='<YOUR_API_KEY>'
EOF
chmod 600 "$HOME/.openclaw/secrets/govee.env"

Load only this variable into the current shell (no set -a):

source "$HOME/.openclaw/secrets/govee.env"

### API Base URL

https://developer-api.govee.com/v1

### Discover Devices First

Before controlling lights, list devices and copy your own device + model:

curl -sS -X GET "https://developer-api.govee.com/v1/devices" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json"

### View Device State

curl -sS -X GET "https://developer-api.govee.com/v1/devices/state?device=<DEVICE>&model=<MODEL>" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json"

### Turn on

curl -sS -X PUT "https://developer-api.govee.com/v1/devices/control" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{"device":"<DEVICE>","model":"<MODEL>","cmd":{"name":"turn","value":"on"}}'

### Turn off

curl -sS -X PUT "https://developer-api.govee.com/v1/devices/control" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{"device":"<DEVICE>","model":"<MODEL>","cmd":{"name":"turn","value":"off"}}'

### Brightness (1-100)

curl -sS -X PUT "https://developer-api.govee.com/v1/devices/control" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{"device":"<DEVICE>","model":"<MODEL>","cmd":{"name":"brightness","value":75}}'

### RGB color

curl -sS -X PUT "https://developer-api.govee.com/v1/devices/control" \\
  -H "Govee-API-Key: $GOVEE_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{"device":"<DEVICE>","model":"<MODEL>","cmd":{"name":"color","value":{"r":120,"g":180,"b":255}}}'

### Response Check

Success usually returns:

{"code":200,"message":"Success"}

If code is not 200, treat it as failure.

### Troubleshooting

401 / unauthorized: key missing, expired, or invalid.
429 / rate limit: slow retries.
command rejected: model does not support that command (supportCmds).
empty device list: account has no supported linked devices.

### Safety Rules

Use placeholders in docs only (<DEVICE>, <MODEL>, <YOUR_API_KEY>).
Do not include real keys or device IDs in published artifacts.
Prefer one-device-at-a-time actions over bulk changes.
Avoid pasting API keys into chat.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Cole-Z
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T02:55:53.751Z
- Expires at: 2026-05-19T02:55:53.751Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/govee-control)
- [Send to Agent page](https://openagent3.xyz/skills/govee-control/agent)
- [JSON manifest](https://openagent3.xyz/skills/govee-control/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/govee-control/agent.md)
- [Download page](https://openagent3.xyz/downloads/govee-control)