Multi-Tasking with Claude Code: Mastering the /btw Command
Overview
Modern development workflows often involve long-running AI operations. addresses the friction of waiting for a primary task to complete by introducing the /btw command. This feature allows you to query the AI model without pausing or canceling your active prompt. It changes the dynamic from a linear interaction to a parallel one, where you can gather metadata or context while the heavy lifting continues in the background.
Prerequisites
To use this feature, you should be comfortable with command-line interfaces (CLI) and have installed. Familiarity with project structures—such as knowing how to identify a version—will help you make the most of quick context checks.
Key Libraries & Tools
- : A CLI-based AI coding assistant that executes tasks and manages project files.
- : A PHP framework often used as the context for these technical queries.

Code Walkthrough
Using the /btw feature is straightforward. While a main task is running, you type the command directly into the input line:
# Example of a /btw query during a long refactor
/btw what is the Laravel version of this project?
The tool processes this as a high-priority, low-latency sub-request. It does not invoke external developer tools or file-system watchers, which is why it returns answers almost instantly. The main prompt continues its execution loop in the background, ensuring no progress is lost.
Syntax Notes
The prefix /btw acts as a specialized flag. Unlike standard prompts that trigger tool use (like searching files or running tests), this syntax signals to the LLM that it should provide a direct, knowledge-based response. It is a "side-channel" communication method.
Practical Examples
Imagine you are refactoring a legacy database migration. The AI is busy rewriting ten different files. You suddenly realize you forgot which version of the framework you are targeting. Instead of opening a new terminal tab and digging through composer.json, you simply ask the running process. This keeps your focus entirely within the current context.
Tips & Gotchas
Avoid using /btw for complex tasks that require file editing. This feature cannot call tools. It is strictly for information retrieval and quick questions. Use it as a digital sticky note for your project's context.
- 43%· products
- 29%· products
- 14%· people
- 14%· people

New /btw in Claude Code: Quick 1-minute Demo
WatchAI Coding Daily // 1:23
This channel is not for vibe-coders. It's for professional devs who want to use AI as powerful assistant, while still keeping the control of their codebase. My name is Povilas Korop, and I'm passionate about coding with AI. So I started this THIRD YouTube channel, in addition to my other ones Laravel Daily and Filament Daily. You will see a lot of my experiments with AI: I will try new things and share my discoveries along the way.