grahambrooks

AI Dev Container — DevOps skill for Claude Code

DevOps community

devc creates isolated, sandboxed Docker containers for AI coding agents (Claude Code, Codex, Gemini CLI, Opencode) while providing a consistent development experience for both local and remote work.

How to install AI Dev Container

This entry records only its repository, not the path inside it, so there is no exact command to give. Open grahambrooks/ai-dev-container and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Dev Container does

devc creates isolated, sandboxed Docker containers for AI coding agents (Claude Code, Codex, Gemini CLI, Opencode) while providing a consistent development experience for both local and remote work.

Alternatives in DevOps

  • Claude Code Router — Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the m 30.1k ★
  • Terraform Skill For Claude — Comprehensive Terraform and OpenTofu guidance covering testing, modules, CI/CD, and production patterns 1.4k ★
  • Cccc — Coordinate your coding agents like a group chat — read receipts, delivery tracking, and remote ops from your p 1.1k ★

README

devc

AI-safe development containers with [devcontainer.json](https://containers.dev/) support.

`devc` creates isolated, sandboxed Docker containers for AI coding agents (Claude Code, Codex, Gemini CLI, Opencode) while providing a consistent development experience for both local and remote workflows.

Features

  • Devcontainer.json compatible — uses the standard Dev Container spec with AI safety extensions via customizations.devc
  • Security profiles — three presets (strict, moderate, permissive) controlling network access, capabilities, and resource limits
  • AI agent integration — built-in profiles for Claude Code, Codex, Gemini CLI, and Opencode with config mounting and network allowlists
  • Session tracking — per-container session counting prevents accidental stops while sessions are active
  • Persistent containers — containers survive between sessions, resuming where you left off

Install

Homebrew (macOS & Linux)

brew install grahambrooks/tap/devc

Download binary

Pre-built binaries for macOS and Linux (amd64 and arm64) are available on the [GitHub Releases](https://github.com/grahambrooks/devc/releases) page.

Go install

go install github.com/grahambrooks/devc@latest

Build from source

git clone https://github.com/grahambrooks/devc.git
cd devc
make build
# binary at ./bin/devc

Prerequisites

Quick start

# Initialize a project with AI safety defaults for Claude
devc init --agent claude

# Start the container and attach a shell
devc up

# Run a command inside the container
devc exec -- npm test

# Attach another session
devc attach

# Stop the container
devc stop

Commands

Command Description