{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "onmyway133-claude-code-tips-tricks--schedule-recurring-pr-cleanup-loop",
 "repo": "onmyway133/claude-code-tips-tricks",
 "repo_url": "https://github.com/onmyway133/claude-code-tips-tricks",
 "repo_slug": "onmyway133-claude-code-tips-tricks",
 "title": "Run a recurring PR check on a timed loop",
 "page_title": "How to run a recurring PR check on a timed loop with Claude Code Tips Tricks",
 "summary": "Use /loop to repeat a task on an interval so you do not trigger it by hand each time.",
 "who": "A team lead or maintainer who wants open pull requests checked regularly without remembering to do it.",
 "problem": "Routine PR babysitting and cleanup gets skipped when it depends on someone starting it manually.",
 "outcome": "A task repeats on your chosen interval for up to three days while you work on other things.",
 "steps": [
  "Write the recurring workflow as a skill, for example one named pr-pruner (inferred: the README uses this name as an example).",
  "Start Claude Code in the repository with `claude`.",
  "Run `/loop 1h /pr-pruner` to repeat the skill every hour.",
  "For a shorter check, run `/loop 5m /babysit` instead.",
  "For a job that keeps running after you close your laptop, use `/schedule` as the README describes."
 ],
 "agent_prompt": "In the repo at <repo-path>, set up a loop that runs the pr-pruner skill every hour using /loop 1h /pr-pruner. Expected output: the loop starts and reports its interval. Verify by confirming the loop status shows the 1h interval.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says /loop runs for up to three days, so plan to restart it for longer-running work.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "",
 "requirements": [
  "Claude Code installed and running in a terminal",
  "A project folder or git repository to work in",
  "Access to a Claude account that Claude Code can use"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/onmyway133-claude-code-tips-tricks/schedule-recurring-pr-cleanup-loop/",
 "md": "https://dedupedai.com/use-cases/onmyway133-claude-code-tips-tricks/schedule-recurring-pr-cleanup-loop/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/onmyway133-claude-code-tips-tricks--schedule-recurring-pr-cleanup-loop.json",
 "api_version": "v1"
}
