Site-back-up interval watch

The simplest useful monitor: every 30 minutes, load the homepage of a down site; the moment it returns a normal page, report and stop.

prompt
→ Claude
/loop 30m check whether my live site [URL] is back up by loading the homepage. The moment it returns a normal page, tell me and stop checking.
claude-code

Implementation note

Verbatim from the source article. Interval-bounded monitor — one tick per period, stops on recovery. A good first /loop for someone who has never run one.

Source: Raytar

More devops loops

Docker image slimming

/goalloopreponew

Iteratively shrink a Docker image under a size target using multi-stage builds, smaller base images, and layer cleanup, verifying the container still boots each turn.

prompt
→ Claude
/goal `docker images` shows the app image under 300 MB — apply one slimming change per turn (multi-stage build, slimmer base image, prune build deps, consolidate layers), rebuild, and verify the container starts and passes its healthcheck before the next change; stop at the target or after 8 turns
devopslow risk