after

Reviewed at commit 4f05e06

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…

What we checked

Adds /after and /before commands that queue prompts and send each one to Claude as your own message when the current turn ends, with a band and a pane to view, reorder and remove them. Queue text is kept out of what Claude reads until its turn. For vague commands ("remove the tests one") it asks Haiku on your own account; it stores the queue for a week and makes no other network calls.

Review details

Static review of the source at the pinned commit; not run. Registers the /after and /before commands (session.start), and hooks turn.start, turn.complete, session.end, session.append (door command: removes the arguments of its own command records so queued text does not reach Claude early), ui.render (CommandOutput, AbovePrompt, Pane), ui.focus and ui.close. Runtime calls: $.command.register/list, $.prompt.submit with asUser true to start the next task after a normal turn end (Esc, refusal or error pause the queue), $.state and $.store (queue per session id, pruned after 7 days when empty; card records pruned after 30 days), $.model.complete (model from the setting, default haiku, effort low, 25 s timeout) only when the smart option is on and the text may refer to queued tasks; it sends the command text, the numbered queue and up to a few started or finished task texts, and falls back to local matching on failure, $.ui.toast/log/status/open/focus. Model output is validated against a strict schema and mapped to queue positions before use. It uses no network, file, process or environment APIs. The only other file in the folder, scripts/eval-haiku.js, is a developer test script that spawns the claude CLI; nothing in the plugin loads it, and it was only skimmed. It also warns when an old ~/.claude/commands/after.md or before.md from version 0.1 shadows the commands but does not touch those files. No npm dependencies. Tasks queued with /after are submitted without a further confirmation, which is the stated purpose.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): yes
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events

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.

Made this mod? Add a badge to your README

modsforClaude badge for after

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/after.svg)](https://modsforclaude.com/mods/after/)

← All mods