1. Check if the `omc-hud.mjs` script exists and if the plugin is built.
2. If necessary, guide the user through building the plugin using `npm install` in the plugin directory.
3. Create the `~/.claude/hud` directory and the `omc-hud.mjs` script with the provided content if they are missing.
4. Make the script executable using `chmod +x`.
5. Update the `~/.claude/settings.json` file to include the `statusLine` configuration, using the absolute path to the `omc-hud.mjs` script.
6. Clean up any old HUD scripts.
7. Prompt the user to restart Claude Code for the changes to take effect.