← ClaudeAtlas

openshell-best-practiceslisted

Run NVIDIA OpenShell 0.1.x — the sandboxed runtime for autonomous AI agents (gateway, per-sandbox supervisor, Landlock/seccomp/netns isolation, L7 network policy, credential placeholders via providers/profiles) — the way current practitioners do. Core knowledge: the 0.1.0 breaking cutover and which 0.0.x patterns are now wrong (inference.local, built-in profiles, --from Dockerfile builds, community base image, config v1); local gateway installs (RPM/deb/brew/snap, clean reinstall from 0.0.x); Kubernetes Helm deployment with Agent Sandbox, ingress without Gateway API, OIDC/Keycloak, gatewayConfig vs deprecated server.* aliases, HA; agent images and session model (detach, exec, device-code logins); providers, binaries real paths, policy approval and its limits; air-gap operation (mirrors, telemetry, supervisor CAs, RFC 1918 destinations and allowed_ips, 198.18 stand-in DNS, corporate proxy); rarely used gateway, policy, profile and sandbox settings; automation; and a gotcha list with issues.
air-gapped/skills · ★ 6 · AI & Automation · score 81
Install: claude install-skill air-gapped/skills
# OpenShell best practices (0.1.x) Snapshot: OpenShell **0.1.7** (2026-11-03), from the v0.1.7 tag, release notes, GitHub issues filed since 0.1.0, and practitioner write-ups (history in `references/sources.md`). OpenShell releases about weekly and breaks things between minors — **check the installed and latest versions before advising** (`openshell --version`, `gh release list --repo NVIDIA/OpenShell`) and read every release note in between. When this skill and the code at the user's tag disagree, the code wins. ## Mental model | Piece | Role | |---|---| | **Gateway** | Control plane (gRPC on one HTTPS port). Creates sandboxes through a compute driver (Docker, Podman, Kubernetes, VM), stores sandboxes, policies, profiles and provider secrets, authenticates users (OIDC / mTLS). The CLI and TUI are thin clients; `openshell gateway select` switches between gateways | | **Supervisor** | One per sandbox (or a shared pool on Kubernetes). Owns the network boundary: every agent connection goes through it, it evaluates policy, terminates TLS with a per-sandbox CA, injects real credentials only at approved endpoints, and opens the upstream connection itself | | **Sandbox** | The workload (your agent image) under Landlock + seccomp + network namespace. `/sandbox` is persistent `$HOME`; default network policy is deny-all | | **Profile → provider → attachment** | Profile = provider type (endpoints, env vars, allowed binaries); provider = profile + real secret, stored in the gateway; a