Leave a request.
While Claude Code works, type /next followed by your next request.
claude-next
Leave follow-up requests with /next while Claude works. Each runs in its own turn after the current task ends.
❯ /next run the tests
While Claude Code works, type /next followed by your next request.
The request waits for the current turn to end. It does not wait for background tasks.
Queued requests run one per turn, in order. Open a new Claude Code session after installation.
Why /next exists, how it waits, and what it does not do.
When a follow-up comes to mind while Claude is working, most people just type it. But a normal message sent mid-task reaches Claude as soon as the current tool call finishes. Send “add a test for an empty list” while it is fixing a bug, and it lands before the tests even run, so both requests end up in one reply.
Slash commands, on the other hand, wait until the turn ends, as Claude Code’s documentation describes. /next is a one-line skill built on that difference.
The whole skill is a few lines. It hands whatever follows /next to Claude as the next request in the conversation; the waiting is done by Claude Code’s own command queue.
---
name: next
description: Queue a follow-up request that runs after the current turn finishes.
argument-hint: <next request>
disable-model-invocation: true
---
Treat the following as the user's follow-up request and carry it out now,
continuing from the current conversation: $ARGUMENTSBecause of disable-model-invocation: true, only you can run it. It never appears in Claude’s skill list, so it costs no context until you use it.
/next run the tests and fix anything that fails. It runs as a new turn once the current one ends.↑ with the input empty, delete the line and press Enter. Don’t use Ctrl+C for this; it stops Claude.The repository’s tests/verify.sh drives a real Claude Code session in tmux, queues two /next commands during a multi-step task, and reads the session transcript to see what reached Claude and when. On Claude Code 2.1.283 (macOS), neither request reached Claude during the first turn (0 leaks), and each ran in order as its own turn.
Run npx claude-next-skill again.
Run npx claude-next-skill uninstall.
Save skills/next/SKILL.md unchanged as ~/.claude/skills/next/SKILL.md (on Windows, %USERPROFILE%\.claude\skills\next\SKILL.md).
Install in your terminal, then open a new Claude Code session.