{"by":"anandchowdhary","descendants":62,"id":45938517,"kids":[45957654,45957680,45960513,45962805,45962590,45958413,45960789,45960369,45957397,45958130,45938518,45938580,45958817,45959798],"score":170,"text":"Continuous Claude is a CLI wrapper I made that runs Claude Code in an iterative loop with persistent context, automatically driving a PR-based workflow. Each iteration creates a branch, applies a focused code change, generates a commit, opens a PR via GitHub&#x27;s CLI, waits for required checks and reviews, merges if green, and records state into a shared notes file.<p>This avoids the typical stateless one-shot pattern of current coding agents and enables multi-step changes without losing intermediate reasoning, test failures, or partial progress.<p>The tool is useful for tasks that require many small, serial modifications: increasing test coverage, large refactors, dependency upgrades guided by release notes, or framework migrations.<p>Blog post about this: <a href=\"https:&#x2F;&#x2F;anandchowdhary.com&#x2F;blog&#x2F;2025&#x2F;running-claude-code-in-a-loop\" rel=\"nofollow\">https:&#x2F;&#x2F;anandchowdhary.com&#x2F;blog&#x2F;2025&#x2F;running-claude-code-in-...</a>","time":1763224069,"title":"Show HN: Continuous Claude – run Claude Code in a loop","type":"story","url":"https://github.com/AnandChowdhary/continuous-claude"}