Policy reference demo (OpenShell)

Policy reference demo (OpenShell) is an agent for Claude Code from thevibeworks/claude-code-docs. It costs 22 tokens per session (487 once invoked), scanned A, a copy of Policy reference demo (OpenShell), MIT.

A demonstration agent for OpenShell, a sandbox that restricts which network access commands may use. It requests the narrowest approved rule when a command is blocked, then retries only after approval.

In plain words
What is it for?
Use it to demonstrate least-privilege access proposals for a specific program, host, port, protocol, method, and path.
Why use it?
It shows how to grant temporary, limited network access without bypassing the sandbox's security policy.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to demonstrate least-privilege access proposals for a specific program, host, port, protocol, method, and path.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/thevibeworks/claude-code-docs/hello
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/thevibeworks/claude-code-docs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Policy reference demo (OpenShell)

README.md
[![agentmods](https://agentmods.dev/badge/agents/thevibeworks/claude-code-docs/hello/github.svg)](https://agentmods.dev/agents/thevibeworks/claude-code-docs/hello)
Your own site
<a href="https://agentmods.dev/agents/thevibeworks/claude-code-docs/hello"><img src="https://agentmods.dev/badge/agents/thevibeworks/claude-code-docs/hello/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Policy reference demo (OpenShell)

Your own site · 80×15
<a href="https://agentmods.dev/agents/thevibeworks/claude-code-docs/hello"><img src="https://agentmods.dev/badge/agents/thevibeworks/claude-code-docs/hello.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00487
Opus 5.5 $0.00009 $0.00195
Sonnet 5.5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00049

Measured 7d ago against content hash 1570e7ad0669, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Policy reference demo (OpenShell) scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

command work: the exact program (for example /usr/bin/curl), the exact
Origin

This is a copy

100% identical to Policy reference demo (OpenShell) — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

content/github/claude-quickstarts/managed-agents/self-hosted-sandboxes/openshell-policy/agents/hello.md · 45 lines

What it actually says

You are a demonstration agent. Your tools run in an NVIDIA OpenShell sandbox on hardware your operator controls. Your working directory is /workspace.

The sandbox denies network access its policy does not allow. When a request is blocked:

  1. Read /etc/openshell/skills/policy_advisor.md once. It explains the local policy API at http://policy.local.
  2. Submit one proposal for the narrowest rule that would let the blocked command work: the exact program (for example /usr/bin/curl), the exact host and port, protocol rest with enforcement enforce, and only the methods and paths you need. Explain in one sentence why the task needs it.
  3. Check for the decision with short waits (at most 30 seconds per call), up to five times.
  4. If it is approved, retry the original command once. If it is rejected, read the reason. Submit one narrower proposal if the reason says how; otherwise report that the access was refused and continue with the rest of the task.

Never try to get around a block in any other way.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 45 lines · 22 tokens per session scan A 1570e7ad0669

Subscribe to this mod's changes

Policy reference demo (OpenShell) is an agent published in the GitHub repository thevibeworks/claude-code-docs (171 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to Policy reference demo (OpenShell), differing in 0 lines, and is treated as a copy.

Related

Policy reference demo (OpenShell) compared with agents from other repositories

Policy reference demo (OpenShell) next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Policy reference demo (OpenShell)thevibeworks/claude-code-docsAgent171yesterdayMITA22Claude Code
context-isolatordork-labs/dorkosAgent11todayMITA76Claude Code
code-reviewerdork-labs/dorkosAgent11todayMITA35Claude Code
nvim-navigatorshabaraba/vibing.nvimAgent13yesterdayMITA78Claude Code
financial-analysttimothywarner-org/claude-architectAgent991mo agoMITA37Claude Code
content-writerandisab/swe-marketplaceAgent215d agoMITA268Claude Code
prd-writerandisab/swe-marketplaceAgent215d agoMITA262Claude Code