Appearance
Commands
All of these come from the infra CLI in the plugin.
Status
| Command | Does |
|---|---|
infra check | lists which secrets are set and whether Coolify, Cloudflare, netcup and SSH respond |
infra status | shows the server's power state and every Coolify resource with its health |
infra r2 | shows R2 storage and operations against the free allowance |
infra r2 guard | the same, but exits with code 3 when anything is over 80% |
Server
| Command | Does |
|---|---|
infra power status | RUNNING, SHUTOFF and so on |
infra power on / off | start, or shut down cleanly |
infra power hard-off | cut the power |
infra power reboot | reboot from inside, over SSH |
infra snapshot list | lists snapshots |
infra snapshot create NAME [DESC] | offline snapshot, about 4 minutes down |
infra snapshot revert NAME | roll back to it |
infra snapshot delete NAME | deletes it |
infra netcup login | one-off device login to netcup's API |
Access
| Command | Does |
|---|---|
infra ssh | interactive shell as stu |
infra ssh 'cmd' | runs one command |
infra tunnel | forwards localhost:8000 to Coolify, in case the domain is down |
DNS and Coolify
| Command | Does |
|---|---|
infra dns list | lists the zone's records |
infra dns add NAME [--no-proxy] | adds an A record pointing at the server |
infra dns rm NAME | removes it |
infra coolify GET /resources | a raw Coolify API call |
infra mcp-headers | prints the auth headers the plugin's MCP connection uses |
On the server
sh
sudo docker ps
sudo docker logs --tail 50 <container>
sudo docker exec claude-runner runner submit "prompt"
sudo ufw status
sudo fail2ban-client status sshd
sudo /usr/local/sbin/cf-origin-lock # refresh the Cloudflare ranges now