openshell-cli
Что он делает
Этот скилл учит ИИ запускать инструмент командной строки openshell для песочниц, шлюзов, провайдеров и политик, от простых задач до многошаговых настроек. Он нужен тем, кто использует OpenShell для безопасного запуска ИИ-агентов.
Когда использовать
- ✓Когда вы хотите создать песочницу OpenShell, подключиться к ней или выполнить в ней команды.
- ✓Когда нужно зарегистрировать шлюз или настроить провайдера в OpenShell.
- ✓Когда вы пошагово обновляете политику песочницы командами openshell.
Ссылка на скилл
https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Создай песочницу OpenShell, подключись к ней и выполни внутри тестовую команду.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
ИИ использует встроенную справку openshell, чтобы найти нужные команды и флаги, и выполняет их по порядку для вашей задачи. Когда встречается команда, которой нет в скилле, он читает справку по этой команде.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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
openshellis 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:
kubectland 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
Частые вопросы
Нужно ли сначала установить OpenShell?
Да. Инструмент openshell должен быть установлен и доступен в PATH. Если его нет, скилл покажет руководство по установке.
Пишет ли он также содержимое правил политики?
Он охватывает команды для управления политиками. Написание содержимого правил — задача отдельного скилла для политик.
Может ли он помочь с настройкой провайдеров ИИ-моделей?
Да. Он охватывает настройку провайдеров, включая обновление их настроек и использование подключённых провайдеров для инференса.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 21k
- Место в рейтинге
- #10368
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
create-github-issue
21kПомогает вашему агенту создать задачу (issue) на GitHub для ошибки, запроса функции или задачи, с помощью инструмента gh и шаблона проекта.
create-github-pr
21kПомогает вашему агенту открыть pull request на GitHub для вашей ветки с помощью инструмента gh, после проверки, что работа готова к ревью.
review-github-pr
21kУчит вашего агента читать pull request на GitHub и простыми словами объяснять изменения, ключевые проектные решения и заметный код.
watch-github-actions
21kПозволяет вашему агенту проверять запуски GitHub Actions, следить за ними до завершения и читать логи любого упавшего задания.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.