Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add patelr3/agents/plugin install worktree-devcontainerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/patelr3/agents/dev-container)<a href="https://agentmods.dev/skills/patelr3/agents/dev-container"><img src="https://agentmods.dev/badge/skills/patelr3/agents/dev-container/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/patelr3/agents/dev-container"><img src="https://agentmods.dev/badge/skills/patelr3/agents/dev-container.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.02340 |
| Opus 5.5 | $0.00025 | $0.00936 |
| Sonnet 5.5 | $0.00013 | $0.00468 |
| Haiku 4.5 | $0.00006 | $0.00234 |
Grade A, and why
dev-container scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dev Container Skill
Run work inside a dev container. This skill manages the full lifecycle: container build → AI tool execution → cleanup.
A sub-agent (Copilot, Claude, or AMP) runs inside the dev container to do the actual work. The parent session (you) manages the container lifecycle around it.
Inputs
When this skill is invoked, gather the following from the user or calling agent:
| Input | Required | Default | Description |
|---|---|---|---|
| Workspace folder | Yes | — | Path to the repo/worktree directory containing .devcontainer/ config |
| Prompt | No | — | Inline instructions for the sub-agent. Free-form text describing the work to do. |
| Plan file | No | — | Path to a file in the repo that describes the work (e.g., a PRD, a plan, a design doc). The sub-agent reads it and executes it. |
| Tool | No | copilot |
AI backend to run inside the container: copilot, claude, or amp. |
| Container name | No | Auto-derived from workspace | Name for the dev container instance. |
| Port offset | No | — | Integer for parallel port isolation (API = 3001 + N, Web = 3000 + N). |
| Auto-merge | No | true |
Whether to enable auto-merge on the created PR. |
| Create PR | No | true |
Whether to create a PR at the end. Set to false if the sub-agent handles PR creation itself. |
At least one of Prompt or Plan file must be provided. They can also be used together — the plan file provides the specification and the prompt provides additional context or instructions.
Execution Flow
Step 1: Resolve Inputs
Validate the workspace folder exists and contains a .devcontainer/ directory:
WORKSPACE_FOLDER="<workspace-folder>"
PROJECT_NAME="$(basename "$WORKSPACE_FOLDER")"
TOOL="<tool>" # copilot, claude, or amp — default: copilot
Auto-derive container name if not provided:
BRANCH_SUFFIX=$(cd "$WORKSPACE_FOLDER" && git rev-parse --abbrev-ref HEAD | sed 's|.*/||')
CONTAINER_NAME="${PROJECT_NAME}-${BRANCH_SUFFIX}"
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 267 lines · 63 tokens per session scan A da662d5f5ac9
dev-container is a skill published in the GitHub repository patelr3/agents (2 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 2,340 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
dev-container compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dev-containerpatelr3/agents | Skill | 2 | 7mo ago | MIT | A | 63 | Claude Code |
| deploy-docker-composeomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarization | Skill | 2.0k | today | Apache-2.0 | A | 117 | Cursor |
| securing-kubernetes-on-cloudxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 80 | Claude Code, Codex |
| detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorix | Skill | 1.6k | today | Apache-2.0 | A | 40 | Claude Code, Codex |
| docker-socket-mountPurpleAILAB/Decepticon | Skill | 6.9k | 14d ago | Apache-2.0 | B | 67 | Claude Code |
| managing-astro-local-envastronomer/agents | Skill | 466 | yesterday | Apache-2.0 | A | 63 | Claude Code |