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.
Install via ClawdBot CLI:
clawdbot install justinburdett/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:
1) Confirm which app you’re targeting
fly app listfly status -a fly.toml for app = "..."2) Validate / inspect (read-only)
fly status -a fly logs -a fly config show -a (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 fly config show -a fly secrets list -a 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 -C "" fly secrets set -a KEY=value See references/safety.md.
fly postgres listfly postgres attach -a fly postgres db create -a fly postgres db list -a fly postgres connect -a 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).Generated Mar 1, 2026
A startup wants to deploy a Ruby on Rails app with a PostgreSQL database on Fly.io for a new product launch. The AI agent uses read-only commands to inspect the app's current status and logs, then, with explicit approval, runs fly deploy to push the latest code changes and attach a Postgres cluster for data storage.
A SaaS company encounters a deployment failure due to native gem compatibility issues in their Docker-based Rails app. The AI agent analyzes logs with fly logs, identifies mismatched platforms in Gemfile.lock, and suggests fixes like adding the x86_64-linux platform, requiring user approval before applying changes.
An e-commerce platform automates their deployment pipeline using Fly.io with GitHub Actions. The AI agent guides the setup of Fly's GitHub Action for production deploys and configures preview apps for PRs, ensuring each PR gets its own app and database for isolated testing.
A fintech firm needs to update API keys and environment variables across multiple Fly.io apps securely. The AI agent first lists current secrets with fly secrets list, then, after explicit user approval, uses fly secrets set to modify configurations without disrupting running services.
A media streaming service experiences increased load and requires scaling their Fly Postgres cluster. The AI agent identifies the Postgres app with fly postgres list, inspects current performance via logs, and, with approval, executes commands to adjust resources or create new databases as needed.
Companies offer software services on a recurring fee basis, using Fly.io for scalable app hosting. The AI agent helps deploy updates, manage secrets, and debug issues to maintain uptime and customer satisfaction, with read-only checks ensuring safe operations.
Online retailers host their storefronts on Fly.io to handle traffic spikes and ensure fast load times. The AI agent assists in deploying new features, setting up preview environments for testing, and managing Postgres databases for order and inventory data securely.
Agencies provide custom app development and deployment services for clients using Fly.io. The AI agent streamlines workflows by automating deployments via GitHub Actions, debugging build failures, and safely managing client apps with approval-based changes.
💬 Integration Tip
Integrate this skill into CI/CD pipelines by using Fly's GitHub Action for automated deploys, and always perform read-only diagnostics before any state-changing operations to prevent unintended changes.
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
Full desktop computer use for headless Linux servers. Xvfb + XFCE virtual desktop with xdotool automation. 17 actions (click, type, scroll, screenshot, drag,...
Essential Docker commands and workflows for container management, image operations, and debugging.
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
Deploy applications and manage projects with complete CLI reference. Commands for deployments, projects, domains, environment variables, and live documentation access.
Monitor topics of interest and proactively alert when important developments occur. Use when user wants automated monitoring of specific subjects (e.g., product releases, price changes, news topics, technology updates). Supports scheduled web searches, AI-powered importance scoring, smart alerts vs weekly digests, and memory-aware contextual summaries.