मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)21k · #10368

openshell-cli

यह क्या करती है

यह स्किल AI को sandboxes, gateways, providers और policies के लिए openshell कमांड लाइन टूल चलाना सिखाती है, सरल कामों से लेकर कई चरणों वाले सेटअप तक। यह उन लोगों के लिए है जो AI एजेंट सुरक्षित रूप से चलाने के लिए OpenShell इस्तेमाल करते हैं।

कब इस्तेमाल करें

  • ✓जब आप OpenShell sandbox बनाना, उससे जुड़ना, या उसमें कमांड चलाना चाहते हों।
  • ✓जब आपको OpenShell के साथ gateway रजिस्टर करना हो या provider सेट करना हो।
  • ✓जब आप openshell कमांड से चरण-दर-चरण sandbox policy अपडेट कर रहे हों।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/NVIDIA/OpenShell/blob/main/skills/openshell-cli/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“एक OpenShell sandbox बनाइए, उससे जुड़िए, और अंदर एक टेस्ट कमांड चलाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

AI सही कमांड और flags ढूँढने के लिए built-in 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

  • 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

अक्सर पूछे जाने वाले सवाल

क्या पहले OpenShell इंस्टॉल करना होगा?

हाँ। openshell टूल इंस्टॉल होना चाहिए और PATH पर होना चाहिए। न मिलने पर स्किल इंस्टॉलेशन गाइड की ओर इशारा करती है।

क्या यह policy नियमों की सामग्री भी लिखती है?

यह policy प्रबंधन के कमांड कवर करती है। नियमों की सामग्री लिखना एक अलग policy स्किल का काम है।

क्या यह AI model providers सेट करने में मदद कर सकती है?

हाँ। इसमें provider कॉन्फ़िगरेशन शामिल है, जिसमें provider सेटिंग्स रीफ़्रेश करना और inference के लिए जुड़े providers इस्तेमाल करना है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills