← 返回 Skills 市场
225
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install workswith-claw
功能描述
为家,注入灵魂。独立于 Home Assistant 的智能家居中间件,通过 HA API 实现设备的语义化理解、习惯学习和智能预判。
功能分析
Type: OpenClaw Skill
Name: workswith-claw
Version: 1.0.3
The skill bundle acts as a smart home middleware that requires a Home Assistant (HA) long-lived access token and possesses the high-risk capability of writing files to the host filesystem. Specifically, `src/api/routes/apply.py` writes YAML automation files directly into the sensitive `~/.homeassistant/automations` directory. While this behavior is documented in `SKILL.md` as a core feature for habit-based automation, the ability to modify HA configurations and the handling of sensitive credentials (HA tokens and LLM API keys in `src/services/llm_enhancer.py`) represent a significant attack surface. There is no evidence of explicit malice, but the broad filesystem access and external API communication justify a suspicious classification.
能力评估
Purpose & Capability
The skill's stated purpose is a local HA middleware and the code implements HA API clients, device analysis, habit learning, and YAML automation generation — that is coherent. However the registry/metadata claims no required env vars or primary credential while the code and SKILL.md clearly require HA_URL and HA_TOKEN (and optionally WORKSWITH_CLAW_API_KEY). The metadata omission is an incoherence: a HA-integration skill should declare HA credentials in required envs.
Instruction Scope
SKILL.md instructs the user to provide HA_URL and HA_TOKEN and to run the service locally; the code reads HA_TOKEN/HA_URL from .env and will call the Home Assistant REST API and write YAML files into ~/.homeassistant/automations. Those behaviors match the purpose, but there are two problems: 1) authentication is optional — if WORKSWITH_CLAW_API_KEY is not set the API skips auth (dev mode), and the app enables CORS allow_origins=["*"] — meaning the service can be reachable and used without auth if misconfigured; 2) some service names (openclaw_client, llm_enhancer) suggest potential external network activity contrary to SKILL.md's
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install workswith-claw - 安装完成后,直接呼叫该 Skill 的名称或使用
/workswith-claw触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
workswith-claw v1.0.3
- 更新了 README.md 文档内容
- 无功能、依赖或接口变更,仅文档调整
v1.0.2
修复:声明HA凭证需求,说明写入automation行为
v1.0.1
修复权限配置,明确与HA关系
v1.0.0
初始版本发布
元数据
常见问题
Workswith Claw 是什么?
为家,注入灵魂。独立于 Home Assistant 的智能家居中间件,通过 HA API 实现设备的语义化理解、习惯学习和智能预判。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 225 次。
如何安装 Workswith Claw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install workswith-claw」即可一键安装,无需额外配置。
Workswith Claw 是免费的吗?
是的,Workswith Claw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Workswith Claw 支持哪些平台?
Workswith Claw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Workswith Claw?
由 Fanyur(@fanyur-wang)开发并维护,当前版本 v1.0.3。
推荐 Skills