[01] LOOP
OperationsintervalHardened

Inbox Triage with Approval

On an interval, classify incoming mail, draft safe replies for routine threads, and escalate anything that needs a human decision.

by Trooper

Kickoff prompt
/loop 30m Start the "Inbox Triage with Approval" loop.

Goal: inbox triaged with drafts queued for approval and escalations surfaced
Max iterations: 15
Between iterations run: Verify inbox unread count and pending draft queue status
Exit when: all threads classified with drafts queued or escalations flagged

Step 1 — Monitor: Scan unread inbox for new and SLA-sensitive threads.
Step 2 — Act: Classify, draft safe replies, and label follow-ups.
Step 3 — Surface: Queue drafts for approval and escalate human-needed threads.

Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.

Paste the kickoff prompt into Cursor, Claude Code, or Codex. Deeplinks do not install hook files.

Steps

1. Monitor

Scan unread inbox for new threads, VIP senders, and SLA-sensitive messages.

2. Act

Classify each thread, draft safe replies for routine items, and label for follow-up.

3. Surface

Present draft queue for approval and escalate threads that need a human.

Flow diagram

Guardrails

Rules the agent must follow so it cannot cheat the exit condition.

  • Never send mail without explicit human approval
  • Escalate legal, billing, and angry-customer threads immediately
  • Do not auto-archive threads that need a human decision

More Operations loops