Loop directory

15 loops match your filters.

Including grade C — stops on its own, but runs fewer checks than A or B. Back to A and B →

Collect external links from docs weekly, archive dead ones via Wayback Machine, open a PR with replacements and a report of unfixed links.

prompt
→ Claude Code
/schedule weekly — outbound link-rot sweep with archived replacements. Setup: add the Wayback Machine MCP server (npx -y mcp-wayback-machine, no API key for reads). Each run, at most 12 turns: 1. Collect every external http(s) link in docs/ and README.md into one list. If the list is empty, report "no external links" and STOP. 2. Request each URL once (HEAD, then GET only on a 405). Never retry a host more than twice and never request the same host more than 10 times in a run — this is a health check, not a crawl. 3. For each link returning 4xx/5xx or failing to resolve, call the Wayback MCP for the newest snapshot before today. Record: original URL, status, snapshot URL, snapshot date. 4. Replace only links that have a snapshot; leave the rest untouched and list them for a human. 5. VERIFY before finishing: re-request every replacement snapshot URL and confirm it returns 200. Drop any replacement that does not. 6. Open a PR with the diff plus a table of every change and every unfixed dead link. EXIT when the PR is open, or when step 1 finds no links, or at 12 turns — whichever comes first. Do not edit link targets that still return 200. Do not push to main. Do not delete a dead link without a working archived replacement; report it instead.
/goalMaintenancemedium risknew

Codex Manager/Worker Loop

A persistent 'manager' session monitors a separate 'worker' session, detects stalls, reviews output, prompts fixes, and advances through ordered tasks; stop when every task passes manager review.

prompt
→ Claude Code
You are the MANAGER agent over a list of N tasks (some must run in a fixed order). Monitor a separate WORKER session per task. After each worker session: (a) review its output against the task spec; (b) if unsatisfactory, send a targeted fix prompt and wait for the worker to re-run; (c) if satisfactory, commit it and advance to the next task. Repeat until all tasks pass review. Stop when every task has a passing review; report a per-task commit summary for human sign-off.
/goalMaintenancemedium risknew

Explore-Fix + Blind Audit Loop

Loop explore->fix until two consecutive 'all clear' passes, then a FRESH-context blind audit; if it finds issues, re-enter the loop; stop only when the blind audit is also clear.

prompt
→ Claude Code
Harden this codebase in two phases. PHASE 1 (Explore-Fix): hunt bugs, security issues, and logic errors; fix every finding; record a 'pass' when you find nothing. Repeat until you get TWO consecutive passes. PHASE 2 (Blind Audit): in a FRESH context with no memory of Phase 1, audit the same code independently. If it finds anything, return to Phase 1. Stop only when the blind audit also returns zero findings. Report total rounds and all fixes.
/goalMaintenancemedium risknew

Agentomics-ML

Autonomous ML experimentation loop that produces a suitable model for a dataset.

prompt
→ Claude Code
Given a dataset and a target metric, autonomously build a good model. Loop: inspect the data, propose a modeling approach (features, model, hyperparameters), train, evaluate on a held-out split, and record the metric. Keep changes that improve held-out performance, revert those that don't. Repeat until the metric plateaus; output the best model and a summary of what worked.
/goalMaintenancehigh risknew

The Mobile Closed-Loop Build

Install on a virtual device, tap through every screen, fix crashes, repeat until store-ready.

prompt
→ Claude Code
Build and install the app on a virtual device. Programmatically tap through every screen and flow; verify layouts across screen sizes; watch for crashes, broken navigation, and slow frames. When you hit a defect, reproduce it, fix it, rebuild, and re-run the full walkthrough. Repeat until a complete walkthrough passes clean on all target device sizes.
/loopMaintenancehigh risknew

The cost-reduction loop

An operations workflow that attributes current spend, applies one approved savings change, and keeps it only when cost drops without guardrail regressions.

prompt
→ Claude Code
Reduce spend on the target system toward the agreed budget without weakening correctness, performance, reliability, or service-level objectives. First read current cost and usage, then attribute spend to the largest drivers. Each pass, propose the single highest-saving safe change and get approval before any billing, infrastructure, production, or user-impacting change. Apply the change only within that authority, then measure cost and guardrail metrics over the agreed window. Keep it only if cost drops and no guardrail regresses. Stop at budget, no safe saving remains, no measurable progress, blocked access, or approval need.
/loopMaintenancelow risk

Triage untriaged issues to zero

Pick the oldest untriaged issue, validate it against the current build, then label it, close if obsolete, or document repro steps—one per turn until the queue empties or 12 iterations pass.

