agentleFS
MicrosoftKnown publishermicrosoft/vscode/src/vs/sessions/skills/dev-container-handoff/SKILL.md

dev-container-handoff

Skill196k starsChanged 17 days agoMITView on GitHub

Create a plain Dev Container and continue the current task in a new session inside it. Use when the user asks to run, try, or continue work in a container or Dev Container, or wants an isolated Linux environment for the task.

Trending

More talk lately.about the whole repository

Dec 2025: 2 mentionsJan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 1 mentionApr 2026: 2 mentionsMay 2026: 4 mentionsJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 3 mentionsOct 2026: 1 mentionNov 2026: 2 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/vscode repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/vscode

The biggest 5 of 96 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 96

Talked about on Bluesky, Hacker News and GitHub (96 times).

On Bluesky · 48

43 more on Bluesky

On Hacker News · 39

34 more on Hacker News

On GitHub · 9

4 more on GitHub

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user didn't explicitly ask to move the work into a Dev Container, ask once before creating one.

    line 14
  2. Very specific:

    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.

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. --><!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->

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.

4. Start the session

Call create_remote_session with:

  • prompt: the handoff prompt.
  • title: a short title for the task.
  • hostId: the hostId from create_dev_container.
  • workspace: { "uri": "<workspace from create_dev_container>", "isolation": "folder" }.
  • model: only when the user asked for one; list_agent_hosts shows the container's models. Omitted, the session continues on this chat's model and its options when the container offers it.

Share the returned openLink as a Markdown link and end your turn. Don't continue the task here or poll the new session. Don't retry an uncertain creation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.