بنقرة واحدة
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 المهني
| 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/.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!