Pithos — AI skill for Claude Code
Run AI coding agents (Claude Code, opencode or any command) in a Linux sandbox.
How to install Pithos
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open n03l/pithos and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pithos does
Run AI coding agents (Claude Code, opencode or any command) in a Linux sandbox. Only the files you list are visible, and the network goes through a proxy that allows only listed hosts. The agent is told which hosts and files were blocked, you can approve hosts while a session runs, and each session is logged for review.
Alternatives in AI
- Claude Hub — by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c 393 ★
- Ralph Loop — A long-running AI agent loop 292 ★
- Squeez — Hook-based token compressor for 5 AI CLI hosts (Claude Code, Copilot CLI, OpenCode, Gemini CLI, Codex CLI) 188 ★
README
pithos
*Pithos* (πίθος) is the jar from the Pandora myth: what is inside stays inside.
`pithos` runs an AI coding agent (Claude Code, opencode, or any command) in a [bubblewrap](https://github.com/containers/bubblewrap) sandbox. The limits apply to the agent **and to everything it starts**: shell commands, scripts it writes, test runners, package installs.
- Files: the sandbox starts empty. It sees only the paths its profile lists, read-only or
writable. Everything else, including
~/.ssh, other repos and the host's sockets, does not exist. - Network: the sandbox has no network at all, only loopback. Its one way out is a proxy on
the host that allows the hosts you list. Code that ignores
HTTPS_PROXYjust fails. - Resources: total memory, processes (threads included), CPU, and the size of the in-memory
directories are capped. A fork bomb, a memory leak or a script filling
/tmphits the limit, not your machine, and the agent is told which one.
pithos ─┬─► bwrap ─► bridge.py ─► claude / opencode / anything
│ │ ▲ │
│ │ └─────────────────┘ 127.0.0.1:3128
│ │ UNIX socket
└─► proxy.py ◄─┘ (host side: allowlist, log)
└─► allowed hosts only
HTTPS is never decrypted. Clients send `CONNECT host:443`, the proxy checks the name, then relays the encrypted bytes, so certificates validate normally.
**Contents:** [Install](#install) · [Usage](#usage) · [When a host is blocked](#when-a-host-is-blocked) · [When a file is refused](#when-a-file-is-refused) · [Resource limits](#resource-limits) · [Profiles](#profiles) · [SSH](#ssh) · [Security model](#security-model) · [Reviewing a session](#reviewing-a-session) · [Upgrading](#upgrading) · [Tests](#tests)
Install
sudo apt install bubblewrap
sudo apt install strace # optional: the file notice and --trace
./install.sh # links ~/.local/bin/pithos, copies pro
Related Skills
Dev Sandbox
Run untrusted code and AI agents in isolated Podman containers with krun microVMs. Network control, SSH, Privo
Diamond
Sandbox and live dashboard for AI coding agents. Runs Claude Code, Gemini CLI or Codex in a Linux kernel sandb
Foil
Keep AI coding agents away from what they shouldn't touch: run Claude Code, Codex or any agent with secrets hi
Pullrun
The AI agent sandbox runtime. Boot any OCI image as a Firecracker microVM, Linux container, or Apple Silicon V
Taimux
List, select and jump between live AI coding-agent sessions across your tmux panes, windows, sessions and host
Humanize Pro
Claude skill that goes past word-list humanizers: strips the full catalog of AI tells, refits the text to its
Related Agents
Opencode Runner
Use when the main Claude thread should hand a substantial coding task to the opencode executor through the sha
Kg Coder.Prompt
You are KG Coder, a KG-only code agent. You have NO grep, NO read_file, NO list_files, NO shell — by design. A
Terminal Engineer
Use for SwiftTerm integration, PTY process spawning, ssh and tmux command building, hosts config loading, reco