First and most important: full credit to @robsonfelix. His original app, Claude Code for Home Assistant - AI Assistant directly in your HA!, is the foundation this fork is built on. Almost every line of the Dockerfile started in his repo. This post is not a replacement for his thread, just a place where folks who hit specific install/runtime issues can land.
A handful of recurring problems were reported in the original thread:
- The app getting
Killedrepeatedly on startup on Proxmox HAOS and other small-VM setups. - Auto-update never actually pulling new Claude Code releases, leaving users stuck on old versions.
- The OAuth auth-code paste flow being painful: tmux intercepting paste, URLs wrapping across lines, repeated
400errors. - A first-launch
jq: error: ... settings.json: No such file or directorythat silently broke the pre-authorized tools list. - Two Supervisor warnings on install (
selective device accessand deprecatedarchvalues).
Rather than send drive-by patches and leave folks stuck in the meantime, I forked the repo, stripped it down to just the Claude Code app, and shipped fixes targeted at those exact issues.
What’s different in v1.2.65
- “Killed on startup” on Proxmox and small VMs.
auto_update_claudenow defaults tofalse. When you do enable it,npm install -g @anthropic-ai/claude-code@latestruns in the background with a 90stimeout, so it never blocksttydfrom coming up.NODE_OPTIONS=--max-old-space-size=512caps Node’s heap to keep the OOM killer off our back. tmux scrollback dropped from 20,000 to 5,000 lines. Healthcheckstart-periodraised from 10s to 120s so Supervisor stops killing the app mid-boot. - Auto-update actually picks up new releases. Replaced
npm update -g(a near-no-op for global packages on npm 9+) withnpm install -g @anthropic-ai/claude-code@latest. - OAuth paste flow.
session_persistencenow defaults tofalseso tmux isn’t intercepting paste during first-time auth. tmux still setsset-clipboard onandallow-passthrough onfor users who keep persistence enabled. Expanded README troubleshooting for the “long URL wraps and you copy half of it” case. - First-launch
jqerror fixed. Startup now createssettings.jsonif missing before merging the pre-authorized tools list. Without this fix, every read tool prompted for permission in the firstclaudesession, defeating the whole pre-auth. - Supervisor warnings cleaned up. Removed redundant
uart: true(subsumed byfull_access: true) and trimmedarch:to the still-supportedamd64andaarch64only. - Slimmer repo. Only the Claude Code app. The original Alexa Monocle bridge and the standalone Playwright Browser app are not in this fork; if you want them, they remain in the upstream repo.
Install
Click to add the repository:
Or manually: Settings → Apps → App Store → ⋮ → Repositories, add https://github.com/sproft/hass-claude.
Then install Claude Code from the store and start it. First launch will walk you through Anthropic auth from the terminal.
If you’ve been stuck
If you’ve been hitting any of the issues above on the original app, give v1.2.65 a try. Drop a reply with logs (Settings → Apps → Claude Code → Log) if something still doesn’t work. I’d rather hear about it than have you give up.
PRs welcome. Issues welcome. The repo is at GitHub - sproft/hass-claude: Home Assisstant Claude Code - run Anthropic's AI coding assistant directly in Home Assistant to create automations and manage your smart home. · GitHub.
Thanks again @robsonfelix. Your app is genuinely one of the most useful things I’ve installed in HA, and this fork only exists because the foundation was already there. ![]()