prompt
→ Claude Code
/loop pick the single oldest untriaged issue in the tracker; reproduce or validate it against the current build, then either label it (area, priority, effort), close it with a polite explanation if it is obsolete, or write the missing repro steps. One issue per iteration, never close anything that still reproduces, and propose bulk closes for maintainer review instead of executing them. Continue until the untriaged queue hits zero — stop after 12 turns and report the triaged/closed/escalated counts.
/goalMaintenancemedium risk

Chase a refund until it lands

Open the claim, watch replies and deadlines, and keep the case moving until the money actually arrives.

prompt
→ Claude Code
Get my refund for [company and charge info]. Start the claim now through an approved support channel, then keep following up on replies, promises, and deadlines until the refund arrives. Keep a short case note so each follow-up has context. Stop only when the refund is received or you are genuinely blocked and need me.
/goalMaintenancehigh risk

Prove your backups actually restore

Restore random real recovery points, verify integrity and RPO/RTO, and keep every failure as a regression drill.

prompt
→ Claude Code
For each required recovery scenario, randomly select an eligible real backup or recovery point and restore from zero in a disposable, isolated clean-room using only documented materials. Verify integrity, dependencies, representative reads and writes, and actual RPO and RTO. Repair one blocker, destroy the environment, and retry fresh. Stop when every scenario reaches its predefined consecutive-success streak or an exception is explicitly accepted. Never overwrite production, expose restored data, or initiate failover without approval.
/loopMaintenancehigh risk

Keep a verified daily project story

Turn repo activity, goals, and open threads into a verified daily narrative the next agent can trust.

prompt
→ Claude Code
On each [window], read the configured repositories, goals, prior STORY.md, and optional authorized sources. Update project files, then write STORY.md with focus, deadlines, open threads, and evidence-backed recent wins. Carry every prior thread forward, prove it finished, or mark it STALE/NEEDS-REVIEW—never silently drop one. Archive the snapshot and record the change. Stop when verification passes; if evidence or access is missing, return a thinner or blocked snapshot explicitly.
Sponsored · ConnectMyEmail

Loops that read your inbox.

Email is the missing tool in your harness. ConnectMyEmail gives Claude Code and Codex a clean MCP into Gmail, iCloud and IMAP — triage, drafts, follow-ups, on a loop.

connectmyemail.com →
/goalMaintenancehigh risk

Propagate a value everywhere it lives

Update every copy of a changed value across the project, hunt down leftovers, and prove only intentional old references remain.

prompt
→ Claude Code
After changing a version, count, rule, name, or configuration, list where the new value belongs and update it. Search the project for the old value and related forms. Review each match: fix real stale values, but keep intentional history, examples, migrations, or compatibility rules. Repeat until zero stale values remain. If one returns for two rounds, stop and identify what may be regenerating it. Return changes, intentional matches, and search output.
/goalMaintenancemedium risk

Upgrade to current Node LTS

Move the project to the current Node LTS across .nvmrc, CI config, Dockerfiles, and engines, fixing deprecations until everything is green on the new runtime.

prompt
→ Claude Code
/goal the project runs on the current Node LTS — update .nvmrc, the engines field, CI workflow files, and any Dockerfile base images to the LTS version, then run install, build, lint, and the full test suite on it, fixing deprecation warnings and breakages one at a time; stop when all are green or after 15 turns
/scheduleMaintenancelow risk

Weekly tech debt report

Every Friday, compile a trend report of debt signals — TODO count, lint suppressions, type coverage, largest files — so the team sees drift before it compounds.

prompt
→ Claude Code
/schedule every Friday at 4pm, measure TODO/FIXME count, eslint-disable and ts-ignore counts, type coverage, and the five largest source files; append the numbers with week-over-week deltas to reports/tech-debt.md and call out the single worst trend in one paragraph
/goalMaintenancemedium risk

Upgrade dependencies one at a time

Walk through outdated dependencies one package per turn, upgrading, running the full check suite, and pinning back anything that breaks.

prompt
→ Claude Code
/goal `npm outdated` lists no minor or patch updates — upgrade exactly one package per turn, run tests, lint, and build after each, commit if green, and pin the previous version with a note in UPGRADE-BLOCKERS.md if it fails; stop after 20 turns
/loopMaintenancemedium risk

TODO burn-down

Chip away at the oldest TODO comments in the codebase, one per pass: either resolve it properly or convert it into a tracked issue.

prompt
→ Claude Code
/loop 30m find the oldest TODO or FIXME comment in the codebase, and either implement it (with a test) if it takes under 50 changed lines, or open a GitHub issue capturing its context and delete the comment; report which TODO you handled; stop when none remain