Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add malue-ai/dazee-small --skill home-assistantgit clone --depth 1 https://github.com/malue-ai/dazee-smallWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/malue-ai/dazee-small/home-assistant)<a href="https://agentmods.dev/skills/malue-ai/dazee-small/home-assistant"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/home-assistant/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/home-assistant"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/home-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01312 |
| Opus 5.5 | $0.00012 | $0.00525 |
| Sonnet 5.5 | $0.00006 | $0.00262 |
| Haiku 4.5 | $0.00003 | $0.00131 |
Grade A, and why
home-assistant scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "$HOMEASSISTANT_URL/api/states" \ How it starts
The opening of the file, as written. The whole thing — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Home Assistant — 智能家居控制
通过 Home Assistant 控制家中所有智能设备:灯光、空调、窗帘、门锁、传感器、场景、自动化等。支持 2600+ 品牌,一句话操控全屋。
使用场景
- 用户说「把客厅灯调暗一点」「关掉所有灯」
- 用户说「空调调到 24 度」「打开制冷模式」
- 用户说「现在家里温度多少?」「湿度多少?」
- 用户说「我要睡觉了」→ 触发 "晚安" 场景(关灯、锁门、降温)
- 用户说「帮我设个自动化:每天早上 7 点开窗帘」
- 结合
pomodoro:番茄钟结束时调亮灯光提醒休息 - 结合每日简报类 Skill(如已启用):早间简报时自动调节室内环境
前置条件
- 运行 Home Assistant 实例(https://www.home-assistant.io/)
- 在 Home Assistant 中生成长期访问令牌(Long-Lived Access Token)
- 设置环境变量:
export HOMEASSISTANT_TOKEN="your-token" - 设置环境变量:
export HOMEASSISTANT_URL="http://homeassistant.local:8123"
Home Assistant 2025.4.4+ 内置 MCP Server 支持,可直接通过 MCP 协议通信。
执行方式
通过 MCP 工具调用(推荐)
Home Assistant 提供 MCP Server 集成,通过 MCP 协议直接操作:
控制设备
工具: call_service
参数:
domain: "light"
service: "turn_on"
target:
entity_id: "light.living_room"
data:
brightness_pct: 50
color_temp_kelvin: 3000
查询状态
工具: get_state
参数:
entity_id: "sensor.living_room_temperature"
触发场景
工具: call_service
参数:
domain: "scene"
service: "turn_on"
target:
entity_id: "scene.good_night"
通过 REST API 调用(备选)
# 获取所有设备状态
curl -s "$HOMEASSISTANT_URL/api/states" \
-H "Authorization: Bearer $HOMEASSISTANT_TOKEN"
# 控制灯光
curl -s -X POST "$HOMEASSISTANT_URL/api/services/light/turn_on" \
-H "Authorization: Bearer $HOMEASSISTANT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_id": "light.living_room", "brightness_pct": 80}'
# 设置空调温度
curl -s -X POST "$HOMEASSISTANT_URL/api/services/climate/set_temperature" \
-H "Authorization: Bearer $HOMEASSISTANT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_id": "climate.bedroom", "temperature": 24}'
# 查询传感器
curl -s "$HOMEASSISTANT_URL/api/states/sensor.outdoor_temperature" \
-H "Authorization: Bearer $HOMEASSISTANT_TOKEN"
常用设备控制模板
灯光:
开灯/关灯: light.turn_on / light.turn_off
调亮度: brightness_pct (0-100)
调色温: color_temp_kelvin (2700暖光-6500冷光)
调颜色: rgb_color [R, G, B]
空调/暖通:
设温度: climate.set_temperature → temperature
设模式: climate.set_hvac_mode → hvac_mode (heat/cool/auto/off)
设风速: climate.set_fan_mode → fan_mode (low/medium/high/auto)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 154 lines · 30 tokens per session scan A 529f5a082c17
home-assistant is a skill published in the GitHub repository malue-ai/dazee-small (37 stars, last pushed 8mo ago), licensed MIT. It adds 30 tokens to every session and 1,312 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
home-assistant compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| home-assistantmalue-ai/dazee-small | Skill | 37 | 8mo ago | MIT | A | 30 | Claude Code, Codex |
| gke-compute-classesgoogle/skills | Skill | 26k | yesterday | Apache-2.0 | A | 100 | Claude Code, Codex |
| jetson-diagnosticNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |
| holoscan-install-wheelNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |
| offensive-z-waveSnailSploit/Claude-Red | Skill | 12k | 17d ago | MIT | A | 113 | Claude Code, Codex |
| hsb-flashNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | B | 94 | Claude Code |
| jetson-validate-imageNVIDIA/skills | Skill | 4.3k | yesterday | Apache-2.0 | B | 50 | Claude Code, Codex |