
K8s sandbox
Run agent sandbox workloads as pods in your Kubernetes cluster via ComputeSDK
K8s 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 K8s sandbox
This skill guides an agent through using the @computesdk/k8s adapter, a Kubernetes provider for the ComputeSDK library. It walks through installing the npm packages, pointing the agent at the adapter README for prerequisites, credentials and the provider factory, and then creating a sandbox, running a command inside it and destroying it when done.
The included example builds a provider with a namespace and runtime setting, creates an instance, runs a shell command and prints its output. The skill itself is a short routing document; the detailed configuration and limitations live in the linked adapter README rather than in the skill.
It expects a Node.js/TypeScript project, access to a Kubernetes cluster with credentials configured as the adapter describes, and it points to the general computesdk skill for the common direct SDK workflow.
When your agent uses it
Kubernetes sandbox adapter for ComputeSDK. Run sandbox workloads as pods in your cluster. Use for @computesdk/k8s 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 (1 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/k8s-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/k8s-sandbox &&
cp -R "$tmp/skills/k8s-sandbox" ~/.claude/skills/k8s-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/k8s-sandbox inside it instead.
Copy the skill folder to ~/.agents/skills/k8s-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/k8s-sandbox &&
cp -R "$tmp/skills/k8s-sandbox" ~/.agents/skills/k8s-sandbox &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/k8s-sandbox inside it instead.
Copy the skill folder to ~/.cursor/skills/k8s-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/k8s-sandbox &&
cp -R "$tmp/skills/k8s-sandbox" ~/.cursor/skills/k8s-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/k8s-sandbox inside it instead.
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/k8s-sandboxOr copy the folder to ~/.gemini/skills/k8s-sandbox yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/k8s-sandbox:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/computesdk/computesdk.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/k8s-sandbox &&
cp -R "$tmp/skills/k8s-sandbox" ~/.copilot/skills/k8s-sandbox &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/k8s-sandbox inside it instead.
Get the folder:
git clone --depth 1 https://github.com/computesdk/computesdk.gitThen copy computesdk/skills/k8s-sandbox into your agent's skills folder as k8s-sandbox. Agents that support SKILL.md read one folder per skill.
What it does
- Direct SDK setup
- Lists the npm packages to install and how to import the Kubernetes provider factory.
- Sandbox lifecycle
- Covers creating an instance, running a workload and destroying the sandbox afterward.
- Command execution example
- Provides a short TypeScript snippet that runs a Node command inside a pod and reads stdout.
- Adapter README pointer
- Directs the agent to the adapter README for credentials, prerequisites and limitations.
- Related skill reference
- Points to the computesdk skill for the shared direct SDK workflow.
Good for
- Run a Node.js script in an isolated pod in my cluster
- Set up ComputeSDK with the Kubernetes provider in a TypeScript project
- Create a sandbox, execute a command and clean up the pod afterward
- Wire @computesdk/k8s into an existing SDK integration
K8s sandbox FAQ
What do I need to install to use K8s sandbox?
Run npm install computesdk @computesdk/k8s, then follow the adapter README for prerequisites and credentials.
What does the example do?
It creates a Kubernetes-backed instance in the default namespace, runs a Node command that prints a greeting, outputs stdout and then destroys the sandbox.
Where are the configuration details?
The skill links to the adapter README for prerequisites, credentials, the provider factory, example code and limitations.
How do I install K8s sandbox in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/k8s-sandbox to use it in all your projects, or to .claude/skills/k8s-sandbox in one project.
Does K8s 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 K8s 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 K8s sandbox?
The closest alternatives to K8s sandbox are Codesandbox sandbox, Cocoonstack sandbox, Neevcloud sandbox, Kubi sandbox and Runtime sandbox.
Where this comes from
- Description: from the skill's own SKILL.md.
More from computesdk/computesdk

Reference for driving the compute CLI to run sandboxes, Actions and market tasks
- Open source
- 305 GitHub stars
- Developer tools

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

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

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

Lets an agent check, verify, remove and re-rate a ComputeSDK org's provider keys
- Open source
- 305 GitHub stars
- Cloud and infrastructure

Lets an agent run code, files and servers in ComputeSDK cloud sandboxes
- Open source
- 305 GitHub stars
- Developer tools

