# Send Fly.io CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "flyio-cli",
    "name": "Fly.io CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/justinburdett/flyio-cli",
    "canonicalUrl": "https://clawhub.ai/justinburdett/flyio-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/flyio-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flyio-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/safety.md",
      "references/github-actions.md",
      "references/rails-docker-builds.md",
      "scripts/fly_app_from_toml.sh",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "flyio-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T08:56:53.371Z",
      "expiresAt": "2026-05-10T08:56:53.371Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flyio-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=flyio-cli",
        "contentDisposition": "attachment; filename=\"flyio-cli-1.0.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "flyio-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/flyio-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/flyio-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/flyio-cli",
    "agentUrl": "https://openagent3.xyz/skills/flyio-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/flyio-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/flyio-cli/agent.md"
  }
}
```
## Documentation

### Fly.io (flyctl) CLI

Operate Fly.io apps safely and repeatably with flyctl.

### Defaults / safety

Prefer read-only commands first: fly status, fly logs, fly config show, fly releases, fly secrets list.
Do not edit/modify Fly.io apps, machines, secrets, volumes, or databases without your human’s explicit approval.

Read-only actions are OK without approval.
Destructive actions (destroy/drop) always require explicit approval.


When debugging builds, capture the exact error output and determine whether it’s a:

build/packaging issue (Dockerfile, Gemfile.lock platforms, assets precompile)
runtime issue (secrets, DB, migrations)
platform issue (regions, machines, health checks)

### Quick start (typical deploy)

From the app repo directory:

Confirm which app you’re targeting

fly app list
fly status -a <app>
Check fly.toml for app = "..."

Validate / inspect (read-only)

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.)

### Common checks

fly deploy --verbose (more build logs)
If using Dockerfile builds: verify Dockerfile Ruby/version and Gemfile.lock platforms match your builder OS/arch.

### Rails + Docker + native gems (nokogiri, pg, etc.)

Symptoms: Bundler can’t find a platform gem like nokogiri-…-x86_64-linux during build.

Fix pattern:

Ensure Gemfile.lock includes the Linux platform used by Fly’s builder (usually x86_64-linux).

Example: bundle lock --add-platform x86_64-linux


Ensure Dockerfile’s Ruby version matches .ruby-version.

(See references/rails-docker-builds.md.)

### Logs & config (read-only)

Stream logs:

fly logs -a <app>


Show config:

fly config show -a <app>


List secrets (names only):

fly secrets list -a <app>

### High-risk operations (ask first)

These commands can execute arbitrary code on servers or mutate production state.
Only run them when the user explicitly asks you to.

Deploy:

fly deploy / fly deploy --remote-only


SSH exec / console:

fly ssh console -a <app> -C "<command>"


Secrets changes:

fly secrets set -a <app> KEY=value

See references/safety.md.

### Identify the Postgres app

fly postgres list

### Attach Postgres to an app

fly postgres attach <pg-app> -a <app>

### Create a database inside the cluster

fly postgres db create <db_name> -a <pg-app>
fly postgres db list -a <pg-app>

### Connect (psql)

fly postgres connect -a <pg-app>

### GitHub Actions deploys / previews

For production CD: use Fly’s GitHub Action (superfly/flyctl-actions/setup-flyctl) and run flyctl deploy.
For PR previews:

Prefer one preview app per PR and one database per PR inside a shared Fly Postgres cluster.
Automate create/deploy/comment on PR; destroy on close.

(See references/github-actions.md.)

### Bundled resources

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).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: justinburdett
- Version: 1.0.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T08:56:53.371Z
- Expires at: 2026-05-10T08:56:53.371Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/flyio-cli)
- [Send to Agent page](https://openagent3.xyz/skills/flyio-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/flyio-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/flyio-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/flyio-cli)