Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)21k · #10368

openshell-cli

Was er macht

Dieser Skill bringt der KI bei, das openshell Kommandozeilen Werkzeug für Sandboxes, Gateways, Anbieter und Richtlinien zu nutzen, von einfachen Aufgaben bis zu mehrstufigen Einrichtungen. Er ist für Leute gedacht, die OpenShell nutzen, um KI Agenten sicher laufen zu lassen.

Wann du ihn nutzt

  • ✓Wenn du eine OpenShell Sandbox anlegen, mit ihr verbinden oder Befehle darin ausführen willst.
  • ✓Wenn du ein Gateway registrieren oder einen Anbieter mit OpenShell einrichten musst.
  • ✓Wenn du eine Sandbox Richtlinie Schritt für Schritt mit openshell Befehlen aktualisierst.

Link zum Skill

https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Lege eine OpenShell Sandbox an, verbinde dich mit ihr und führe darin einen Testbefehl aus.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Die KI nutzt die eingebaute openshell Hilfe, um die richtigen Befehle und Optionen zu finden, und führt sie für deine Aufgabe nacheinander aus. Stößt sie auf einen Befehl, den der Skill nicht abdeckt, liest sie die Hilfe zu diesem Befehl.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

OpenShell CLI

Guide agents through using the openshell CLI for sandbox and platform management -- from basic operations to advanced multi-step workflows.

Overview

The OpenShell CLI (openshell) is the primary interface for managing sandboxes, providers, policies, settings, exposed services, and gateway registrations. Gateway service lifecycle is handled outside the CLI by packages, systemd, or Helm. This skill teaches agents how to orchestrate CLI commands for common and complex workflows.

Companion skill: For creating or modifying sandbox policy YAML content (network rules, L7 inspection, access presets), use the generate-sandbox-policy skill. This skill covers the CLI commands for the policy lifecycle; generate-sandbox-policy covers policy content authoring.

Self-teaching: The CLI has comprehensive built-in help. When you encounter a command or option not covered in this skill, walk the help tree:

openshell --help                    # Top-level commands
openshell <group> --help            # Subcommands in a group
openshell <group> <cmd> --help      # Flags for a specific command

This is your primary fallback. Use it freely -- the CLI's help output is authoritative and always up-to-date.

Prerequisites

  • openshell is on the PATH. Follow the published installation guide when it is not installed.
  • A reachable OpenShell gateway backed by Docker, Podman, Kubernetes, or the experimental VM driver
  • Docker is running only when using BYOC local builds or a Docker-backed gateway
  • For Kubernetes deployments: kubectl and Helm access to the target cluster

Authoritative References

Use openshell --help and nested --help output as the authority for the installed CLI version. Use the published documentation for product concepts and supported workflows:


Workflow 1: Getting Started

Use this workflow when the user has a gateway endpoint and wants to get a sandbox running for the first time.

Step 1: Register a gateway

openshell gateway add http://127.0.0.1:8080 --local --name local

Use an http:// endpoint only for trusted local port-forwarding or a protected private path. For a gateway behind an authenticated reverse proxy, register its HTTPS endpoint with openshell gateway add https://gateway.example.com.

Step 2: Verify the gateway

openshell status
openshell whoami

Confirm the gateway is reachable, authentication is valid or not required, and the output shows a version. Status: Connected only proves the public health endpoint is reachable; inspect the separate Authentication line before running protected commands. openshell whoami reports the identity validated by the gateway, including the subject an administrator uses for workspace membership. Add --output json for automation.

Step 3: Create a sandbox

The simplest way to get a sandbox running:

openshell sandbox create

This creates a sandbox whose canonical main process is /bin/bash -l and attaches your terminal to that retained process. Add --detach to return after the sandbox becomes ready without attaching.

An explicit trailing command is foreground even when stdin or stdout is not a terminal. The CLI streams its stdout and stderr and reports the command's exit status after output drains. A failure to deliver output makes the CLI report a failure even if the command itself exited successfully; check the sandbox's state before retrying work that might have side effects. Exit code 0 leaves a retained sandbox in Completed; nonzero leaves it in Error with MainProcessFailed. Use --no-keep to delete either result after output drains, or --detach for a long-running service. Combine --detach --no-keep when the gateway should run the service without a host attachment and delete its sandbox after the service exits.

When supply

Häufige Fragen

Muss ich OpenShell zuerst installieren?

Ja. Das openshell Werkzeug muss installiert und im PATH sein. Fehlt es, verweist der Skill auf die Installationsanleitung.

Schreibt er auch den Inhalt der Richtlinienregeln?

Er deckt die Befehle zur Verwaltung von Richtlinien ab. Das Schreiben der Regelinhalte übernimmt ein eigener Richtlinien Skill.

Hilft er beim Einrichten von KI Modellanbietern?

Ja. Er deckt die Anbieter Konfiguration ab, einschließlich des Aktualisierens von Anbieter Einstellungen und der Nutzung angehängter Anbieter für Inferenz.

Details

Originalbeschreibung des Autors

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger keywords - openshell, sandbox create, sandbox exec, sandbox connect, logs, provider create, profile list, profile describe, provider refresh, policy set, policy get, settings, service expose, forward, port forward, BYOC, bring your own container, inference, use openshell, run openshell

repo: NVIDIA/OpenShell

Beliebtheit

GitHub-Sterne
21k
Platz im Ranking
#10368
Lizenz
Apache-2.0
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills