# Copy to ~/.claude/host-monitor/.env and fill in. chmod 600. Never commit the real one. # # OPTIONAL — without these the monitor still works, it just alerts via the macOS # banner + ALERT.txt + log only. Add them if you want alerts to reach you when you # are not at this Mac (which is the case that matters: the host dying overnight). # # Slack app setup: https://api.slack.com/apps -> create app -> OAuth & Permissions # Bot Token Scopes: chat:write # Install to workspace, copy the Bot User OAuth Token (xoxb-…) # Then invite the bot to the target channel: /invite @your-app # # You can reuse the same Slack app as claude-work-report — this monitor also reads # ~/.claude/daily-reports/.env as a fallback, so filling that one in covers both. SLACK_BOT_TOKEN=xoxb-... # Channel id (C…) or name (#ux-alerts). An id is more robust — names break on rename. SLACK_CHANNEL= # Override how stale the docs site may get before it is flagged (default 5) # STALE_DAYS=5