k8e-sandbox

k8e-sandbox is a skill for Claude Code from xiaods/k8e. It costs 188 tokens per session (7,044 once invoked), scanned B, original, Apache-2.0.

A procedure for running a requested coding task inside an isolated K8E sandbox. The sandbox uses systems such as gVisor, Kata, or Firecracker to separate code execution from the main computer.

In plain words
What is it for?
Running, executing, or testing code in the K8E sandbox, including tasks started with the k8e-sandbox command.
Why use it?
It provides a safer place to execute or test code when running it directly on the host could be risky. If no task is supplied, it asks for one instead of inventing work.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit Running, executing, or testing code in the K8E sandbox, including tasks started with the k8e-sandbox command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaods/k8e/k8e-sandbox
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xiaods/k8e --skill k8e-sandbox
Clone the repo
git clone --depth 1 https://github.com/xiaods/k8e

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for k8e-sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaods/k8e/k8e-sandbox/github.svg)](https://agentmods.dev/skills/xiaods/k8e/k8e-sandbox)
Your own site
<a href="https://agentmods.dev/skills/xiaods/k8e/k8e-sandbox"><img src="https://agentmods.dev/badge/skills/xiaods/k8e/k8e-sandbox/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for k8e-sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaods/k8e/k8e-sandbox"><img src="https://agentmods.dev/badge/skills/xiaods/k8e/k8e-sandbox.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,044 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 115
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Prompt Injection · line 130
    Subtle instructions detected that may alter agent decision-making or introduce hidden biases.
    Fix: Review content for implicit steering or bias. Ensure instructions are explicit and align with the skill's stated purpose.
  • medium Rogue Agent · line 201
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00188 $0.07044
Opus 5.5 $0.00075 $0.02818
Sonnet 5.5 $0.00038 $0.01409
Haiku 4.5 $0.00019 $0.00704

Measured 4d ago against content hash 7d2d54bae1ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

k8e-sandbox scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

If you only see a platform-suffixed name in the user's environment (no symlink yet), use that file directly: `./k8e-sandbox-cli-linux-amd64 status` etc. All spellings are interchangeable; never tell the user they are mis

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sLO https://github.com/xiaods/k8e/releases/latest/download/k8e-sandbox-cli-linux-amd64
pkg/sandboxcli/skills/k8e-sandbox/SKILL.md · 414 lines

How it starts

The opening of the file, as written. The whole thing — 414 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/k8e-sandbox

Treat this as the k8e-sandbox skill command.

Invocation (same skill, different harness prefixes):

  • Claude Code: /k8e-sandbox <goal>
  • Codex: $k8e-sandbox <goal> (or pick from /skills)
  • Pi: /skill:k8e-sandbox <goal> (or /k8e-sandbox when skill commands are enabled)
  • dsh (DeepSeek Harness): the model loads this skill via the skill tool (catalog name k8e-sandbox), or the user names it directly in chat — see dsh execution path below

Goal from invocation arguments:

$ARGUMENTS

If $ARGUMENTS is empty and no goal is otherwise provided, ask the user for a sandbox goal and stop (do not invent work).

What this skill can do (capability map)

Match the goal to a capability, then use the matching command. Exact flags live in the command reference.

Goal shape Capability Command
Run a command, script or test suite Isolated exec in the pod — bash (default), python, node, ts run, run --lang python, run --raw
Install dependencies pip/npm writes land in /workspace, not the image (KIP-13) run 'pip install …'
Move files in / out Chunked streaming — constant memory, binary-safe, any size push <sid> <local> [remote], pull <sid> <remote> [local]
Keep state across calls Auto session, --tenant for cross-process reuse, sub-agents share one pod + workspace run …, run --tenant, subagent <parent-sid>
Seed a workspace Declarative manifest or a git clone at session creation (KIP-9) create --manifest, create --git-repo
Save / restore a workspace Content-addressed snapshots (deduped; incremental via --base) snapshot save/list/restore/delete
Serve a web app or API Publish an in-pod port through the k8e API Gateway — no port-forward, no inbound pod exposure (KIP-24) run --background → expose <port> → exposed / unexpose
Reach the internet Session egress allowlist, updatable live while the pod runs allow-hosts --add/--remove/--clear, or --allowed-hosts at create
Watch or debug a run Transcript replay, NDJSON event stream, process list, background poll log, events, ps, poll
Gate an irreversible step Human-in-the-loop approval before the action runs confirm <sid> <action> → approve <aid>
Measure cold-start latency Warm-pool benchmark benchmark
Drive it from another program Machine-readable command surface; native MCP server catalog, mcp-serve
Target another cluster mTLS client certs + named profiles; API keys with TTL (KIP-14 / KIP-17) --profile, connect, k8e sandbox-apikey create
Diagnose a broken setup Self-check with auto-fix doctor, doctor --json, doctor --fix

Read the full file on GitHub · 414 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +9 lines 7d2d54bae1ca
  2. 1mo ago Changed · +19 lines 1e971a4a399d
  3. 1mo ago Changed · +27 lines · +127 tokens per session e9605ee48ebe
  4. 1mo ago First seen · 359 lines · 61 tokens per session scan B aa5d88b6934f

Subscribe to this mod's changes

k8e-sandbox is a skill published in the GitHub repository xiaods/k8e (510 stars, last pushed today), licensed Apache-2.0. It adds 188 tokens to every session and 7,044 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it B with 2 findings (subtle steering, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

container-manager-kubernetes-operations

Full operational Kubernetes surface via the container-manager-mcp MCP server — workloads (pods/rollouts/StatefulSets/DaemonSets/ReplicaSets/Jobs/CronJobs), config (ConfigMaps/Secrets/Namespaces/CRDs/patch), networking (Ingress/native Services/NetworkPolicy/DNS), storage (PV/PVC/StorageClass/snapshots/CSI), RBAC…

Knuckles-Team/container-manager-mcp · 189 tokens

kelos

Install and configure Kelos; author, document, inspect, troubleshoot, and operate its Kubernetes custom resources and CRD schemas in the kelos.dev API group using manifests, kubectl, or the kelos CLI. Use when a request names Kelos or a distinctive Kelos kind such as AgentConfig or TaskSpawner and concerns an…

kelos-dev/kelos · 128 tokens

hunt-k8s

Hunt Kubernetes & Docker — API anonymous access, kubelet 10250 exec (SPDY/WebSocket, NOT plain POST) and the simpler /run primitive, etcd 2379 unauth, dashboard skip-login, RBAC misconfig, secret/SA-token abuse, docker.sock host escape, runc/container-escape (Leaky Vessels CVE-2024-21626), API-server-mediated…

uphiago/recon-skills · 159 tokens

kubernetes-expert

Expert-level Kubernetes cluster management, deployment strategies, networking, and production operations. Use when the user mentions containers, orchestration, devops, or cloud native, or when the task involves Kubernetes Architecture, Pods, Deployments, or Services.

personamanagmentlayer/pcl · 53 tokens

k8s-generator

Generate production-ready Kubernetes manifests with Deployments, Services, ConfigMaps, and Ingress.

glincker/claude-code-marketplace · 22 tokens

container-manager-multi-context

Operate several container backends and contexts at once — Kubernetes, Docker, Podman, and Swarm — via the container-manager-mcp MCP server's cmmulticontext tool, with per-call backend/context selection and parallel fan-out across a configured pool of contexts. Use when the agent must compare, migrate between, or…

Knuckles-Team/container-manager-mcp · 118 tokens