After

Queue prompts while Claude Code is working

·

source at c2ee6a4

·

MIT license

Type /after <task> while Claude works and the task waits for the current one to finish instead of steering it. A band above the prompt shows what runs next.

What this mod can do

  • Reviewed at commit c2ee6a4
  • Sends its own requests to Claude, which uses your tokens
  • Submits prompts for you, which can be sent as your own words
  • Sees each message added to the conversation and can change it
4 more things it can do
  • Remembers data between sessions
  • Adds the /after command
  • Adds the /before command
  • Lists the slash commands you can run
Good to know (3)
  • Needs Claude Code 2.1.289 or newer.
  • Turn smart off in /config and plain-language commands match locally, never asking the model.
  • Esc stops the running task, not the queue. /after pause holds queued tasks until /after resume.
Are mods safe?

Preview

Terminal

╭─ After ──────────────────────────────────╮ │ ✓ Queued #2 │ │ │ │ 1 refactor the parser │ │ + 2 write unit tests ← new │ ╰──────────────────────────────────────────╯ ╭─ After ──────────────────────────────────╮ │ ✓ Queued #3 │ │ │ │ 1 refactor the parser │ │ 2 write unit tests │ │ + 3 update the README ← new │ ╰──────────────────────────────────────────╯ ╭─ After ──────────────────────────────────╮ │ ✓ Queued #1 · next up │ │ │ │ + 1 fix the lint errors first ← new │ │ 2 refactor the parser │ │ … 2 more │ ╰──────────────────────────────────────────╯ after paused 1 fix the lint … 2 refactor the … 3 write unit te… +1 more ✎ edit [-]

Claude Desktop

After in Claude Desktop

What it does

In the author's words

A real prompt queue for Claude Code: /after <task> runs it after the current task, without steering. See, reorder and remove queued tasks from a band and a live pane, in plain language.

What you see
A queue band above the prompt and a pane to edit it
Works in
Terminal and Claude Desktop
Slash commands
/after, /before
Uses your tokens
Asks Haiku to read plain-language queue commands
Changes files
Nothing
Network access
None
Reviewed commit
c2ee6a4
Preview recorded with
Claude Code 2.1.309

How it works

  1. /after and /before run the moment you press Enter, even mid-turn
  2. Each command answers with a card showing what changed in the queue
  3. A one-line band above the prompt lists the running task and the next ones
  4. When a turn ends normally, it submits the next task as your own message

Common questions

How do I queue a prompt in Claude Code without interrupting the current task?

Run /after <task>. The task waits until Claude finishes what it is doing, then After submits it as your own message. Text you type normally while Claude works goes into the current turn instead.

What's the difference between /after and /before?

/after <task> adds a task to the end of the queue, and /before <task> puts it at the front so it runs next. /after #2 <task> and /before #2 <task> insert it right after or right before task 2.

Can I reorder or remove queued tasks?

Yes. Bare /after opens the queue, where k and j move a task, d removes it and e edits it. Commands such as /after mv 3 1 and /after rm 2 work too, and so does plain language like /after remove the tests one.

Does After need an API key?

No. It asks Haiku through Claude Code's own model client, so there is no key to set up and no background process, and it falls back to local matching if Haiku does not answer.

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://staging.statuslin.es/badge/mods/after.svg)](https://staging.statuslin.es/mods/after?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://staging.statuslin.es/og/mods/after.png)](https://staging.statuslin.es/mods/after?utm_source=readme-badge)