blackwall

blackwall is a skill for Claude Code from vinta/hal-9000. It costs 217 tokens per session (3,221 once invoked), scanned B, original, MIT.

A command sandbox that limits what development commands can read, write, and access over the network. It works with tools such as Claude and Codex on macOS and Linux.

In plain words
What is it for?
It helps run commands with controlled folders, file access, and network hosts, and inspect why a read or write was denied.
Why use it?
It reduces the risk that a command will alter protected project files or reach files and websites outside the allowed policy.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is blackwall --add-dir ../other-repo claude.

Part of the sandbox-fixture plugin — 1 skill shipped together

Good fit It helps run commands with controlled folders, file access, and network hosts, and inspect why a read or write was denied.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/vinta/hal-9000
agentmods
npx agentmods add skills/vinta/hal-9000/blackwall

Made for: Claude Code.

Or install sandbox-fixture, the plugin that ships this one along with the rest of its 1 skill.

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 blackwall

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinta/hal-9000/blackwall/github.svg)](https://agentmods.dev/skills/vinta/hal-9000/blackwall)
Your own site
<a href="https://agentmods.dev/skills/vinta/hal-9000/blackwall"><img src="https://agentmods.dev/badge/skills/vinta/hal-9000/blackwall/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 blackwall

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinta/hal-9000/blackwall"><img src="https://agentmods.dev/badge/skills/vinta/hal-9000/blackwall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,221 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00217 $0.03221
Opus 5.5 $0.00087 $0.01288
Sonnet 5.5 $0.00043 $0.00644
Haiku 4.5 $0.00022 $0.00322

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

Security

Grade B, and why

blackwall scanned grade B with 2 findings 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 16d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt-get install -y bubblewrap socat ripgrep # Linux only

Makes network callslowCapability

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

| `curl: (56) CONNECT tunnel failed, response 403`; git: `unable to access '…': CONNECT tunnel failed, response 403`; Node's `fetch`: `fetch failed` caused by `Request was cancelled.`; Node's `http`: `ERR_PROXY_TUNNEL`,
plugins/evals/hal-skills/best-practices/sandbox-run-skill/fixture-plugin/skills/blackwall/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blackwall

blackwall <command> runs the command under srt with a policy fixed at launch:

  • Writes: the current folder, --add-dir folders, /tmp/claude, ~/.cache-blackwall. Write-denied even inside those: ~/.blackwall, .blackwall, .git/hooks, .git/config, .claude/settings.json, .claude/settings.local.json, .claude/hooks, .mcp.json, .claude/commands, and .claude/agents in the current and --add-dir folders (srt covers the last three only beneath the current folder, and blackwall's denies in this list also apply at any depth beneath the current and --add-dir folders: on Linux, what exists at launch, three folders deep), and srt's own list for the current folder (.zshrc, .gitconfig, .vscode, …), which blackwall --print-file-access prints.
  • Reads: those folders, the system paths and preset paths in the default config, and allowRead entries from the user and project configs. The rest of ~ is invisible.
  • Network: only hosts from presets, the claude and codex adapters, and network.allowedHosts, all through srt's proxy. The sandbox has no direct DNS, so a tool that ignores HTTPS_PROXY can't resolve any host.

A denial is the policy working. The fix is a grant plus a relaunch, never a retry, a copy into another folder, or sudo.

Inside or outside?

Inside a sandboxed session (blackwall claude, blackwall codex), $BLACKWALL_SANDBOX is 1.

Inside, blackwall is unavailable: every flag, --version included, exits 2 with blackwall: can't run inside a sandbox; run it from a plain terminal. Diagnose from the error text and the grant list above, read the project's .blackwall/config.json if one exists, then hand the user the exact edit and commands. Outside (a plain terminal, or an agent that isn't sandboxed), run the --print-* flags and edit the user config yourself.

Reading a denial

The command printed Cause Grant
Operation not permitted on a path that exists (macOS). On Linux the path reads as missing, or a write succeeds and the file is gone after the run path outside the read or write grants filesystem.allowRead or filesystem.allowWrite for one path; --add-dir DIR for a whole folder, read and write
curl: (56) CONNECT tunnel failed, response 403; git: unable to access '…': CONNECT tunnel failed, response 403; Node's fetch: fetch failed caused by Request was cancelled.; Node's http: ERR_PROXY_TUNNEL, HTTP/1.1 403 host is not on the allow list. The 403 status line carries the reason, e.g. 403 host is not on the allow list, 403 host is on the deny list, 403 resolved to a listed address; git and curl -sS show only response 403, so run curl -sv https://<host> to read it host outside the allowlist, a deniedHosts name under "*" (preset local-network denies localhost), an IP literal in loopback, link-local, cloud metadata, this machine's own addresses, or a denied range, or a name resolving into loopback or a denied range (private-network ranges) network.allowedHosts, or the preset for that tool; for a local or LAN server, its IP literal or name with the port, e.g. 127.0.0.1:8000 or localhost:8000
ENOTFOUND, getaddrinfo failure, [Errno 8] nodename nor servname provided, or not known, for allowed hosts too the tool ignores HTTPS_PROXY make it use the proxy; no config change. curl, git, gh, npm, pip, uv, and urllib honor it already, and so do Node's fetch and http (22.21+) through the node preset's NODE_USE_ENV_PROXY=1
blackwall: …/.blackwall/config.json: not trusted. Review it, then run \blackwall --trust`` project config is new or edited the user reviews it and runs blackwall --trust
blackwall: …/.blackwall/.env: loads only with a trusted .blackwall/config.json project .env without a trusted config add .blackwall/config.json ({} is enough), then --trust
blackwall: unknown preset <name>; blackwall: <file>: unknown key <key>; <file>: <path>: <message> from a bad value (exit 2) config typo, or an srt setting blackwall doesn't expose fix the key or value; preset names are under Config
No image found in clipboard. Use ctrl+v to paste images. after pasting a copied image (macOS) the sandbox refuses the pasteboard service preset clipboard in the user config; it also lets every sandboxed command read and replace the clipboard
A pasted screenshot or image file stays a plain path instead of turning into [Image #1] the file is outside the read grants preset screenshots for the screenshot folder, or filesystem.allowRead for another folder
sandbox_apply: Operation not permitted from codex Seatbelt can't nest blackwall codex already passes -c sandbox_mode="danger-full-access"; a codex started from inside another sandboxed command needs the same flag
unshare: unshare failed: Operation not permitted, or Chromium, Electron, Playwright, rootless podman, or a nested bubblewrap failing to start (Linux); Chromium, Electron, or Playwright dying at launch, headless too, with bootstrap_check_in …MachPortRendezvousServer.<pid>: Permission denied (1100) (macOS) sandboxed commands can't create user namespaces on Linux, or register a Mach service on macOS none in the config. The user runs that tool outside blackwall
git: could not write config file .git/config: Operation not permitted. git remote add, git config, git branch -m fail; git push -u, git switch -c exit 0 but lose the tracking update; git branch -d and -D exit 0 with the branch deleted but leave its branch.<name> section .git/config is write-denied, no grant lifts it none. The user sets remotes and upstreams on the host; push with git push origin HEAD. After deleting a branch that had an upstream, the user runs git config --remove-section branch.<name> on the host

Read the full file on GitHub · 99 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 16d ago Changed 32ace486142b
  2. 23d ago First seen · 99 lines · 217 tokens per session scan B 695d4b014157

Subscribe to this mod's changes

blackwall is a skill published in the GitHub repository vinta/hal-9000 (144 stars, last pushed today), licensed MIT. It adds 217 tokens to every session and 3,221 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

blackwall compared with skills from other repositories

blackwall next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blackwallvinta/hal-9000Skill144todayMITB217Claude Code
optimize-python-parallelismcloudguo123/atomlaneSkill1todayMPL-2.0A70Codex
jarvis-setupethanplusai/jarvisSkill1.0k2mo agononeA79Claude Code, Codex
cirqagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A67Claude Code
biopythonagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A76Claude Code
scikit-bioagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A54Claude Code
simpyagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A42Claude Code