Skip to content
Skillpedia
Agents21k · #10364

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.md

Copy 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

Use this skill to help me: https://github.com/NVIDIA/OpenShell/blob/main/crates/openshell-supervisor-process/src/skills/policy-advisor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills