Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #automation

hass-builder

A skill to build and manage Home Assistant configurations. Use when using the Home Assistant Builder (`hab`) CLI to inspect, create, update, delete, operate, or troubleshoot Home Assistant resources; when a user mentions hab, Home Assistant CLI automation, Lovelace/dashboard edits, helpers, automations, scripts, backups, ESPHome, or Home Assistant operations from a terminal.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=aahl-skills-skills-hass-builder-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name hass-builder description A skill to build and manage Home Assistant configurations. Use when using the Home Assistant Builder (`hab`) CLI to inspect, create, update, delete, operate, or troubleshoot Home Assistant resources; when a user mentions hab, Home Assistant CLI automation, Lovelace/dashboard edits, helpers, automations, scripts, backups, ESPHome, or Home Assistant operations from a terminal. Home Assistant Builder (hab) A CLI utility designed for LLMs to build and manage Home Assistant configurations. Start Every Workflow The script scripts/hab.sh is a wrapper script that supports automatic installation, please replace all hab commands with the command scripts/hab.sh . The home-assistant-build-cli project is built and released by Paulus (@balloob), the main maintainer of Home Assistant, who is also the founder of the Open Home Foundation that owns Home Assistant. alias hab= 'scripts/hab.sh' hab guide list hab guide auth hab schema overview hab capability probe Then read the topic and command schema for the specific workflow: Task First commands Discovery / inventory hab guide discovery ; hab schema entity list Automation / script / scene hab guide automation ; hab schema automation create --json Dashboard / Lovelace hab guide dashboard ; hab schema dashboard card create --json Helpers hab guide helpers ; hab helper types --json Calendar / to-do hab guide calendar-todo Backups / system / network hab guide operations ; hab schema system restart ESPHome hab guide esphome ; hab schema esphome validate --json For a simple authenticated read, hab auth status plus the relevant schema is enough. Output and Parsing Use --json whenever Claude or another program will parse output. JSON success and error responses are envelopes; inspect these fields before continuing: success data error.code , error.details.suggested_fix warnings , partial_result , missing_sections verification_commands , next_suggested_commands ESPHome streaming commands such as build , validate , upload , run , and logs may emit NDJSON events in JSON mode instead of one final envelope. Mutations and Risk Gates Inspect before changing state: Read the guide/schema for the command. Gather current state with read-only list/get commands. Preview the mutation with --plan or --dry-run when supported. Show the preview and ask the user before executing risky operations. Run verification commands from the plan or a follow-up get/list command. Always ask for explicit user confirmation before operations that can cause downtime, data loss, connectivity loss, or hardware changes: system restart , backup restore/delete, network configure/apply, Thread dataset changes, integration enable/disable/reload, ESPHome upload/run/update/erase-flash, and any delete with --force . Do not add --force just to make a command non-interactive. Use it only after the user has approved the exact operation. Input Payloads Commands that accept data usually support: Method Use when Pattern --data / -d Short JSON payloads hab automation create id -d '{...}' --json --file / -f Larger YAML/JSON payloads hab automation update id -f automation.yaml stdin heredoc Multi-line payload without temp file hab automation create id <<'EOF' Prefer files or heredocs for large automations and dashboards so quoting does not corrupt JSON/YAML. Common Command Patterns # Authentication and instance checks hab auth status hab overview hab capability probe # Entity inventory hab entity list --domain light hab entity get light.kitchen --device --related hab search related entity light.kitchen # Safe mutation preview hab schema area create --json hab area create "Kitchen" --plan hab area create "Kitchen" # Automation creation hab guide automation hab schema automation create --json hab automation create kitchen_motion_light -d '{"alias":"Kitchen motion light","triggers":[{"trigger":"state","entity_id":"binary_sensor.kitchen_motion","to":"on"}],"conditions":[],"actions":[{"action":"light.turn_on","target":{"entity_id":"light.kitchen"}}]}' --dry-run # Operations hab guide operations hab system health --json hab system restart --plan hab backup list hab backup delete <backup_id> --plan Response Pattern When answering a user asking for hab commands: State the intended safety mode: read-only, preview-only, or confirmed mutation. Provide commands in execution order. Mark any command that requires user confirmation. Say what JSON fields to inspect before the next step. Include verification commands. Common Mistakes Mistake Better approach Guessing command flags from memory Run hab schema <command> --json first Parsing text output Use --json and inspect envelope fields Creating resources without inventory list/get/search related first Skipping mutation preview Use --plan or --dry-run when supported Using --force for convenience Confirm the exact risky operation first Treating ESPHome JSON as one object Handle NDJSON stream events for streaming commands Ignoring verification_commands Run them or explain why not
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。