From home-assistant
Configure Home Assistant credentials — save the server URL and long-lived access token. Use when setting up the HA plugin, checking connection status, or rotating the token.
npx claudepluginhub cameri/claude-skills --plugin home-assistantThis skill is limited to using the following tools:
<objective>
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Guides TDD-style skill creation: pressure scenarios as tests, baseline agent failures, write docs to enforce compliance, verify with RED-GREEN-REFACTOR.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
<quick_start>
Save credentials: /home-assistant:access url=http://homeassistant.local:8123 token=<TOKEN>
Check status: /home-assistant:access (no args)
Guided setup: /home-assistant:access setup
</quick_start>
<credential_format>
~/.claude/channels/home-assistant/.env:
HA_URL=http://homeassistant.local:8123
HA_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Strip trailing slash from HA_URL before writing. Single-quote values containing special characters. chmod 600 after writing.
</credential_format>
Read ~/.claude/channels/home-assistant/.env (missing = not configured) and show:
HA_URL: show value or "not set".HA_TOKEN: show "set (masked)" or "not set".http --ignore-stdin -b GET "${HA_URL%/}/api/" \
"Authorization: Bearer $HA_TOKEN"
{"message": "API running."}): show "Connection OK".setup — guided setup:
Explain each credential:
http://homeassistant.local:8123 or https://ha.yourdomain.com).Then ask the user to run:
/home-assistant:access url=<URL> token=<TOKEN>
Explicit save — url=<URL> token=<TOKEN>:
Parse key=value pairs from $ARGUMENTS. Accept both url=/HA_URL= and token=/HA_TOKEN= forms (case-insensitive, strip HA_ prefix).
Required: both url and token. List absent keys and stop if missing.
mkdir -p ~/.claude/channels/home-assistant.env if present; update/add provided keys, preserve others.HA_URL before writing.KEY=value (single-quote values with special characters).chmod 600 ~/.claude/channels/home-assistant/.envclear — remove credentials:
Delete ~/.claude/channels/home-assistant/.env. Confirm first: "This will remove all Home Assistant credentials. Are you sure?"
</workflow>
<security_checklist>
HA_TOKEN in full — show only "set (masked)" or first 8 chars + ...chmod 600 the .env file after writingHA_URLhttp:// vs https:// and certificate validity
</security_checklist><success_criteria>
~/.claude/channels/home-assistant/.env with chmod 600{"message": "API running."}