원클릭으로
sandbox-network-tutor
How to use run-in-nw-sandbox to run commands with network access from inside the agent
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
How to use run-in-nw-sandbox to run commands with network access from inside the agent
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when working on a project within /home/user/workspace/code or code-agent.
Propose or modify Rego sandbox command policies for mcp-run (PROPOSAL_DIR ~/proposed-sandbox-commands; runtime POLICY_DIR /opt/config/nw_sandbox). Use when asked to draft new .rego files, update existing policy logic, or review command allowlists with safe argument constraints and network/data-exfiltration safeguards.
Manage npm package dependencies in this environment. Use when adding or updating npm packages, editing package.json/package-lock.json, or when network access must be constrained to `run-in-nw-sandbox -- npm install --no-scripts [--save | --save-dev] -- package-spec ...` followed by `npm rebuild` outside the sandbox.
How to use uv, pip and Python to download and install dependencies in this environment. If there's an error installing python dependencies, you need this!
| name | sandbox-network-tutor |
| description | How to use run-in-nw-sandbox to run commands with network access from inside the agent |
-- delimiter between helper options and the command.--keep-env and ensure they exist in the current shell.Use:
run-in-nw-sandbox [--keep-env=VAR] -- <command> <args>
E.g.
run-in-nw-sandbox -- cargo fetch
--keep-env=VAR or --keep-env=VAR1,VAR2.export VAR=value).-- delimiter, add it./opt/config/nw_sandbox/ using shell commands (ls, rg, or less).data.sandbox.main.allow, so check main.rego and the command package (for example package sandbox.curl)./opt/config/nw_sandbox/domains.lst.package sandbox.curl) and adjust commands accordingly.-- before the command./opt/config/nw_sandbox/.