Debug CI runners & build servers live
The build is green on your laptop and red in CI. Instead of pushing "debug" commits and squinting at log artifacts, AI Commander lets Claude open a real shell on the actual runner — inspect the workspace, re-run the failing step, clear a poisoned cache — and tell you what differs.
The job
Self-hosted runners and build servers are often the hardest machines to reach: ephemeral, locked down, no inbound SSH. Yet "works on my machine" bugs live precisely in their environment — toolchain versions, env vars, caches, disk. AI Commander gives an AI client a shell right there:
- Re-run the failing command and read the real error, not a truncated log.
- Compare versions:
node -v,python --version,cc --version. - Inspect and clear caches that went stale:
~/.cache,node_modules, build dirs. - Check whether the runner simply ran out of disk or memory mid-build.
What it looks like
Why AI Commander for CI debugging
| AI Commander | Debug commits | SSH-into-runner | AI sandbox | |
|---|---|---|---|---|
| The real runner state | ✓ | slow loop | ✓ | fresh env |
| No inbound port | ✓ | ✓ | ✗ | ✓ |
| Interactive | ✓ | ✗ commit→wait | ✓ | ✓ |
| AI client drives it | ✓ MCP | ✗ | ✗ | SDK |
Set it up
On the runner / build host (Linux), install the agent:
curl -fsSL https://aicommander.dev/install | sudo bash
Connect your AI client, quote the session code (or alias runner-3), and start debugging on the real thing.
FAQ
Debug where the build actually ran
Install the agent on your runner and let Claude reproduce the failure on the real machine.