Code On Incus — DevOps skill for Claude Code
Give each AI agent its own isolated machine with root, Docker, and systemd.
How to install Code On Incus
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mensfeld/code-on-incus and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Code On Incus does
Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.
Alternatives in DevOps
- Docker 71.9k ★
- Mirrord — Run any process, on your machine or in an AI agent's environment, as if it were a pod in your Kubernetes clust 5.3k ★
- Skill Claw — OpenClaw instance administration — manage hosts across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox 2.8k ★
README
code-on-incus (`coi`)
[](https://opensource.org/licenses/MIT) [](https://golang.org/) [](https://github.com/mensfeld/code-on-incus/releases) [](https://slack.karafka.io)
**Give every AI coding agent its own machine - with active defense.**
`coi` runs your AI coding tool (Claude Code, Codex, opencode, pi) inside its own isolated Linux system - a full-OS container with root access, systemd, Docker, and the freedom to install anything. The agent works like it would on a real server - but it can't touch your host, can't see your credentials, and if it does something dangerous, `coi` pauses or kills the container on its own.
One command drops you into a coding session. Your project is mounted, file permissions just work, and your SSH keys, tokens, and environment variables never enter the container unless you explicitly say so.
Built by developers, for developers who run AI agents and want to know what those agents are doing. Not a product, not a startup - a tool that does the job.
Watch the BetterStack video about Code on Incus

Get started in three commands
# 1. Install
curl -fsSL https://raw.githubusercontent.com/mensfeld/code-on-incus/master/install.sh | bash
# 2. Build the base image (first time only, ~5-10 min)
coi build
# 3. Start coding - from any project directo
Related Skills
Coi
Give the agent a machine. Just not yours. Each AI coding agent gets its own isolated machine with root, Docker
Cleat
Give the agent a cage, not your keys. One-command Docker sandbox for AI coding agents: full autonomous permiss
LLMSwaper
Local dashboard to switch the active Claude Code account with one click, showing each account's 5-hour and wee
Check Docker Status
Check if {{DEV_MACHINE}} Docker environment needs updating
Deploy Dev
Deploy latest Docker image to {{DEV_MACHINE}} dev environment
Hort
Sandbox any CLI AI agent so it runs unrestricted without touching your machine. Written in Rust, daemonless, n
Related Agents
Operador
Operador de infraestructura local del Framework Bot en CachyOS + Omarchy. Maneja Docker/compose (stop, up -d -
App Tester
Builds and exercises Heron end-to-end on this machine — starts the dev app, starts and stops real claude CLI s
E2e Failure Classifier
Use when a Playwright or Cypress test failure needs a root cause, to classify ONE failure into the F1–F15 taxo