Before handing a fresh laptop, VPS, or container to Claude Code or Codex, verify RAM, disk, tmux, git identity, CLIs, and outbound TLS in one read-only command.
Run curl -fsSL https://hivra.cloud/preflight.sh | bash (or download and inspect it first). It prints a clean JSON or --markdown readiness report without ever reading .env contents, SSH keys, or credentials.
Paste the JSON output below to get a 0 to 100 readiness score and exact fix commands for every blocker.
Read-only by design:/preflight.sh never reads file contents of .env, SSH keys, or credentials. It checks permission bits only via stat. Requirements checked as of October 2026.
Rather than fighting low RAM, missing tmux, or laptop lid sleep, you can run your agent on a dedicated Linux computer. Hivra starts at $9.99 a month for 2 vCPU and 4 GB, not paused for inactivity.
The hosted `/preflight.sh` route serves a transparent, read-only bash script that probes OS/arch, RAM, free disk, tool presence, outbound TLS reachability to `api.anthropic.com` and `api.openai.com`, and `.env` permission bits via `stat`.
The browser decoder scores reports out of 100, subtracting 25 points per hard blocker (under 2 GB RAM, under 5 GB free disk, missing tmux on unattended runs, missing target CLI, world-readable `.env`) and 10 points per warning.
Report decoding happens entirely in your browser; nothing you paste is sent to a server or added to shared links.
Last checked October 2026.
Worked examples
Fresh 4 GB Linux VPS missing tmux and git identity
Inputs: vps-missing-tmux sample, both CLIs, unattended mode.
Flags the exact two commands needed before leaving an agent running overnight on a fresh VPS.
1 GB container with world-readable .env and missing claude CLI
Inputs: low-ram-container sample, both CLIs, unattended mode.
Readiness score: 0/100 (5 blockers: 1 GB RAM, 3 GB disk, no tmux, no claude, chmod 600 .env)
Catches OOM risk and exposed .env permissions before an agent touches the environment.
16 GB macOS laptop for interactive daytime coding
Inputs: laptop-ready sample, both CLIs, interactive mode.
Readiness score: 100/100 (0 blockers, 0 warnings)
Confirms the machine is ready for interactive sessions without unnecessary cloud spend.
Cite this page
Hivra, "Agent Environment Preflight Check", https://hivra.cloud/tools/agent-preflight, facts last checked October 2026.
Source: <a href="https://hivra.cloud/tools/agent-preflight">Hivra</a>, Agent Environment Preflight Check, facts last checked October 2026.
Common questions
Does /preflight.sh read my .env file, SSH keys, or API tokens?+
No. The script is plain readable bash and never opens .env, ~/.ssh, or credential files. It only checks whether .env has world-readable permission bits via stat.
Can an AI coding agent run /preflight.sh itself and parse the output?+
Yes. By default /preflight.sh prints clean JSON to stdout (or pass --markdown for a bullet summary), so an agent can audit a new host in a single command instead of running ten ad-hoc checks.
Why does the preflight check flag 1 GB RAM machines as a blocker?+
Node.js builds, TypeScript typechecks, and parallel test runners routinely exceed 1 GB RAM and trigger the Linux OOM killer mid-task. At least 4 GB RAM is recommended for unattended coding agents.
Why is tmux required for unattended runs?+
Without tmux, closing your terminal or losing SSH drops SIGHUP onto the running Claude Code or Codex process and kills the session.
Should I inspect /preflight.sh before piping it to bash?+
Yes. The page includes a copyable inspect-first command (curl -fsSLO https://hivra.cloud/preflight.sh && less preflight.sh && bash preflight.sh) so you can read every line first.
What if my laptop or low-RAM VPS fails multiple preflight checks?+
You can apply the fix commands listed in the report, or run your agent on a Hivra Linux computer starting at $9.99 a month for 2 vCPU and 4 GB, not paused for inactivity.
When you need a computer that stays on
If you want the computer to stay on after you leave your desk, Hivra offers a managed computer starting at $9.99 a month for 2 vCPU and 4 GB of RAM. A paid Hivra Cloud computer stays on and is not paused for inactivity. The plan does not include AI usage. Bring your own account or key where the agent supports it, or pay with Hivra credits. Claude Code can use your own Anthropic sign-in or Hivra credits. There is a 7-day money-back guarantee on card payments.