🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@cly-org/switchbot-openclaw-skill

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cly-org/switchbot-openclaw-skill

OpenClaw plugin that drives @switchbot/openapi-cli >= 3.3.0. Exposes 6 MCP tools (devices_list/status/describe/command, scenes_list/run) for SwitchBot smart-home control.

latest
Source
npmnpm
Version
0.7.0
Version published
Maintainers
1
Created
Source

@cly-org/switchbot-openclaw-skill

SwitchBot smart-home skill for OpenClaw — exposes 6 MCP tools so AI agents can control SwitchBot devices, run scenes, and send commands.

Prerequisites

Installation

# Via OpenClaw plugin manager (recommended)
openclaw plugins install @cly-org/switchbot-openclaw-skill

# Or global npm
npm install -g @cly-org/switchbot-openclaw-skill

# Either way, then bootstrap the underlying CLI + credentials:
switchbot-openclaw setup

switchbot-openclaw setup verifies the @switchbot/openapi-cli is installed, at >=3.3.0, and authenticated — and prints the exact command to fix each step that isn't. Safe to re-run.

MCP Tools

ToolDescription
devices_listList all devices in the account
devices_statusGet current status of a device
devices_describeList supported commands for a device type
devices_commandSend a command (turnOn, turnOff, setBrightness, …)
scenes_listList all saved scenes
scenes_runExecute a scene by ID

All mutation commands (devices_command, scenes_run) automatically append to ~/.switchbot/audit.log.

Usage

The server communicates over stdio (MCP protocol). OpenClaw detects this tree as a Claude-style bundle and launches the MCP server via the declarations in:

  • .claude-plugin/plugin.json — bundle identity
  • .mcp.json — stdio launcher (node ${pluginDir}/bin/start.js)

To start manually (for debugging):

switchbot-openclaw

Policy editor

A local browser-based editor for ~/.config/openclaw/switchbot/policy.yaml:

switchbot-policy-edit
# Opens http://localhost:18799

Configuration

Edit ~/.config/openclaw/switchbot/policy.yaml to set device aliases, quiet hours, and confirmation rules. See policy.yaml docs.

License

MIT

Keywords

openclaw

FAQs

Package last updated on 26 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts