Install
openclaw skills install flyio-cliUse the Fly.io flyctl CLI for deploying and operating apps on Fly.io. Default to read-only diagnostics (status/logs/config/releases). Only perform state-changing operations (deploys, SSH exec, secrets, scaling, machines, volumes, Postgres changes) with explicit user approval. Use when asked to deploy to Fly.io, debug fly deploy/build/runtime failures, set up GitHub Actions deploys/previews, or safely manage Fly apps and Postgres.
openclaw skills install flyio-cliOperate Fly.io apps safely and repeatably with flyctl.
fly status, fly logs, fly config show, fly releases, fly secrets list.From the app repo directory:
fly app listfly status -a <app>fly.toml for app = "..."fly status -a <app>fly logs -a <app>fly config show -a <app>(Deploys are in High-risk operations below and require explicit user approval.)
fly deploy --verbose (more build logs)Symptoms: Bundler can’t find a platform gem like nokogiri-…-x86_64-linux during build.
Fix pattern:
Gemfile.lock includes the Linux platform used by Fly’s builder (usually x86_64-linux).
bundle lock --add-platform x86_64-linux.ruby-version.(See references/rails-docker-builds.md.)
fly logs -a <app>fly config show -a <app>fly secrets list -a <app>These commands can execute arbitrary code on servers or mutate production state. Only run them when the user explicitly asks you to.
fly deploy / fly deploy --remote-onlyfly ssh console -a <app> -C "<command>"fly secrets set -a <app> KEY=valueSee references/safety.md.
fly postgres listfly postgres attach <pg-app> -a <app>fly postgres db create <db_name> -a <pg-app>fly postgres db list -a <pg-app>fly postgres connect -a <pg-app>superfly/flyctl-actions/setup-flyctl) and run flyctl deploy.(See references/github-actions.md.)
references/safety.md: safety rules (read-only by default; ask before mutating state).references/rails-docker-builds.md: Rails/Docker/Fly build failure patterns + fixes.references/github-actions.md: Fly deploy + preview workflows.scripts/fly_app_from_toml.sh: tiny helper to print the Fly app name from fly.toml (shell-only; no ruby).