← 返回 Skills 市场
tvdofficial

Google Home Control

作者 TVDOfficial · GitHub ↗ · v1.0.3
cross-platform ✓ 安全检测通过
2790
总下载
5
收藏
4
当前安装
4
版本数
在 OpenClaw 中安装
/install google-home-control
功能描述
Control smart home devices (lights, TV, etc.) via the Google Assistant SDK. Use when the user wants to trigger home automation commands.
使用说明 (SKILL.md)

Google Home Control (N.O.V.A.)

Created by: Mathew Pittard (Mat)
Portfolio: mathewpittard.vercel.app

This skill allows Clawdbot to control your smart home devices (lights, TVs, appliances) directly using a Python-based bridge to the Google Assistant SDK.

🛠️ Step-by-Step Setup

To get this skill working, you'll need to link it to your own Google account. Follow these steps:

1. Create a Google Cloud Project

  1. Go to the Google Cloud Console.
  2. Create a new project (e.g., "My Smart Home").
  3. Enable the Google Assistant API.

2. Configure OAuth

  1. Go to APIs & Services > Credentials.
  2. Configure your OAuth Consent Screen (set User Type to "External" and add yourself as a test user).
  3. Create an OAuth 2.0 Client ID with the type Desktop app.
  4. Download the JSON file and rename it to client_secret.json.

3. Prepare the Python Environment

This skill requires a Python virtual environment with specific dependencies:

# Create and activate environment
python3 -m venv google_home_env
source google_home_env/bin/activate

# Install requirements
pip install google-assistant-sdk[samples] google-auth-oauthlib[tool] tenacity

4. Authorize and Generate Credentials

Run the following command in your terminal to authorize the SDK:

google-oauthlib-tool --client-secrets /path/to/your/client_secret.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save
  • This will open a browser window. Log in and grant permissions.
  • It will save a credentials.json file to ~/.config/google-oauthlib-tool/credentials.json.

5. Final Configuration

Ensure the google_home_env is accessible to Clawdbot. When Clawdbot runs the skill, it will look for your credentials in the standard ~/.config path automatically.


🚀 Usage

Simply tell the agent what to do:

  • "Turn off the office lights."
  • "Set the TV volume to 20."

The agent will use the control.py script inside this skill to execute the command via Google Assistant.

安全使用建议
This skill needs a Google OAuth client and the refresh token that lets it act as your Google Assistant — granting it allows the skill to send commands to devices you control. Only install if you trust the skill's author and are comfortable storing credentials at ~/.config/google-oauthlib-tool/credentials.json (or pointing GOG_HOME_CREDS to them). Run the provided Python virtualenv in an isolated environment, review the included control.py before use, and revoke the OAuth client/refresh token in your Google Console if you stop using the skill.
功能分析
Type: OpenClaw Skill Name: google-home-control Version: 1.0.3 The skill is designed to control Google Home devices via the Google Assistant SDK. The `SKILL.md` provides standard setup instructions for Google Cloud Project, OAuth, and Python environment, including installing legitimate Google SDK dependencies and authorizing credentials. The `scripts/control.py` script correctly implements the stated purpose by taking a user query, loading Google OAuth credentials from expected locations (`~/.config/google-oauthlib-tool/credentials.json` or `GOG_HOME_CREDS` environment variable), and sending the command to the official `embeddedassistant.googleapis.com` endpoint. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts against the agent beyond the skill's stated purpose.
能力评估
Purpose & Capability
Name and description match the included script and instructions. The skill needs Google OAuth credentials and the Google Assistant API to operate — which is appropriate for controlling Google Home devices.
Instruction Scope
SKILL.md limits actions to creating a Google Cloud project, obtaining OAuth credentials, creating a Python virtualenv, installing Google Assistant libraries, and running the bundled control.py. The script only reads the declared credentials path or GOG_HOME_CREDS, refreshes a token, and calls embeddedassistant.googleapis.com. There are no instructions to read unrelated files or exfiltrate data.
Install Mechanism
There is no registry install spec (instruction-only). The README asks the user to pip-install official Google packages into a local venv — a normal, low-risk developer workflow. No downloads from untrusted URLs or archive extraction are present.
Credentials
The skill does not request unrelated credentials. It requires the user's Google OAuth client_secret/refresh token (stored in ~/.config or via GOG_HOME_CREDS) — this is necessary and proportionate for the Google Assistant API. The SKILL.md documents these requirements.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install google-home-control
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /google-home-control 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Generalize usage instructions (removed N.O.V.A. specific references)
v1.0.2
Added step-by-step instructions and removed hardcoded paths
v1.0.1
Cleaned docs, removed local paths, ensured security
v1.0.0
Initial release
元数据
Slug google-home-control
版本 1.0.3
许可证
累计安装 4
当前安装数 4
历史版本数 4
常见问题

Google Home Control 是什么?

Control smart home devices (lights, TV, etc.) via the Google Assistant SDK. Use when the user wants to trigger home automation commands. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2790 次。

如何安装 Google Home Control?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-home-control」即可一键安装,无需额外配置。

Google Home Control 是免费的吗?

是的,Google Home Control 完全免费(开源免费),可自由下载、安装和使用。

Google Home Control 支持哪些平台?

Google Home Control 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Google Home Control?

由 TVDOfficial(@tvdofficial)开发并维护,当前版本 v1.0.3。

💬 留言讨论