Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Dev container

Topic: AI-assisted codingAlso called devcontainer.json, development container

Definition

A container defined by a devcontainer.json file that gives a project a reproducible environment, often used to sandbox agents.

In more detail

The Development Containers specification describes the image, tools, extensions and settings a project needs, and editors such as VS Code and services such as GitHub Codespaces can open the project inside that container.

For AI-assisted coding the appeal is isolation. An agent running inside a dev container can only touch the files and network access you give it, so you can let it run commands with fewer approval prompts. Anthropic publishes a reference dev container for Claude Code with a firewall that limits outbound traffic. It still sees the mounted code and any credentials you pass in, so keep secrets out.

  • Git worktree

    An extra working directory attached to the same Git repository, with its own branch checked out, created with `git worktree add`.

  • Permission mode

    A setting in a coding agent that decides which actions it may take on its own, such as edits or shell commands, and which need approval.

  • Sandbox

    An isolated environment that limits what an agent or its code can read, write or reach on the network, so any mistakes stay contained.

  • AI-assisted coding

    Working with coding agents: tasks, instruction files, review and verification.

    SkillBeginner

  • AI security

    Defending against prompt injection, data leakage and over-permissioned agents.

    SkillIntermediate

  • Refactor in parallel with git worktrees and two agents

    Use git worktrees to run Claude Code and Codex in parallel on the same refactor from one written plan, compare tests, diff size and readability, then merge one.

    WorkflowAdvanced1 h 30 min6 steps