dev-container-handoff

dev-container-handoff is a skill for Claude Code, Codex from microsoft/vscode. It costs 52 tokens per session (703 once invoked), scanned A, original, MIT.

A workflow for moving an ongoing coding task into a plain Linux development container, then continuing it in a new session. The container uses Docker and keeps its files in a separate storage volume.

In plain words
What is it for?
Use it when you want to run, test, or continue work inside a Dev Container or another isolated Linux environment.
Why use it?
It gives the task an isolated environment without changing the main machine's setup. It also explains that the new session does not include the current conversation history.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it when you want to run, test, or continue work inside a Dev Container or another isolated Linux environment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/vscode/dev-container-handoff
About the project

Visual Studio Code is a code editor that supports editing, navigating, understanding, debugging, and extending software projects. Developers use it for the edit-build-debug cycle, and the catalogue add-ons provide skills, instructions, and agents for working within the editor.

microsoft/vscode · 195,850 stars · on GitHub · code.visualstudio.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/vscode --skill dev-container-handoff
Clone the repo
git clone --depth 1 https://github.com/microsoft/vscode

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for dev-container-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/vscode/dev-container-handoff/github.svg)](https://agentmods.dev/skills/microsoft/vscode/dev-container-handoff)
Your own site
<a href="https://agentmods.dev/skills/microsoft/vscode/dev-container-handoff"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/dev-container-handoff/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.

agentmods 80×15 button for dev-container-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/vscode/dev-container-handoff"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/dev-container-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00703
Opus 5.5 $0.00021 $0.00281
Sonnet 5.5 $0.00010 $0.00141
Haiku 4.5 $0.00005 $0.00070

Measured yesterday against content hash f129e0d47676, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-container-handoff 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 yesterday.

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.

src/vs/sessions/skills/dev-container-handoff/SKILL.md · 45 lines

How it starts

The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Continue in a Dev Container

A plain Dev Container is a Linux container from the Ubuntu base image (mcr.microsoft.com/devcontainers/base:ubuntu) with an agent host running inside. It keeps its files in a Docker volume and is listed in Remote Environments, like one created there with the Create Dev Container action. A new session inside it continues the work. This session stays as the record of the conversation.

1. Confirm

If the user didn't explicitly ask to move the work into a Dev Container, ask once before creating one. Say where it runs and that the new session starts without this conversation's history.

The container runs on the same host as this session by default: this computer, or the SSH, Tunnel, or WSL host this session runs on. For another host the user names, get its exact ID from list_agent_hosts.

2. Create the container

Call create_dev_container, with host only when it should run on a different host than this session, and engine only when the user asked for Docker or WSL containers (wslc). If the tool isn't available, explain that Dev Containers can't be created from this window. Building one can take a few minutes. If it fails, explain the error, such as Docker not running, and help fix it before calling it again: each call creates another container.

The result has the container's hostId and its empty workspace folder. If its status is notReady, the container exists but can't start sessions yet: don't create another one; follow its guidance.

3. Write the handoff prompt

The new session sees only this prompt, so make it self-contained:

  • The goal, in the user's words where possible.
  • What has been done and decided so far, and why.
  • What the session needs from this workspace. The container starts empty and nothing is copied into it, so include the content of small files, or say which repository to clone.
  • Open problems and the exact next step.
  • If the user wants a report here, ask the session to reply with send_remote_message to session "origin" when it's done or blocked.

Read the full file on GitHub · 45 lines

Changes

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.

  1. yesterday Changed f129e0d47676
  2. 3d ago Changed 93d7e0507a8b
  3. 9d ago First seen · 45 lines · 52 tokens per session scan A 21c207be880f

Subscribe to this mod's changes

dev-container-handoff is a skill published in the GitHub repository microsoft/vscode (195,850 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 703 once invoked, about $0.0002 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-11-21.

Related

dev-container-handoff compared with skills from other repositories

dev-container-handoff next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev-container-handoffmicrosoft/vscodeSkill196ktodayMITA52Claude Code, Codex
cyrene-plan-modePlaya-0v0/Cyrene-AgentSkill8119d agoMITA37Claude Code, Codex
cyrene-plugin-devPlaya-0v0/Cyrene-AgentSkill8119d agoMITA61Claude Code, Codex
cyrene-exam-paperPlaya-0v0/Cyrene-AgentSkill8119d agoMITA64Claude Code, Codex
cyrene-obsidian-workspacePlaya-0v0/Cyrene-AgentSkill8119d agoMITA42Claude Code, Codex
cyrene-work-hygienePlaya-0v0/Cyrene-AgentSkill8119d agoMITA56Claude Code, Codex
cyrene-diagramPlaya-0v0/Cyrene-AgentSkill8119d agoMITA50Claude Code, Codex