Fly.io
/install fly-io
Fly.io Skill
Fly.io is managed via the flyctl CLI (alias: fly) and the Machines REST API.
Auth
fly auth login # opens browser
fly auth token # print current token
export FLY_API_TOKEN=$(fly auth token)
App Management
fly apps list # list all apps
fly status -a \x3Capp-name> # app health + machine states
fly info -a \x3Capp-name> # app details, IPs, regions
fly open -a \x3Capp-name> # open in browser
Deploy
fly deploy # deploy from current dir (uses fly.toml)
fly deploy --image registry/image:tag # deploy a specific image
fly deploy --remote-only # build remotely (no local Docker needed)
fly deploy -a \x3Capp-name> # target specific app
Logs
fly logs -a \x3Capp-name> # live log stream
fly logs -a \x3Capp-name> --no-tail # recent logs, no follow
Secrets
fly secrets set MY_KEY=value -a \x3Capp-name>
fly secrets list -a \x3Capp-name>
fly secrets unset MY_KEY -a \x3Capp-name>
Scaling
fly scale count 3 -a \x3Capp-name> # set machine count
fly scale memory 512 -a \x3Capp-name> # set RAM (MB)
fly scale vm shared-cpu-2x -a \x3Capp-name> # change VM size
fly scale show -a \x3Capp-name> # current scale
Machines
fly machine list -a \x3Capp-name>
fly machine status \x3Cmachine-id> -a \x3Capp-name>
fly machine restart \x3Cmachine-id> -a \x3Capp-name>
fly machine stop \x3Cmachine-id> -a \x3Capp-name>
fly machine destroy \x3Cmachine-id> -a \x3Capp-name>
Run a Command (one-off)
fly ssh console -a \x3Capp-name> # interactive shell
fly ssh console -a \x3Capp-name> -C "ls -la /app" # run single command
Postgres
fly postgres create --name myapp-db # create Postgres cluster
fly postgres connect -a myapp-db # psql shell
fly postgres attach myapp-db -a \x3Capp-name> # attach DB to app (sets DATABASE_URL)
VM Sizes
shared-cpu-1x (256MB), shared-cpu-2x (512MB), performance-1x (2GB), performance-2x (4GB)
Regions
iad (Virginia), ord (Chicago), lax (LA), sea (Seattle), ams (Amsterdam), fra (Frankfurt), sin (Singapore), syd (Sydney)
Tips
fly.tomlis the app config — always check it before deployingfly deploy --strategy rollingfor zero-downtime deploys- Health checks in
fly.tomlunder[checks]block
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fly-io - After installation, invoke the skill by name or use
/fly-io - Provide required inputs per the skill's parameter spec and get structured output
What is Fly.io?
Deploy and manage applications on Fly.io using the flyctl CLI and Machines API. Use when asked to deploy an app, scale machines, check app status, view logs,... It is an AI Agent Skill for Claude Code / OpenClaw, with 120 downloads so far.
How do I install Fly.io?
Run "/install fly-io" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Fly.io free?
Yes, Fly.io is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Fly.io support?
Fly.io is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Fly.io?
It is built and maintained by dwhite-oss (@dwhite-oss); the current version is v1.0.0.