[01] LOOP
OperationsintervalHardenedTemplate

AI agents that automate B2B on Autopilot

Inspired by Unisson — AI agents that automate B2B software implementation. Loop until the workflow is current, exceptions are owned, and human sign-off is captured where required.

Inspired by Unisson

by Trooper

Kickoff prompt
/loop 30m Start the "AI agents that automate B2B on Autopilot" loop.

Inspired by Unisson (https://www.unisson.ai).

Goal: open work triaged, exceptions owned, and core operations workflow current with audit trail
Max iterations: 20
Between iterations run: Report open queue items, stale tasks, failed automations, and items awaiting human approval for Unisson
Exit when: zero open items without owner or explicit escalation, all external actions approved or sent, and systems of record current

Step 1 — Discover workflow: Map current process, systems, and success criteria with stakeholders.
Step 2 — Configure automation: Build agents, integrations, and approval gates for the workflow.
Step 3 — Pilot on real cases: Run on production-like samples; measure accuracy and latency.
Step 4 — Human review: Keep human in the loop for edge cases and go-live sign-off.
Step 5 — Operate and tune: Monitor drift, add edge cases, and expand scope safely.

## Before you start

Connect plugins:
- GitHub (required) — Read branches, PRs, reviews, checks, workflow runs, and source diffs.

Attach skills:
- Loop runner (required) — Self-pace iterations, run the check between passes, and stop only on the exit condition.
- Code change + local verification (optional) — Edit code safely, run commands, and keep changes scoped.
- CI debugging (optional) — Read failing checks, logs, and the smallest actionable root cause.
- Approval workflows (optional) — Keep outbound actions in draft or approval states when risk is non-trivial.

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. Discover workflow

Map current process, systems, and success criteria with stakeholders.

2. Configure automation

Build agents, integrations, and approval gates for the workflow.

3. Pilot on real cases

Run on production-like samples; measure accuracy and latency.

4. Human review

Keep human in the loop for edge cases and go-live sign-off.

5. Operate and tune

Monitor drift, add edge cases, and expand scope safely.

Flow diagram

Guardrails

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

  • Require human approval before customer-facing sends, payments, or legal submissions unless pre-approved templates apply
  • Preserve full audit trail linking source data to every automated action
  • Escalate compliance, safety, or regulatory-sensitive items immediately

More Operations loops