Codex
!
Rate limit reached
1h 30m
left
⏰ Waiting for 90min..
Prompt Delay
A hook that waits before Codex ever sees your prompt.
cli
agent prompt
$
npx prompt-delay
Getting started
•
Run
/wait
inside Codex after install,
with examples
•
Prompt Delay runs a terminal sleep before the model request is sent, then releases only your final prompt.
•
The tiny skill files are only autocomplete markers; the hook owns the actual waiting behavior.
GitHub
1
Examples
Prompt Delay supports human-friendly durations, including seconds, minutes, hours, and decimals.
Example:
Install
$
npx
prompt-delay
FAQ
What is Prompt Delay?
A Codex hook that intercepts /wait and /steer before the model sees them, sleeps in the terminal, then sends the queued prompt.
It installs globally with npm and wires Codex hook plus lightweight slash-command marker skills.
Why not just ask the agent to sleep?
If the agent receives the prompt first, usage limits and model context can still apply. Prompt Delay sleeps before the request reaches the model.
Does it send the skill file to the model?
The slash-command files are intentionally tiny markers. The hook strips the command, waits locally, and injects the final prompt after the delay.
Does it support seconds, minutes, and hours?
Yes. Use 1s, 10 seconds, 1min, 1 minute, 1.5h, 1h 30min, 1 h 30 min, 2 hours, and similar natural variants.
Can I queue or steer?
Yes. /wait queues a prompt for later, and /steer lets you add delayed steering instructions.
Where is the source?
The package and source are public at github.com/brahimhamichan/prompt-delay.