Saltar al contenido
Skillpedia
Deploy y nube (DevOps)21 mil · #10368

openshell-cli

Qué hace

Esta skill enseña a la IA a usar la herramienta de línea de comandos openshell para sandboxes, pasarelas, proveedores y políticas, desde tareas sencillas hasta configuraciones de varios pasos. Es para quienes usan OpenShell para ejecutar agentes de IA de forma segura.

Cuándo usarla

  • ✓Cuando quieres crear un sandbox de OpenShell, conectarte a él o ejecutar comandos dentro.
  • ✓Cuando necesitas registrar una pasarela o configurar un proveedor con OpenShell.
  • ✓Cuando actualizas una política de sandbox paso a paso con comandos de openshell.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Crea un sandbox de OpenShell, conéctate a él y ejecuta un comando de prueba dentro.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La IA usa la ayuda integrada de openshell para encontrar los comandos y opciones correctos, y después los ejecuta en orden para tu tarea. Cuando encuentra un comando que la skill no cubre, lee la ayuda de ese comando.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Tengo que instalar OpenShell antes?

Sí. La herramienta openshell debe estar instalada y en tu PATH, y si falta la skill te indica la guía de instalación.

¿También escribe el contenido de las reglas de política?

Cubre los comandos para gestionar políticas. Escribir el contenido de las reglas lo hace otra skill de políticas.

¿Puede ayudar a configurar proveedores de modelos de IA?

Sí. Cubre la configuración de proveedores, incluido actualizar sus ajustes y usar proveedores asociados para la inferencia.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
21 mil
Posición en el ranking
#10368
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas