/fork vs /subtask in Claude Code: Updated Command Behavior
Learn how the updated /fork and new /subtask commands work in Claude Code v2.1.212+ and how they change session and sub-agent workflows.
If you missed it: recently, the behavior of the /fork command in Claude Code was changed.
It now copies the current session into a new background session, and you can continue working in the current one.
The previous behavior—launching a sub-agent within the same session and then returning the result—is now available via the /subtask command.
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.
Related articles
All articlesNew Claude Code Mod Adds Configurable Agent Flow Sidebar
A new Claude Code mod adds a configurable sidebar that displays all active subagents, their actions and context usage, making agent management easier.
Claude Code Desktop Boosts Productivity with Parallel Sub‑Sessions
Claude Code now runs parallel tasks in separate sub‑sessions, lets you manage environments, worktrees and launch new tasks with one click.
AntiVibe Skill for Claude Code: Turn Any Codebase into Lessons
Use AntiVibe with Claude Code to transform any codebase into detailed learning material, explaining architecture, logic, and trade-offs.