Loading...
Loading...
Use this skill for Sprites — isolated, persistent cloud Linux environments from Fly.io with their own filesystem, URL, services, checkpoints, and network policy. Trigger it to create, list, exec into, or destroy sprites; to run builds, tests, or agents in a remote sandbox; to start long-running services and expose a preview URL; to snapshot and roll back state; to change outbound network rules; to call third-party APIs (GitHub, Slack, etc.) through the credential-injecting gateway; or whenever the user names Sprites, sprite-env, or sprites.dev. Works both from inside a sprite and from a machine outside one.
npx skill4agent add superfly/skills spritestest -S /.sprite/api.sock && echo inside || echo outside| Result | Meaning | Control plane to use |
|---|---|---|
| The agent is running in the sprite | |
| The agent is on a laptop, CI runner, or another host | |
sprite-envspritehttps://api.sprites.dev-s <name>sprite-envsprite -s <self>| Goal | Inside a sprite | Outside a sprite | Reference |
|---|---|---|---|
| Identify the environment | | | environment-detection.md |
| Run a command | Run it directly in the shell | | remote.md |
| Keep a process alive | | | services.md |
| Expose a preview URL | | same, plus | services.md |
| Snapshot / roll back state | | | checkpoints.md |
| Move files in or out | Ordinary file tools, or | | files.md |
| Allow or deny outbound domains | read-only from inside | | network-policy.md |
| Reach a third-party API | Gateway at | Run the gateway call inside the sprite | api-gateway.md |
| Create or delete an environment | Not possible | | remote.md |
sprite list.sprite/configsprite useexeccheckpoint restoredestroysprite-envsprite