# Gravixlayer sandbox

> Gravixlayer sandbox is an open-source agent skill for cloud and infrastructure. Run commands, files, ports and snapshots in GravixLayer sandboxes via ComputeSDK. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/computesdk/computesdk/tree/main/skills/gravixlayer-sandbox
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** gravixlayer-sandbox
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill tells a coding agent how to use GravixLayer as a sandbox provider within the ComputeSDK ecosystem. It covers two routes: running a command through the hosted Sandbox Router with the compute CLI, and building a direct integration with the @computesdk/gravixlayer adapter package.

For the hosted route, the agent is pointed to CLI commands that choose GravixLayer, list current offers and connected keys, and optionally require managed or bring-your-own-key account mode. For TypeScript, it is guided to set a provider order so an organization's connected key is used. Full router examples are delegated to a separate sandbox-router skill.

For the direct route, the skill walks through installing the computesdk and adapter packages, creating an instance with the provider factory, running a command, and destroying the sandbox afterwards. Credentials and configuration details are left to the adapter README, and the skill expects a GravixLayer API key in the environment and a Node.js workflow.

## When your agent uses it

> GravixLayer sandbox adapter for ComputeSDK. Run commands, work with files, publish ports, and manage snapshots. Use for GravixLayer on the ComputeSDK Sandbox Router or @computesdk/gravixlayer in a direct SDK integration.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/computesdk/computesdk/tree/HEAD/skills/gravixlayer-sandbox)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/skills/gravixlayer-sandbox)

## Features

- **Hosted router commands:** Shows how to select GravixLayer through the compute CLI and run a one-off command.
- **Account mode selection:** Explains how to inspect offers and connected keys and require managed or BYOK mode.
- **Direct SDK setup:** Covers installing the adapter and creating a sandbox with the provider factory.
- **Sandbox command execution:** Demonstrates running a shell command inside a sandbox and reading its output.
- **Lifecycle cleanup:** Reminds the agent to destroy the sandbox once the workload is finished.

## Good for

- Run a quick command in an isolated GravixLayer sandbox
- Check which GravixLayer offers and keys are available to my organization
- Set up a TypeScript project to create GravixLayer sandboxes with @computesdk/gravixlayer
- Execute untrusted code snippets in a remote sandbox and collect stdout

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/gravixlayer-sandbox` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/gravixlayer-sandbox &&
cp -R "$tmp/skills/gravixlayer-sandbox" ~/.claude/skills/gravixlayer-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/gravixlayer-sandbox` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/gravixlayer-sandbox` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/gravixlayer-sandbox &&
cp -R "$tmp/skills/gravixlayer-sandbox" ~/.agents/skills/gravixlayer-sandbox &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/gravixlayer-sandbox` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/gravixlayer-sandbox` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/gravixlayer-sandbox &&
cp -R "$tmp/skills/gravixlayer-sandbox" ~/.cursor/skills/gravixlayer-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/gravixlayer-sandbox` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/computesdk/computesdk.git --path skills/gravixlayer-sandbox
```

Or copy the folder to `~/.gemini/skills/gravixlayer-sandbox` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/gravixlayer-sandbox`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/gravixlayer-sandbox &&
cp -R "$tmp/skills/gravixlayer-sandbox" ~/.copilot/skills/gravixlayer-sandbox &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/gravixlayer-sandbox` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/computesdk/computesdk.git
```

Then copy `computesdk/skills/gravixlayer-sandbox` into your agent's skills folder as `gravixlayer-sandbox`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need before using Gravixlayer sandbox?

For the direct SDK route you install computesdk and @computesdk/gravixlayer and configure credentials as described in the adapter README, using a GravixLayer API key. The hosted route uses the compute CLI and a connected key on the Sandbox Router.

### Which sandbox template does the example use?

The example creates an instance with the template ID base-small and runs node --version inside it.

### Does the skill include file, port or snapshot examples?

The description mentions files, published ports and snapshots, but the skill body itself only shows command execution and creation and destruction; details beyond that are not spelled out here.

### How do I install Gravixlayer sandbox in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/gravixlayer-sandbox to use it in all your projects, or to .claude/skills/gravixlayer-sandbox in one project.

### Does Gravixlayer sandbox run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Gravixlayer sandbox?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Gravixlayer sandbox?

The closest alternatives to Gravixlayer sandbox are Codesandbox sandbox, Sandbox0 sandbox, Blaxel sandbox, Sprites sandbox and Sail sandbox.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Codesandbox sandbox](https://ai-powered.com/skills/codesandbox-sandbox): Codesandbox sandbox is an open-source agent skill for cloud and infrastructure.
- [Sandbox0 sandbox](https://ai-powered.com/skills/sandbox0-sandbox): Sandbox0 sandbox is an open-source agent skill for cloud and infrastructure.
- [Blaxel sandbox](https://ai-powered.com/skills/blaxel-sandbox): Blaxel sandbox is an open-source agent skill for cloud and infrastructure.
- [Sprites sandbox](https://ai-powered.com/skills/sprites-sandbox): Sprites sandbox is an open-source agent skill for cloud and infrastructure.
- [Sail sandbox](https://ai-powered.com/skills/sail-sandbox): Sail sandbox is an open-source agent skill for cloud and infrastructure.
- [Givemeanode sandbox](https://ai-powered.com/skills/givemeanode-sandbox): Givemeanode sandbox is an open-source agent skill for cloud and infrastructure.
- [Vercel sandbox](https://ai-powered.com/skills/vercel-sandbox): Vercel sandbox is an open-source agent skill for cloud and infrastructure.
- [Cloud run sandbox](https://ai-powered.com/skills/cloud-run-sandbox): Cloud run sandbox is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/gravixlayer-sandbox
