aih-installlisted
Install: claude install-skill overdrive-dev/aihaus-flow
## Task
Install or refresh the aihaus overlay into the current working directory by
dispatching to `pkg/scripts/install.sh` with `--target .`. Fully autonomous
on the happy path — no prompts, no option menus, no compound decisions.
$ARGUMENTS
---
## Step 1 — Resolve AIHAUS_HOME
Locate the central aihaus clone. Check in order:
1. `$AIHAUS_HOME` env var — if set and `$AIHAUS_HOME/pkg/.aihaus/skills` exists,
use it.
2. `~/.aihaus/.install-source` registry — if the file exists and the recorded
path contains `pkg/.aihaus/skills`, use it.
3. Standard candidate paths (newest HEAD commit timestamp wins when multiple
match):
- `$XDG_DATA_HOME/aihaus` (default: `~/.local/share/aihaus`)
- `~/tools/aihaus`
- `~/Documents/GitHub/aihaus-flow`
- `~/Documents/GitHub/aihaus`
- `~/code/aihaus`
If no candidate is found, stop with:
> "AIHAUS_HOME not found. Clone aihaus (e.g. `git clone https://github.com/user/aihaus ~/tools/aihaus`) then re-run `/aih-install`."
The full discovery chain (including tier arbitration) is implemented in
`install.sh` itself — the dispatch in Step 3 benefits from it automatically.
The check above is the pre-flight guard for the dogfood detection in Step 2.
---
## Step 2 — Detect dogfood mode
If both of the following are true in `$PWD`:
- `pkg/scripts/install.sh` exists
- `pkg/.aihaus/skills/` exists
Then `$PWD` IS the central aihaus clone (dogfood mode). Do NOT install into
itself. Print:
> "Dogfood mode detected — cwd is the aihau