ControlClaw firewall
БесплатноБез исполняемых скриптовНе проверенInstall the open-source ControlClaw firewall for this OpenClaw, or connect this OpenClaw to a ControlClaw firewall the person already runs. Every request and…
от madawaldos151 установка в других каталогахОб этом скилле
ControlClaw firewall for OpenClaw
ControlClaw is an open-source (AGPL-3.0) firewall for OpenClaw. It runs as a Docker container. Once OpenClaw is connected to it, OpenClaw's traffic goes through the firewall, and the person decides in the firewall's panel what gets out: sites to allow or block, rules written as sentences ("Ask me before pushing anything to GitHub"), approvals for risky actions, and passwords and API keys that stay on the firewall while the agent only holds a placeholder.
One firewall can serve many OpenClaw agents, on this machine or on others. The passwords, app integrations, MCP servers and model keys are set up once in its panel and shared by every agent connected to it.
The controlclaw command line tool does the work. You run it, but the person decides: ask before
you change anything. A firewall limits what you can do from then on. That is the point. Set it up
only when the person asks, and never undo it or get around it later.
1. Where you run
The tool needs Linux (amd64 or arm64), Node 22 or newer, and for the firewall's container Docker 28 or newer with Compose 2.24.4 or newer. Check:
uname -sm; node --version; docker --version 2>/dev/null; docker compose version 2>/dev/null; test -f /.dockerenv && echo "in a container"
Not Linux (macOS, Windows): stop. Tell the person the firewall runs on a Linux machine, and that this OpenClaw can't be connected from here yet.
In a container (
/.dockerenvexists, or the person says OpenClaw runs in Docker): you can't do it from inside. The tool, Docker and root are on the machine outside your container. Give the person the command for that machine, and stop:npx controlclaw up --here # the firewall next to this OpenClaw, docker mode (user in the docker group, or sudo)Docker mode is the strongest: OpenClaw's container gets no way out except the firewall.
2. Ask which setup
Ask the person, in one message, which of these they want:
- A firewall on this machine, for this OpenClaw. Simplest. Step 3.
- This OpenClaw joins a firewall they already run (on another machine, or for several agents). They need a pairing code from its panel. Step 4.
- This machine becomes the firewall for several agents on their private network. Step 5.
If they are not sure, suggest 1 for one agent, and 3 (or 2 once a firewall exists) for several.
3. A firewall here, for this OpenClaw
Look at the machine first. It needs no root and changes nothing:
npx controlclaw doctor --json
Read modes (what this machine can do and why not), warnings, and facts.openclaw (how OpenClaw
runs: a systemd unit, pm2, a plain process). Then tell the person, in a few plain sentences, what
up --here does here:
- It starts the firewall's container (Compose project
controlclaw-firewall), with its panel on this machine's loopback, port 8800. - OpenClaw installed on the machine (not in Docker) runs in host mode: nftables rules send every
packet and DNS query from OpenClaw's user to the firewall. It needs root, so the command runs with
sudo. The whole machine's DNS goes through the firewall too. - It restarts OpenClaw at the end, so this conversation stops for a minute.
Say these when they apply, without making the protection sound bigger than it is:
- You could undo it yourself. If
doctorwarns that OpenClaw's user can use sudo, tell the person plainly: with sudo, you (or a prompt that tricks you) could remove the rules and reach the firewall's data. Taking sudo away from OpenClaw's user after the install closes that. - The docker group. If OpenClaw's user is in
docker(orlxd,incus,libvirt,podman), host mode refuses to run, because such a user can start a container that goes around the rules. Removing the user from the group (sudo gpasswd -d <user> docker) makes it possible. - Your model key. A new firewall allows every site and logs it. If the person later sets Every
other site to Block, a model key you hold yourself needs its host allowed in the panel
(for example
api.openai.com,api.anthropic.com), or you lose your model. A key they add in the panel gets its rule by itself.
Ask for a yes, and whether you may use sudo. Run it yourself only if you can use sudo and they said yes. Before you run it, tell them: "OpenClaw restarts now; I will be back in a minute." Keep the output in a file, since you won't see its last lines:
sudo "$(command -v npx)" --yes controlclaw up --here 2>&1 | tee ~/controlclaw-up.log
Otherwise give them the same command to run in their own terminal (sudo npx controlclaw up --here).
When you are back, read ~/controlclaw-up.log, then run sudo npx controlclaw status. Every line
should start with ✓. Tell the person what it says, and go to step 6.
If it stopped with an error, show the person the message as it is and stop. R
Установить ControlClaw firewall в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ControlClaw firewall?
Install the open-source ControlClaw firewall for this OpenClaw, or connect this OpenClaw to a ControlClaw firewall the person already runs. Every request and MCP call then goes through the firewall, which checks it against rules written in plain English, keeps passwords and API keys off the agent, and holds risky actions for approval. One firewall can serve many OpenClaw agents, so passwords, integrations and model keys are set up once. Use when the person asks for a firewall, wants to see or limit what OpenClaw sends to the internet, mentions ControlClaw, or gives you a ControlClaw pairing code (like 4F7K-92QD-XM3P).
Как установить скилл ControlClaw firewall?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ControlClaw firewall запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic