hapi-runner-setup

Installation
SKILL.md

Use for an existing HAPI installation on Linux with a working systemd user manager. Installing HAPI, changing providers, or enabling startup are separate choices; perform only the requested setup. Preserve unrelated configuration and active sessions.

Inspect the machine

  • Find the installed HAPI executable and run hapi runner --help. Confirm that runner start-sync is the foreground entry point for this installation before using it in a service. runner start backgrounds itself and is unsuitable as the service's main process.
  • Inspect existing user units, the running runner, hub URL, workspace-root arguments, working directory, and executable search paths. Preserve explicit restrictions and required configuration. Inspect only needed environment keys; never dump process environments, authentication files, or systemd environment values containing secrets.
  • Check the user's Codex provider configuration and its authentication source. A key available in an interactive shell does not establish that systemd or an existing Codex process has it.

Register the user service

Use ~/.config/systemd/user/hapi-fly-runner.service unless the user selects another name. Adapt this template to the discovered executable and required environment; replace the executable marker before validation:

[Unit]
Description=HAPI Fly runner
After=network.target
Installs
1
GitHub Stars
7
First Seen
Oct 30, 2026