devcontainer

Generate tailored Dev Container configurations for Claude Code workflows.

Updated May 7, 2026
One-click install
npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill devcontainer-tmalcolm-0607
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devcontainer
Source: https://github.com/tmalcolm-0607/mad-council-claw/tree/main/.claude/skills/devcontainer
Command: npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill devcontainer-tmalcolm-0607

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the friction of inconsistent development environments across team members or machines, which causes "it works on my machine" bugs, broken builds, and security gaps when running Claude Code for AI-assisted development.

Core Features & Use Cases

  • Automated Project Detection: Scans for project indicator files (package.json, .csproj, requirements.txt, etc.) to select the correct base image, remote user, post-create commands, and VS Code extensions for .NET, Node.js/TypeScript, Python, Go, Rust, and Java projects.
  • Two Configuration Variants: Offers a basic variant for standard development, and a secure firewall variant that restricts outbound network access to whitelisted services for safe unattended Claude Code operation.
  • Update-Safe Workflow: Preserves user customizations when updating existing devcontainer configs, and generates all required .devcontainer files (Dockerfile, devcontainer.json, optional firewall script) with pre-installed, pinned Claude Code.
  • Use Case: A team working on a Python data science project can use this Skill to generate a dev container with the correct Python version, required VS Code extensions, and optional firewall rules to safely run long unattended Claude Code sessions without exposing the host network.

Quick Start

Invoke the devcontainer skill to automatically generate a tailored .devcontainer configuration for your current project, with or without network firewall restrictions as needed.

Frequently Asked Questions about devcontainer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Docker dev container for Claude Code?

To set up a Docker dev container for Claude Code, you need a tailored .devcontainer configuration with a Dockerfile and devcontainer.json that pre-installs Claude Code and configures correct remote user permissions. This eliminates inconsistent development environment issues across machines. The configuration can be generated automatically by scanning project indicator files.

Can I restrict network access when running unattended Claude Code workflows?

Yes, you can restrict network access for unattended Claude Code workflows by applying a secure firewall variant of your dev container configuration. This setup uses an optional firewall script to limit outbound network access strictly to whitelisted services, ensuring safe unattended operation without exposing the host network.

Does dev container automated project detection work with Node.js, Python, and Go?

Automated dev container project detection works with Node.js, Python, Go, .NET, Rust, and Java by scanning for indicator files like package.json, requirements.txt, or .csproj. It automatically selects the correct base image, post-create commands, and technology-specific VS Code extensions for these project types.

What is the best way to update a dev container without losing custom configurations?

The best way to update a dev container without losing custom configurations is to use an update-safe workflow that preserves user customizations. When regenerating devcontainer configs, the process retains your existing modifications while generating required files like the Dockerfile and devcontainer.json with pinned Claude Code versions.

Why do I need correct remote user permissions in a Docker development environment?

Correct remote user permissions in a Docker development environment are required to prevent file ownership conflicts and ensure tools function properly inside the container. Generating a dev container with pre-configured remote users eliminates friction and broken builds caused by improper access rights.