Loop/Prompt Library / Loops from builders on X
๐ Alarm when an AI job suddenly costs more
The AI learns what each regular job normally costs and warns you when a run costs a lot more, which often means it's stuck or something changed.
Use it when: You run AI jobs regularly and a bad prompt or stuck loop could quietly run up the bill.
๐ Stops when: Each check ends with 'normal' or one alert.
Copy this loop
For each regular AI job in [list or log], work out its normal cost per run from the last [7] days. After each new run, compare its cost with that normal. If it's more than [20]% higher, send me an alert: job name, normal cost, this run's cost, and a guess at why (longer input, more retries, stuck in a loop). Also flag if a tool's output looks very different from usual. Look only; don't stop or change jobs yourself unless a run passes [3] times its normal cost, then pause just that job and tell me. Stop after each check.
Review every change the agent makes before you keep it. Set a budget or round limit โ the prompt includes one.
Found on X ยท by @ronitkd. Prompt rewritten in plain English by FixKit AI.
More loops like this
One useful thing every night
You give the AI a short mission, and each night it picks one task that moves you closer and leaves it for you to check in the morning.
Two watchers keep your agent healthy
Two separate AI helpers read your main agent's logs, find what broke, and must both agree on a fix before it is used.
Weekly skill cleanup
Once a week, the AI grades every saved skill or saved prompt it uses, removes the dead ones, and merges the repeats.
Overnight drafts that learn from results
Each night the AI drafts tomorrow's post from your content plan, and reads your notes about what worked before it writes the next one.
Split the work, keep only what passes
Splits a big job across several AI helpers working side by side, checks each one's work, and keeps only the work that passes.
Practice a website task until it's reliable
The AI tries a website chore, learns from each failed try, and keeps adjusting until it has steps that work every time.
