Overview
Move a side task from a busy Claude Code Desktop session into a new session of its own, with a written brief, so the first conversation stays on its job and the new one starts fresh.
Problem or Objective
- Which agents take on multi-step tasks in the background and report back when they finish or need approval?
- Which agents build a non-trivial feature with you?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Claude Code in the desktop app. The overview page says a paid subscription is required.
How It Works
When a to-do item comes up in the middle of other work, ask Claude to write a handover brief: the goal, the files involved, what is already known, constraints and how to tell it is done. Read and correct the brief. If Claude has suggested the work as a task, start it in a separate session after reviewing the environment, worktree and permission options; otherwise open a new session from the sidebar and paste the brief. In the new session, start in Plan mode and approve the plan before any edit. Let it work, review the diff and test results, and commit or merge only when you agree. Go back to the first session to finish its own task.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code.
- Check the prerequisitesClaude Code in the desktop app. The overview page says a paid subscription is required.
- Gather your detailsCollect what the prompt asks for: Side task, Constraint to respect, Verification command.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Write a handover brief for a side task
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
I want to move this to-do item into a new session: [Side task]. Write a self-contained brief with the goal, the relevant files, what we already know, what is out of scope, the constraint [Constraint to respect], and how to verify it with [Verification command]. Do not start the task here and do not edit files. Show me the brief and wait for my approval; I will start the new session and paste it, or use your task suggestion. The new session should present a plan and wait for approval before editing, and should not commit, push or merge without my say.Approve the brief before handing off, approve the new session's plan before edits, and review the diff before committing or merging.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The desktop documentation describes tasks that Claude suggests and that can be started in a separate session, and parallel sessions. Anthropic also says a new session starts without earlier conversation history. How complete your brief needs to be is for you to judge.
Limitations and Considerations
Anything the new session needs and cannot find in the project has to be in the brief. The desktop page describes the suggestion buttons for local, SSH and cloud sessions on its current layout, so what you see may differ. If both sessions could touch the same files, confirm that they work in separate worktrees or branches. The overview page says the desktop app needs a paid subscription. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Desktop application - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 2 Dec 2026, 17:04 UTC
What this source supports
- When Claude notices something worth fixing outside what you’re working on, it suggests that work in the chat.
- If you want the work done, you choose whether it runs in a separate session or in this one.
- How Claude Code works - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 2 Dec 2026, 17:04 UTC
What this source supports
- Each new session starts with a fresh context window, without the conversation history from previous sessions.
- While it excels at coding, it can help with anything you can do from the command line: writing docs, running builds, searching files, researching topics, and more.
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 2 Dec 2026, 13:21 UTC
What this source supports
- A paid subscription is required.

