Gauntlith

headroom

Unclaimed, from headroomlabs-ai

Headroom startup hooks for Claude Code and GitHub Copilot CLI.

Plugin

View source at 3c66c91

We couldn't check all of this version, so there's no install button.

Not fully checked79.4k stars3c66c91eea3a · 3c66c91 · pinned 12 Nov 2026
Permanent link

README at commit 3c66c91 · shown without scripts

Headroom agent hooks

This plugin exposes lightweight startup hooks for Claude Code and GitHub Copilot CLI.

The hooks resolve and call:

headroom init hook ensure

That hidden helper checks for a matching durable headroom init deployment and starts it if needed.

When CLAUDE_PLUGIN_ROOT points to a readable launcher, resolution order is HEADROOM_BIN, headroom on PATH, then headroom and headroom.exe in $HOME/.local/bin, $HOME/.local/share/uv/tools/headroom-ai/bin, ${PIPX_HOME:-$HOME/.local/pipx}/venvs/headroom-ai/bin, /opt/homebrew/bin, and /usr/local/bin. If no executable is found, HEADROOM_PYTHON, python3, and python are checked for an importable headroom module and invoked as python -m headroom.cli init hook ensure.

Set HEADROOM_BIN or HEADROOM_PYTHON to override discovery. An absent CLI emits one actionable diagnostic and exits successfully, so the host hook remains nonblocking. Without a readable launcher, the hook runs bare headroom init hook ensure from PATH with none of the discovery above. Copilot CLI on Windows uses the manifest's powershell entry, which does the same.