一键导入
run-in-nw-sandbox
How to use the run-in-nw-sandbox helper to run commands with network access
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to use the run-in-nw-sandbox helper to run commands with network access
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when working with source control for a project within /home/user/workspace/code or code-agent.
Turn a recent human-agent interaction into a portable workflow description.
Work through a proposal by starting a tracked /goal, reading the proposal, breaking it into milestone-sized tasks, and delegating each implementation milestone to fresh subagents instead of implementing directly in the main agent. Use when the user wants proposal-driven execution with explicit progress tracking and milestone-by-milestone delegation.
Draft new proposal documents for a codebase in the local proposal style. Use when the user wants a new proposal written before implementation, or wants an idea turned into a structured design/proposal document with motivation, problem statement, proposal, non-goals, verification, and success criteria.
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.
Manage Rust/Cargo dependencies in this environment. Use when adding, updating, or fetching crates, editing `Cargo.toml`, or working within the constraint that the only approved network command is `cargo fetch` via `run-in-nw-sandbox`.
| name | run-in-nw-sandbox |
| description | How to use the run-in-nw-sandbox helper to run commands with network access |
-- 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
Do not omit the -- delimiter.
--keep-env=VAR or --keep-env=VAR1,VAR2.export VAR=value).-- delimiter, add it./opt/config/sandbox_commands/ 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/sandbox_domains.lst.package sandbox.curl) and adjust commands accordingly.-- before the command./opt/config/sandbox_commands/.