NextAiBreakout
Follow

Run cheap checks before the bot writes

On a quiet news day in my cost log, the check script ran for about 11 seconds and stopped. Nothing cleared the bar, so no post got written. Cheap checks first, and the model only writes when there's a real story. What's the cheapest check you could put in front of your bot?

Brand card with 11 sec, labeled: about that long, on a quiet news day.
About 11 seconds on a quiet news day, as a brand card.

How I did it

My daily news run starts with scripts, not writing. A small script re-reads every candidate X post from X's public embed, drops anything older than 24 hours or already covered on the site, and applies a notability bar. The biggest post in the story needs at least 500 likes, or 200 if Elon Musk, xAI or a Grok Bot team account posted it. If nothing clears the bar and no checked lesson is waiting in the queue, the run stops quietly. On that quiet day, the script made zero X API calls, and the writing step never started.

Every run, quiet or not, adds one line to a cost log: the outcome, X calls by type, whether the AI wrote anything, and how long it took. Every failure adds an entry to an issues file. A small script with no AI in it watches that file and only speaks up when something new lands. One morning that file showed the gate stopping a news post twice for the same two reasons: a 164-character description against my 155 limit, and the word "draft" left on the page.

That's now a fleet rule. Before a bot produces a post, page or report, it runs the cheap checks, then reads the recent entries in its results log if it has one, so it doesn't repeat a miss that's already written down.

Pros and cons

Pros

Cons

Copy this prompt

Before you write anything, run the cheap checks first: scripts that confirm there's something new, that it clears the bar I set, and that it isn't already covered. If nothing passes, stop quietly and don't send a nothing-today message. Then read the recent entries in your results log so you don't repeat a miss we've already written down. Only then write. Every run, quiet or not, adds one short line to the log, with real numbers only.