openshell-cli
하는 일
이 스킬은 AI가 샌드박스, 게이트웨이, 제공자, 정책을 위해 openshell 명령줄 도구를 실행하도록 가르칩니다. 간단한 작업부터 여러 단계의 설정까지 다룹니다. OpenShell로 AI 에이전트를 안전하게 실행하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓OpenShell 샌드박스를 만들고, 연결하고, 그 안에서 명령을 실행하고 싶을 때.
- ✓OpenShell에 게이트웨이를 등록하거나 제공자를 설정해야 할 때.
- ✓openshell 명령으로 샌드박스 정책을 단계별로 업데이트할 때.
스킬 링크
https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“OpenShell 샌드박스를 만들고, 연결한 다음, 그 안에서 테스트 명령을 실행해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 내장된 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에 있어야 하며, 없으면 스킬이 설치 가이드를 안내합니다.
정책 규칙의 내용도 쓰나요?
정책을 관리하는 명령을 다룹니다. 규칙 내용을 쓰는 것은 별도의 정책 스킬이 맡습니다.
AI 모델 제공자 설정도 도와주나요?
네. 제공자 설정, 제공자 설정 새로고침, 추론에 연결된 제공자 사용을 포함합니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
create-github-issue
21k에이전트가 gh 명령줄 도구와 프로젝트 템플릿을 써서 버그, 기능 요청, 작업에 대한 GitHub 이슈를 만들도록 돕습니다.
create-github-pr
21k에이전트가 작업이 검토 준비가 되었는지 확인한 뒤, gh 도구로 브랜치의 GitHub 풀 리퀘스트를 열도록 돕습니다.
review-github-pr
21k에이전트가 GitHub 풀 리퀘스트를 읽고 변경 사항, 주요 설계 결정, 눈에 띄는 코드를 쉬운 말로 설명하도록 돕습니다.
watch-github-actions
21k에이전트가 GitHub Actions 실행 상태를 확인하고, 끝날 때까지 지켜보며, 실패한 작업의 로그를 읽도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.