gtapps/hermitd/ha-apply-change
Claude Code and agent skill by gtapps/hermitd
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Validate and apply a generated HA automation or script YAML with safety checks and optional reload. Use after building or modifying an automation.
Install
npx vskill@latest install gtapps/hermitd/ha-apply-changeSKILL.md
The same SKILL.md was published earlier as gtapps/hermitd/ha-apply-change.
Apply HA Change
Steps
- Pre-check: Run
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha policy-check <artifact_path>to verify safety. Read thedecisionfield in the JSON output:
"deny"(strict mode): stop and explain why. Create a proposal via/hermitd:proposal-create."ask"(ask mode): include the sensitive entities in the preview in step 2."allow": proceed to step 2.
- Preview: Present the artifact, policy result, affected entities, and reload domain. A changed artifact or target requires a fresh preview.
- Validate and apply: Run
${CLAUDE_PLUGIN_ROOT}/bin/ha-agent-lab ha validate-apply <artifact_path> --reload automation(orscript).
- This runs HA config check, pushes the config to HA via REST, then reloads the domain.
- The artifact must include
id:at the top level — if missing, the CLI derives an ID from the alias or filename and warns in the output. A derived ID drifts if the alias is renamed, creating a duplicate.
- Post-apply: Read
.hermit/raw/audit-ha-apply-latest.mdand branch on the JSON output:
{"status":"invalid","reason":"simulation_failed"}: the artifact references missing entities or hits a blocked reason; runha simulate <artifact_path>for the list and fix the YAML.{"error":...}: show it.apply_failed:<detail>means the config check or push failed; suggest fixing the YAML.creation_ok: true— config was pushed and verified via REST. Reload picks it up immediately.creation_ok: false+ message contains "YAML mode" — HA is in YAML config mode (403). Tell the operator to place the generated YAML in their HA config directory and reload manually.creation_ok: false+ other message: the push was not verified. Show the message.- If overall successful: update your auto memory if this automation introduces a new pattern.
Safety
- The apply path only reloads
automationandscriptdomains. - A
denypolicy verdict stops the apply; anaskverdict requires approval covering the sensitive entities. - The operator must confirm before any reload happens.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/hermitd-homeassistant/skills/ha-apply-change/SKILL.md
Popularity
- Repository stars
- 82
- Repository forks
- 16
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gtapps/hermitd/ha-apply-change)