← 返回 Skills 市场
Fly.io
作者
dwhite-oss
· GitHub ↗
· v1.0.0
· MIT-0
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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,...
使用说明 (SKILL.md)
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
安全使用建议
This skill appears to be a straightforward set of flyctl usage instructions, but the package metadata is incomplete: it doesn't list the required flyctl binary or the FLY_API_TOKEN environment variable even though SKILL.md requires them. Before installing or enabling this skill: 1) verify you or the agent have flyctl installed and authenticated (run fly auth login yourself); 2) only provide a Fly API token with the minimum necessary privileges (prefer an ephemeral token or scoped service token if possible); 3) review any commands the agent will run (deploy, destroy, scale) because the skill can change live infrastructure; and 4) ask the skill author/maintainer to update the manifest to declare required binaries and the primaryEnv so permissions and audits are clear. If you need a stricter posture, avoid granting the agent access to production Fly credentials until the manifest and provenance are confirmed.
功能分析
Type: OpenClaw Skill
Name: fly-io
Version: 1.0.0
The skill bundle provides standard documentation and command references for managing Fly.io applications using the official flyctl CLI. It includes instructions for deployment, secrets management, scaling, and SSH access, all of which are consistent with the stated purpose in SKILL.md and lack any indicators of malicious intent or data exfiltration.
能力评估
Purpose & Capability
The name/description and SKILL.md all align with Fly.io operations (deploy, scale, logs, secrets, Postgres). However the manifest declares no required binaries or env vars even though the instructions explicitly require the flyctl CLI and use of FLY_API_TOKEN.
Instruction Scope
The SKILL.md stays on-topic: it lists flyctl commands to manage apps, machines, secrets, logs, and Postgres. It references local files (fly.toml) and running fly auth login/token which are appropriate for the stated purpose and do not request unrelated system data.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so it doesn't write or download code to disk. That is low-risk; the main runtime dependency is the external flyctl binary which the skill expects to be present but does not declare.
Credentials
The instructions tell the user/agent to export FLY_API_TOKEN (and to run fly auth login) but the manifest lists no required environment variables or primary credential. Requesting a Fly API token is proportionate to the purpose, but failing to declare it is an inconsistency that could hide credential usage patterns or confuse permission reviews.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-wide changes in the manifest. It will rely on the agent invoking flyctl at runtime, which is normal for this type of integration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fly-io - 安装完成后,直接呼叫该 Skill 的名称或使用
/fly-io触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
High-quality API skill by SkillPlexAI
元数据
常见问题
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,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。
如何安装 Fly.io?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fly-io」即可一键安装,无需额外配置。
Fly.io 是免费的吗?
是的,Fly.io 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Fly.io 支持哪些平台?
Fly.io 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Fly.io?
由 dwhite-oss(@dwhite-oss)开发并维护,当前版本 v1.0.0。
推荐 Skills