# Compute CLI

> Compute CLI is an open-source agent skill for developer tools. Reference for driving the compute CLI to run sandboxes, Actions and market tasks. 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/.agents/skills/compute-cli
- **Repository:** https://github.com/computesdk/computesdk
- **GitHub stars:** 305
- **License:** MIT
- **Skill name:** compute-cli
- **Collection:** https://github.com/computesdk/computesdk
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill is a maintainer reference for the compute command-line tool published as @computesdk/cli. It maps the command groups for hosted sandboxes, Actions runs, the compute market, providers, bench and BYOK keys, and explains the single login shared across them. It also covers how org selection, API key and host resolution work, including the rules for sending credentials to untrusted hosts.

The skill points the agent at the exact flags and quick references for each group, such as creating sandboxes with size and price caps, dispatching workflows with local uncommitted changes, and reading benchmark results from a run in JSON. It also describes how to test CLI changes against a pull request preview deployment and a cheap live loop against a registered workflow repo.

It expects the agent to work inside the computesdk repository with pnpm, Node and access to the computesdk platform. Tests are run with vitest in the CLI package, and changes are recorded with patch changesets. The skill also reminds the agent to keep the sandbox and Actions user guides in step with CLI changes.

## When your agent uses it

> Reference for the `compute` CLI published from this repo as @computesdk/cli — command groups (sandboxes, actions, market, providers, bench), one shared login, and how to test changes end-to-end. Keep the user-facing guides (`compute-sandboxes-cli`, `compute-actions-cli`) in sync when the CLI surface changes.

## 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/.agents/skills/compute-cli)
- [License: MIT](https://github.com/computesdk/computesdk/tree/HEAD/.agents/skills/compute-cli)

## Features

- **Command group map:** Lists the sandboxes, actions, market, providers, bench and BYOK command groups with their subcommands.
- **Auth and org resolution:** Explains the order used to pick API keys, stored logins, organizations and base URLs.
- **Sandbox pricing flow:** Describes quoting a sandbox rate, setting price caps and the error codes returned on create.
- **Actions dispatch and logs:** Covers dispatching workflows, following logs, rerunning runs and dispatching uncommitted local changes.
- **PR preview testing:** Describes how to run CLI actions against a pull request preview deployment and its limits.
- **Benchmark result reading:** Shows how to read per-provider benchmark scores for a run in table or JSON form.

## Good for

- Create a sandbox with a size and max price, then run a command in it
- Dispatch a CI workflow with my uncommitted local changes
- Check the benchmark scores from a finished Actions run
- Test a CLI change against a pull request preview deployment
- Set org sandbox routing and price caps from the terminal

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/compute-cli` 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/compute-cli &&
cp -R "$tmp/.agents/skills/compute-cli" ~/.claude/skills/compute-cli &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/compute-cli` 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/compute-cli &&
cp -R "$tmp/.agents/skills/compute-cli" ~/.agents/skills/compute-cli &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/compute-cli` 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/compute-cli &&
cp -R "$tmp/.agents/skills/compute-cli" ~/.cursor/skills/compute-cli &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compute-cli` 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 .agents/skills/compute-cli
```

Or copy the folder to `~/.gemini/skills/compute-cli` yourself.

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### Which products does Compute CLI cover?

It covers the compute CLI command groups for sandboxes, actions, market, providers, bench and BYOK keys.

### How does login work across commands?

One stored compute login session covers the sandboxes, actions, market and bench groups.

### Can the bearer key be sent to any host?

No. The key is only sent to computesdk.com and localhost, over HTTPS, unless an explicit flag allows untrusted hosts.

### Does the CLI still support the gateway run command?

No. The gateway run command and COMPUTESDK_API_KEY were removed in version 2.0.

### How do I install Compute CLI in Claude Code?

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

### Does Compute CLI 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 Compute CLI?

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 Compute CLI?

The closest alternatives to Compute CLI are Compute actions CLI, Compute sandboxes CLI, Sandbox CLI sandbox, Computesdk and Sail sandbox.

## Where this comes from

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

## Alternatives

- [Compute actions CLI](https://ai-powered.com/skills/compute-actions-cli): Compute actions CLI is an open-source agent skill for developer tools.
- [Compute sandboxes CLI](https://ai-powered.com/skills/compute-sandboxes-cli): Compute sandboxes CLI is an open-source agent skill for cloud and infrastructure.
- [Sandbox CLI sandbox](https://ai-powered.com/skills/sandbox-cli-sandbox): Sandbox CLI sandbox is an open-source agent skill for developer tools.
- [Computesdk](https://ai-powered.com/skills/computesdk): Computesdk is an open-source agent skill for developer tools.
- [Sail sandbox](https://ai-powered.com/skills/sail-sandbox): Sail sandbox is an open-source agent skill for cloud and infrastructure.
- [Lightning sandbox](https://ai-powered.com/skills/lightning-sandbox): Lightning sandbox is an open-source agent skill for cloud and infrastructure.
- [Briq sandbox](https://ai-powered.com/skills/briq-sandbox): Briq sandbox is an open-source agent skill for developer tools.
- [Benchmarks](https://ai-powered.com/skills/benchmarks): Benchmarks is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/compute-cli
