openshell-policy-advisor
What it does
This skill tells the AI what to do when OpenShell blocks a request with a policy denial. It proposes the smallest network permission the task needs and waits for approval before retrying. It is for people who run AI agents in OpenShell sandboxes.
When to use it
- ✓When the AI's request fails with a policy_denied message in an OpenShell sandbox.
- ✓When the AI needs to reach a network address that its sandbox policy does not allow.
- ✓When you want the AI to ask for only the narrowest permission it needs to finish the task.
Skill link
https://github.com/NVIDIA/OpenShell/blob/main/crates/openshell-supervisor-process/src/skills/policy-advisor/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My sandboxed AI was blocked from reaching an API. Help it request the access it needs and continue.”
5 new skills a week. 1 minute to read.
How it works
The AI reads the sandbox policy notes, checks the current policy, and sends a narrow request for approval. It waits for the answer and retries only after the policy is reloaded.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
OpenShell Policy Advisor
When a request fails with policy_denied, do not treat the denial as final if the user task still needs the request. Read /etc/openshell/skills/policy_advisor.md, inspect http://policy.local/v1/policy/current, submit the narrowest proposal to http://policy.local/v1/proposals, wait on /v1/proposals/{chunk_id}/wait?timeout=300, and retry only after approval with policy_reloaded: true.
FAQ
Does the AI get access on its own?
No. It must wait for its request to be approved, and it retries only after the policy reloads.
What does policy_denied mean?
It means the sandbox blocked a request because the current policy does not allow it yet.
Who is this for?
It is for people using OpenShell sandboxes who want their AI to ask for network access in a controlled way.
Details
Original description by the author
Use when an OpenShell sandbox returns policy_denied, mentions policy.local, or needs a narrow network policy proposal.
repo: NVIDIA/OpenShell
Popularity
- GitHub stars
- 21k
- Ranking position
- #10364
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
create-github-issue
21kHelps your agent create a GitHub issue for a bug, feature request, or task, using the gh command line tool and the project's template.
create-github-pr
21kLets your agent open a GitHub pull request for your branch with the gh tool, after checking that the work is ready for review.
review-github-pr
21kTeaches your agent to read a GitHub pull request and explain its changes, key design choices, and notable code in plain terms.
watch-github-actions
21kLets your agent check GitHub Actions runs, follow them until they finish, and read the logs of any job that failed.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.