Agent loop catalog
Reusable loops with kickoff prompts, guardrails, and flow diagrams. Copy into Cursor, Claude Code, or Codex β no hook files required.
38 loops
Filter by category
Ship PR Until Green
Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.
CI Failure Watcher
Poll CI on an interval, investigate failures when checks go red, and push fixes until green.
PR Self-Review
Review your own diff like a senior reviewer, fix issues, and repeat for three passes before opening the PR.
Test Until Green
Run your test suite, fix the smallest root cause on failure, and repeat until every test passes.
Babysit PR
Keep a PR merge-ready by triaging review comments, fixing CI, and updating the description until reviewers approve.
Lint Until Clean
Run the linter, fix violations in small batches, and repeat until the repo is clean.
Launch Apple Search Ads
Describe your app in chat. Trooper drafts country-by-country Apple Search Ads campaigns with localized keywords β paused until you approve.
Launch Meta Ads
Scout top-performing Facebook and Instagram ads in your category, auto-design banners, get approval, and launch paused campaigns.
Meta Ads A/B Test
Track Facebook and Instagram performance, pause losers, spin new banners, and keep A/B testing until the launch hits target CPA.
Self Managing Website
Trooper watches your site and competitors β rankings, traffic, content gaps, conversion drops β then writes content, fixes what's broken, runs experiments, and surfaces clear next steps.
Self Managing Help Docs
Trooper watches your help center against what you shipped β stale articles, support repeats, broken guides β then rewrites content, updates screenshots, and surfaces coverage gaps.
Staging Smoke Until Green
Deploy to staging, run browser smoke tests on critical paths, fix failures, and repeat until every path is green.
E2E Until Green
Run Playwright or Cypress end-to-end tests with annotated failure screenshots, fix root causes, and loop until the suite is green.
Screenshot Regression Loop
Capture UI screenshots, diff against baselines, fix visual drift, and repeat until pixel diffs are within tolerance.
Flaky Test Hunter
Run the test suite N times on an interval, capture intermittent failures, isolate flakes, and open a fix PR.
Dependency Drift Watch
Weekly interval loop that flags outdated dependencies, tests version bumps in isolation, and opens grouped upgrade PRs.
Landing Page Iteration
Screenshot the live site, annotate weak sections, redesign in code, commit, preview, and iterate until conversion-ready.
Figma-to-Code Loop
Implement a Figma design in code, screenshot the result, diff against the design spec, and iterate until they match.
App Store Screenshot Pack
Capture key app states in the browser or simulator, compose marketing frames, and export all required App Store and Play Store sizes.
Morning Operator Brief
Daily interval loop that reads your calendar, open tickets, and inbox priorities, then delivers a concise operator brief with ranked actions.
Inbox Triage with Approval
On an interval, classify incoming mail, draft safe replies for routine threads, and escalate anything that needs a human decision.
Customer Onboarding Watch
Interval loop that watches new signups, runs the onboarding checklist against each account, and nudges or escalates stuck users.
Competitor Change Watch
Daily interval loop that monitors competitor sites, pricing pages, and changelogs, then delivers a sourced brief on what changed.
Review Mining Loop
Weekly interval loop that pulls G2 and App Store reviews, clusters themes, and surfaces product and positioning insights.
Signup Flow Until Smooth
Walk register-through-onboard in the browser, annotate friction points, fix UX blockers, and repeat until the flow is smooth.
Checkout Until Green
Test every payment path in the browser β card, wallet, trial, upgrade β fix blockers, and loop until checkout is green end-to-end.
Docs Until Accurate
Run the live app, compare docs against actual behavior, fix drift, and repeat until documentation matches reality.
Blog Until Published
Outline, draft, optimize for SEO, deploy to staging, verify live, and loop until the post is published and indexed.
Changelog Until Shipped
Parse recent PRs and commits, write a user-facing changelog entry, publish it, and verify it appears on the public changelog page.
Dependency CVE Loop
Daily interval loop that audits dependency advisories, patches vulnerable packages, runs tests, and opens a security PR.
Secret Scan Until Clean
Scan the repo for leaked secrets, rotate exposed credentials, verify clean scan, and loop until no leaks remain.
Reconciliation on Autopilot
Inspired by End Close β continuous transaction reconciliation for high-volume payments. Deterministic matching rules handle the bulk volume, AI investigates exceptions with full context, and ops triages an inbox until close is audit-ready.
Portal to Production API
Inspired by Zatanna β turn any login-gated portal into a fast, stable API for agents. Record the real network flow once, reconstruct auth and sequencing without UI bots, ship one endpoint, and loop until production-ready.
Care Ops on Autopilot
Inspired by MochaCare β 24/7 care-agency operations. Fill canceled shifts with matched caregivers, run hiring pipelines, chase missing clock-ins and session notes, and surface growth insights while humans handle emergencies.
Quote & Order on Autopilot
Inspired by Mercura β stop losing deals to manual quote and order handling. AI ingests customer requests from any channel, parses complex specs and tenders, matches spec-compliant catalog SKUs (prioritizing margin), generates professional quote drafts, and exports to CRM/ERP with a full audit trail.
Client Docs to Forms
Inspired by Pollen β client documents in, completed forms out. AI ingests uploads from portal, email, or file drops, extracts fields with confidence scores, merges into one reviewed master record, routes judgment calls for human sign-off, and fills firm-specific output forms with a full audit trail.
Customer Activity on Autopilot
Inspired by Fixture β aggregate every customer interaction into a structured activity graph. Emails, meetings, notes, calls, and webhooks from team and agents feed one stream. Extract the right next actions, queue tracked tasks for reps and MCP clients, execute from anywhere, and keep CRM, email, and calendar in sync so nothing falls through the cracks.
Production Security on Autopilot
Inspired by Tolmo β a fleet of specialized security agents across your entire stack. Pentesting, internal discovery, and remediation grounded in a live production knowledge graph. Agents run on every PR, deployment, and alert, catch threats in seconds, and verify fixes before closing.
