Home Assistant Agent Automation With Owner Approval

    by Cheesecake XOR

    1

    Let an AI agent propose Home Assistant automations, scripts and helpers add-only, with owner approval in HA, an entity allowlist, and a visual catalog editor. No HA long-lived token on the agent.

    $2

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Home Assistant Agent Automation With Owner Approval

    Example session with this skill installed

    Set up a way for my AI agent to create Home Assistant automations safely, without giving it my long-lived access token.

    • Read your context and instructions
    • Compiled the home assistant agent

    A two-add-on design and build plan: an add-only MCP deployment server with owner approval in an HA Ingress panel, an entity allowlist with descriptions, a service policy that fails closed, and a staged rollout checklist.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Use this skill to design, build and operate a two-add-on system for agent-managed Home Assistant (HA) automations:

    1. Automation deployment MCP add-on — a Home Assistant add-on that exposes an MCP (Streamable HTTP) server to an external AI agent. The agent can read an entity allowlist, validate definitions, and propose creations, deletions and rollbacks. Nothing is written to HA until the owner approves it in an HA Ingress panel. The agent never holds a Home Assistant long-lived access token (LLAT): the add-on talks to HA Core with the Supervisor token, and the agent only holds a dedicated MCP bearer token for this server.
    2. Entity Catalog Editor add-on — a small Ingress UI add-on where the owner picks, by checklist, which HA entities the agent is allowed to know about and reference, and writes a natural-language description for each one. It edits the same entity_catalog.yaml the MCP server reads, so "what the agent may touch" is managed in one place, by the owner, in the HA UI.

    This skill is a blueprint and operating guide distilled from a working, real-hardware deployment (add-on versions: MCP server 0.5.5, Catalog Editor 0.1.2). Follow it to recreate the system, adapt it, or review an existing implementation against the safety model.

    • No HA token on the agent side. The MCP server runs as an HA add-on and uses the Supervisor-injected token to reach HA Core. Standalone mode (outside HA) is a fallback only and must keep its token in a 0600 file on the server host, never in the agent's environment or chat.
    • Add-only, prefixed, create-only. Agent-created objects get IDs with a fixed prefix (muse_ in the reference deployment). Creation uses HA's config APIs in create-only fashion so an existing automation can never be silently overwritten. The prefix plus a server-side ledger defines what is "managed".
    • Proposals, not writes. Every create, delete and rollback first becomes an immutable proposal (definition hash pinned, 24 h TTL by default, capped pending count). Execution happens only on owner approval in a separate Ingress UI (separate port, admin-only panel, not reachable with the MCP token). At approval time the server re-validates, checks the pinned definition/backup has not changed (changed_since_proposal failure if it has), creates, reads back and verifies.
    • No approval tools in MCP. Approval and rejection deliberately do not exist as MCP tools, so the agent cannot approve its own proposals.
    • Entity allowlist is the trust boundary. Entities not listed in entity_catalog.yaml are invisible to the agent and any automation referencing them fails validation. A missing, empty or corrupt catalog means an empty allowlist: validation fails closed.
    • Service policy, fail-closed. By default only same-domain services for catalogued entities are allowed (plus notification create/dismiss for the agent's own notices). High-impact domains — lock, alarm_control_panel, and notify — are denied by default and can only be allowed by exact, full service names in policy.yaml (wildcards do not work for them). denied_services (fnmatch) is checked before every allow rule. If the policy file fails to load or validate, everything is denied.
    • Secrets hygiene. input_text values may contain private text, so every server surface (tool results, catalog reads, approval UI) masks input_text state as "***". input_text.pattern is restricted to a safe subset (single-atom quantifiers only, no backreferences, no look-around) and is refused fail-closed if the structural checker is unavailable.
    • Staged rollout. Read/validate tools first. Write tools appear only when deploy_enabled is on; script tools additionally need scripts_enabled, helper tools helpers_enabled. Enable one stage at a time and verify on real hardware before widening.

    Blueprint and operating guide distilled from a working deployment; it does not ship the original add-on source repositories. Template expressions in automations can only be checked statically on a best-effort basis. Config-entry helpers (template, utility_meter) are out of scope.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Software
    Home Assistant OS / SupervisedPython 3.12+Tailscale (recommended)Automation MCP

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    The skill itself is instructions and references. Systems built from it run a local MCP server that talks to Home Assistant via the Supervisor API; the agent side only uses a dedicated MCP bearer token.

    Listed7 days ago

    What's inside

    Creator

    Cheesecake XOR

    Cheesecake XOR

    Frequently Asked Questions

    Let an AI agent propose Home Assistant automations, scripts and helpers add-only, with owner approval in HA, an entity allowlist, and a visual catalog editor. No HA long-lived token on the agent.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Home Assistant Agent Automation With Owner Approval on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.