Claude Code can move a running skill to the background

Developers can move an in-progress skill out of the conversation in Desktop, cloud and Remote Control sessions. Skill authors can keep it in the conversation with background: false.

Editorial cover: Claude, Anthropic, Claude CodeEditorial cover: Claude, Anthropic, Claude Code
Company marks identify their owners. Reference only; no endorsement.

Anthropic added a Run in background control for skills already running in Claude Code. The December 4 release applies to Desktop, cloud and Remote Control sessions, with third-party providers excluded. Developers can start a skill in the conversation and decide partway through that they want to keep using the conversation while it runs. Skill authors can set background: false in the skill’s frontmatter to keep it in the conversation. Anthropic’s Claude Code v2.1.337 release notes

A running Claude Code skill can move to the background while the conversation becomes available for another prompt. A skill with background set to false stays in the conversation.A running Claude Code skill can move to the background while the conversation becomes available for another prompt. A skill with background set to false stays in the conversation.
A running skill can move to the background in supported Claude Code sessions. Skill authors can set background: false to keep it in the conversation. Original illustration based on Anthropic’s v2.1.337 release notes.

Anthropic’s Claude Code v2.1.337 release page on GitHub.
Anthropic’s Claude Code v2.1.337 release page, captured from GitHub. · Original source

Decide after the skill starts

A skill packages a repeatable procedure in a SKILL.md file. You can call it by typing its slash name, or Claude can use it when relevant, subject to the skill’s invocation settings. That makes skills useful for work that starts with a familiar checklist but can take very different amounts of time depending on the repository and the task. Anthropic’s skills documentation

Take a team skill that reads a branch diff and prepares release notes. A small fix might produce a draft before you have another question. A larger branch might require tracing several changes back to the user-facing behavior they affect. With the new control, you can start both runs the same way and move the larger one to the background once it’s clear the draft will take a while. While it runs, you could use the conversation to clarify wording for an unrelated change. When the draft is ready, check that it describes the branch you originally asked the skill to review.

Claude Code already has ways to start parallel work. Anthropic’s overview describes running multiple sessions in the desktop app and starting long-running work on the web. The new control is for the moment when a skill is already underway and you want the conversation back. If you know from the outset that two jobs need separate workspaces or will touch the same files, plan how to separate their work before starting them. Claude Code overview · Automater’s guide to Claude Code background sessions

Which skills should stay in the conversation?

For skill authors, the decision is whether a run can make useful progress while the developer’s attention is elsewhere. A release-note draft can usually reach a reviewable stopping point with the branch and intended audience supplied up front. A skill that helps choose a public API name might need the developer to pick between competing options before it can update the examples. For that second kind of procedure, Anthropic’s release notes say to put background: false in the YAML frontmatter at the top of SKILL.md. Anthropic’s release notes

Here’s how the field fits into an illustrative skill that prepares an API naming decision.

---
name: choose-api-name
description: Compare names for a public API and ask the developer to choose.
background: false
---

The frontmatter controls where the skill stays. The instructions below it should still say when to ask the developer to choose and what work depends on that choice. Put the decision before any dependent edits, so the developer can compare the options without first having to unwind a draft implementation.

Try the handoff with work you can check

In a supported session, start a read-only skill that will take long enough to observe, such as a draft changelog for a branch with several commits. Give it a fixed scope and an output you can verify, such as a short list of user-facing changes with a file reference for each. While it is running, select Run in background and ask a separate question in the conversation. Check that you can use the conversation while the skill continues, then verify the finished draft against the original branch. Anthropic names the control and its supported sessions in the release notes. The exact menu location and how the result appears are details to check in your own client. Anthropic’s release notes

Sources

  1. Release v2.1.337 · anthropics/claude-code · GitHub
  2. Overview - Claude Code Docs
  3. Claude Code lets developers move a running skill to the background