Skip to content
Skill

Gravixlayer sandbox

Run commands, files, ports and snapshots in GravixLayer sandboxes via ComputeSDK

Gravixlayer sandbox is an open-source agent skill for cloud and infrastructure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
305
Last commit
License
MIT
Listing updated

Similar skills

About Gravixlayer sandbox

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (2 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Gravixlayer sandbox 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.

More from computesdk/computesdk

  1. Reference for driving the compute CLI to run sandboxes, Actions and market tasks

    • Open source
    • 305 GitHub stars
    • Developer tools
  2. Guides contributors through adding a sandbox compute provider to ComputeSDK

    • Open source
    • 305 GitHub stars
    • Developer tools
  3. Lets your agent inspect, dispatch and manage ComputeSDK CI workflow runs for your org

    • Open source
    • 305 GitHub stars
    • Developer tools
  4. Lets an agent read ComputeSDK sandbox provider benchmark results, runs and logs

    • Open source
    • 305 GitHub stars
    • Developer tools
  5. Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys

    • Open source
    • 305 GitHub stars
    • Cloud and infrastructure
  6. Lets an agent run code, files and servers in ComputeSDK cloud sandboxes

    • Open source
    • 305 GitHub stars
    • Developer tools