Always-on Usage

Copy library / Guides / Grok Bot

Letting Grok Bot know when a Codex CLI or Claude Code job has finished

Subscribe

What it does
When the author first had Grok Bot driving Codex CLI and Claude Code CLI, it mostly didn't know when a job finished: a background shell didn't wake an idle agent and a detached job gave no signal, so the author kept asking "has it finished?". The post then describes the first fix.
Scenarios
Social scheduling Code & ship
What the source covers
  • Author & original linkYes
  • What it doesYes
  • Verbatim source excerptYes
  • Screenshots / mediaNot in source
  • Steps / chaptersNot in source
  • Verbatim prompt / configNot in source
  • Results / numbersNot in source
  • Risk notesYes
  • Related entriesYes

— means the source doesn't say; we don't fill it in.

In the author's words
When I first got Grok Bot driving Codex CLI and Claude Code CLI, I didn't know how it would find out a job had finished. Mostly it didn't. A background shell didn’t wake an idle agent, and a detached job gave no signal, so I kept asking "has it finished?".

The first fix was a
@timz0ne · · Open on X ↗

The author's post, quoted verbatim and left untranslated.

Prompt

The source does not include a prompt you can copy verbatim.

How to copy
  1. Read the source: x.com ↗
  2. Turn the steps/prompts from the source into one message for your Bot
  3. Run it manually once, then decide the frequency
Risks and limits
  • The author's result may not reproduce for you; the original post is the reference
Usage estimate
Estimate with the metal calculator