home-assistant-env

Automate Home Assistant CLI environment setup and connectivity verification.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/dbensmith/agent-library --skill home-assistant-env
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-assistant-env
Source: https://github.com/dbensmith/agent-library/tree/main/.apm/skills/home-assistant-env
Command: npx skills add https://github.com/dbensmith/agent-library --skill home-assistant-env

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires hass-cli, chezmoi, 1password-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of setting up the Home Assistant CLI (hass-cli) environment, ensuring a seamless authentication and verification of connectivity.

Core Features & Use Cases

  • Environment Setup: Automates the process of configuring hass-cli, Home Assistant authentication, and entity connectivity.
  • Automated Authentication: Utilizes the load-op-env command to securely handle environment variables for hass-cli.
  • Connectivity Verification: Executes commands to check connectivity to Home Assistant, confirming a working session.
  • Use Case: Useful when setting up a new Home Assistant instance, or when you need to connect to Home Assistant for tasks such as home automation.

Quick Start

Set up your Home Assistant CLI environment using the home-assistant-env skill.

Frequently Asked Questions about home-assistant-env

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the Home Assistant CLI environment and verify connectivity?

You can automate Home Assistant CLI authentication by using the 'load-op-env' command, which securely loads the necessary environment variables for 'hass-cli'. This skill runs that process to establish a seamless and verified session.

Does the Home Assistant CLI setup require 1password-cli and hass-cli?

Yes, setting up the Home Assistant CLI environment with this skill requires both 'hass-cli' and '1password-cli' dependencies. The 1password-cli provides the secure credential loading needed for the 'load-op-env' authentication process.

Can I use this automated CLI setup for a new Home Assistant instance?

Yes, this automated CLI setup is ideal for configuring a new Home Assistant instance. It simplifies the initial environment configuration and ensures your 'hass-cli' connectivity is verified before you begin home automation tasks.

Why does my Home Assistant CLI authentication fail during environment setup?

Home Assistant CLI authentication may fail if 'load-op-env' cannot securely access your credentials via 1password-cli. Ensuring these dependencies are correctly installed allows the environment variables to load properly for 'hass-cli'.

Related Skills