OpenShell + Pi: build an isolated coding-agent sandbox

OpenShell + Pi: build an isolated coding-agent sandbox is a skill for Claude Code, Codex from howdeploy/deploychan_mcp. It costs 80 tokens per session (3,943 once invoked), scanned C, original, MIT.

A setup guide for running the Pi coding agent inside NVIDIA OpenShell, an isolated environment that limits access to the computer and network.

In plain words
What is it for?
It helps install, configure, migrate, secure, inspect, and troubleshoot Pi with rootless Podman, restricted networking, persistent data, hidden credentials, and agent-to-agent communication.
Why use it?
It reduces the risk of an agent changing the host system, reaching arbitrary websites, or exposing real API credentials.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps install, configure, migrate, secure, inspect, and troubleshoot Pi with rootless Podman, restricted networking, persistent data, hidden credentials, and agent-to-agent communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/howdeploy/deploychan_mcp/openshell-pi-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add howdeploy/deploychan_mcp --skill openshell-pi-agent
Clone the repo
git clone --depth 1 https://github.com/howdeploy/deploychan_mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for OpenShell + Pi: build an isolated coding-agent sandbox

README.md
[![agentmods](https://agentmods.dev/badge/skills/howdeploy/deploychan_mcp/openshell-pi-agent/github.svg)](https://agentmods.dev/skills/howdeploy/deploychan_mcp/openshell-pi-agent)
Your own site
<a href="https://agentmods.dev/skills/howdeploy/deploychan_mcp/openshell-pi-agent"><img src="https://agentmods.dev/badge/skills/howdeploy/deploychan_mcp/openshell-pi-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for OpenShell + Pi: build an isolated coding-agent sandbox

Your own site · 80×15
<a href="https://agentmods.dev/skills/howdeploy/deploychan_mcp/openshell-pi-agent"><img src="https://agentmods.dev/badge/skills/howdeploy/deploychan_mcp/openshell-pi-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,943 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.03943
Opus 5.5 $0.00032 $0.01577
Sonnet 5.5 $0.00016 $0.00789
Haiku 4.5 $0.00008 $0.00394

Measured 1mo ago against content hash 348c23fd3a46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

OpenShell + Pi: build an isolated coding-agent sandbox scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh
content/skills/openshell-pi-agent/SKILL.md · 521 lines

How it starts

The opening of the file, as written. The whole thing — 521 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenShell + Pi

Build a useful Pi coding agent without giving the model ambient access to the host, arbitrary internet egress or real API credentials. Prefer the official Pi community sandbox first; create a custom image only when reproducibility or preinstalled tooling requires it.

This workflow intentionally contains no personal system prompt, private skill, named model vendor or account-specific provider. Select those from the user's own requirements.

Non-negotiable invariants

  • Inspect the current machine and installed CLI before changing anything. OpenShell is fast-moving; use openshell <command> --help as the local command contract.
  • Keep the gateway on loopback with mTLS unless the user explicitly designs a remote gateway topology.
  • Use a rootless compute driver when the host supports it. For Podman, require Podman 5.x, cgroups v2, rootless networking and an active user socket.
  • Keep enable_bind_mounts = false. A host bind mount can negate the filesystem boundary.
  • Keep policy_validation_failure_mode = "fail_closed".
  • Put real credentials in OpenShell provider records, never in --env, images, settings.json, models.json, skills, prompts or project files.
  • Give the sandbox only explicit read-only/read-write paths and explicit egress.
  • Run the agent as a non-root identity and prefer Landlock hard_requirement on a known compatible Linux host.
  • Treat /sandbox as persistent agent state and /tmp as ephemeral. Do not confuse sandbox delete with stop; deletion may remove the managed workspace.
  • Review every Pi extension before loading it. Extensions execute code with the agent user's sandbox permissions.
  • Prove behavior with OS/network evidence. Do not accept “I tested it” from the sandboxed agent without checking the live runtime.

Authorization boundaries

Read-only discovery is safe to perform immediately. Before creating containers, enabling services, replacing policy, attaching credentials, restarting an active agent or changing firewall/network exposure, make sure that action is inside the user's request. Before any delete or workspace replacement, require explicit confirmation and a verified backup.

Read the full file on GitHub · 521 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 521 lines · 80 tokens per session scan C 348c23fd3a46

Subscribe to this mod's changes

OpenShell + Pi: build an isolated coding-agent sandbox is a skill published in the GitHub repository howdeploy/deploychan_mcp (18 stars, last pushed 2d ago), licensed MIT. It adds 80 tokens to every session and 3,943 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

k8s-agent-sandbox-mcp

An MCP server skill for managing Kubernetes sandboxes. Enables creating, executing commands, managing files, and terminating instances via the official kubernetes-sigs/agent-sandbox MCP server.

kubernetes-sigs/agent-sandbox · 46 tokens

archestra-dev-investigate

Use when investigating Archestra bugs or incidents — staging issues, backend 50x errors, Drizzle failed queries, DB connection pressure, deploy regressions, or Kubernetes/runtime symptoms. Orientation only; defers the process to /investigate.

archestra-ai/archestra · 54 tokens

archestra-dev-resource-cleanup

Reclaim unused Archestra development worktrees, local branches, processes, and OrbStack Kubernetes resources while preserving the active Tilt stack and unfinished work.

archestra-ai/archestra · 36 tokens

portainer-container-compare-chart

Compare two containers using native portainer tool data collection and render SVG/CSV outputs.

rcarmo/piclaw-addons · 24 tokens

docker-sandbox

Create, manage, and execute agent tools (claude, codex) inside Docker sandboxes for isolated code execution. Use when running agent loops, spawning tool subprocesses, or any task requiring process isolation. Triggers on "sandbox", "isolated execution", "docker sandbox", "safe agent execution", or when working on agent…

joelhooks/joelclaw · 74 tokens

workspaces

How an Open SWE workspace's sandbox image works and how to change it — create one, edit or fork an existing one, start from scratch, what setupscript and updatescript are for, why a nightly refresh failed, where the build logs are, and how to read a rebuild in progress. Read this whenever someone asks about…

langchain-ai/open-swe · 89 tokens