Build backend API, watch for exit

Autonomously build a backend API, polling Oracle threads for an EXIT LOOP signal until found or 50 iterations hit.

prompt
→ Claude
/ralph-loop "Build backend API. Check oracle threads() for EXIT LOOP signal." --max-iterations 50
claude-code

Source: MaouStan

More ops loops

Month-close reconciliation prep

Loop/loop

Categorize transactions against history and hand a human a clean exception list — it never files anything.

prompt
→ Claude
/loop cadence: monthly. Using the QuickBooks API (read), categorize the period's transactions against historical patterns. Append matches + anomalies to state-file month-close.md. Each round, build/refresh the exception list (uncategorized, unusual, likely-miscoded) for a human to review. Never post, file, or reconcile anything in QuickBooks. Stop when the exception list is complete; log errors and stop. Budget: cap $[X]/run. Hard cap: stop after 1 iteration per run.
opsmedium riskclaude-code

KPI anomaly watch

Loop/loop

Stay silent on normal days and page you with a pre-investigated cause only when a metric breaks its expected band.

prompt
→ Claude
/loop cadence: daily. Using the PostHog MCP and Stripe (read), check my key metrics [LIST] against their normal bands. Append daily readings to state-file kpi-watch.md. On a normal day, do nothing but log. When a metric breaks its band, pre-investigate (segment, correlate, likely cause) and draft an alert with the diagnosis. Never change data or send customer-facing messages. Stop after the check; log errors and stop. Budget: cap $[X]/run. Hard cap: stop after 1 iteration per run.
opslow riskclaude-code

Inbox-to-decision triage loop

Loop/loop

Turn every unread email into a decision — do, delegate, defer, or drop — with the top reply already drafted.

prompt
→ Claude
/loop cadence: daily. Using the Gmail MCP (read + draft), process each unread thread and classify it decide / delegate / defer / drop. Append (thread, classification, rationale) to state-file inbox-triage.md. For 'decide' and 'delegate' threads, save a draft reply — draft only, send nothing, archive nothing. Stop after the unread batch; log errors and stop. Budget: cap $[X]/run. Hard cap: stop after 1 iteration per run.
opsmedium riskclaude-code