gh-aw-firewall

Official

Run agent commands with domain-safe networking

AuthorCogni-AI-OU
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prevents AI agents and untrusted commands from reaching unauthorized external sites by enforcing HTTP/HTTPS egress controls with domain whitelisting and network isolation.

Core Features & Use Cases

  • L7 domain whitelisting for HTTP/HTTPS: Restricts outbound traffic at the application layer so only approved domains are reachable.
  • Host-level enforcement across containers: Uses an iptables DOCKER-USER chain to apply the firewall policy to all containers.
  • Sandboxed execution with optional chroot host access: Keeps network isolation while optionally allowing transparent access to host binaries (Python/Node/Go).
  • Use cases: Running Copilot/Claude CLI with controlled egress, testing tools (e.g., Playwright) against local services, and debugging workflow connectivity while generating Squid-backed logs and statistics.

Quick Start

Use the gh-aw-firewall skill to run a command with only GitHub allowed by instructing it to execute: sudo awf --allow-domains github.com -- curl https://api.github.com

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gh-aw-firewall
Download link: https://github.com/Cogni-AI-OU/cogni-ai-agent-skills/archive/main.zip#gh-aw-firewall

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.