continuous-claude
Runs Claude Code or Codex in a loop to build, check and merge pull requests.
Overview
Continuous Claude is a command-line tool that runs Claude Code in a loop to make incremental progress on long-running coding tasks. It was created to address a large unit-test coverage goal, but applies to any multi-step project that benefits from repeated, persistent iterations.
The tool acts as a conductor: it creates branches, commits changes, opens pull requests, monitors CI checks and reviews, and merges successful work while discarding failures. A persistent markdown file serves as a handoff log between runs, allowing later iterations to build on earlier progress without context loss.
What sets Continuous Claude apart is its integration with existing GitHub workflows, so code review and preview environments are respected without extra setup. It supports scheduled or triggered runs and can maintain context across iterations, making it suited for extended development efforts rather than isolated queries.
Best for
- Software engineers
- DevOps engineers
- Engineering managers
- QA engineers
- Platform engineers
- Software development
- Technology
How to use
- Install the continuous-claude command-line tool.
- Configure your repository and set the objective for the loop.
- Run the tool to start iterations that create branches and pull requests.
- Review and merge pull requests as they pass checks, or let the tool handle merges automatically.
What it can do
How it works
Continuous Claude operates by repeatedly invoking Claude Code with prompts that instruct it to make meaningful progress on a task and leave notes for the next iteration. Each iteration creates a branch, commits changes, pushes them, opens a pull request, monitors CI checks, and either merges on success or discards on failure. The tool integrates with GitHub's existing workflows, respecting code owner approvals and required checks.
A shared markdown file stores progress and context, ensuring knowledge persists across runs. Humans still decide the overall goal and can review pull requests before merging, especially when automatic merging is not desired. The tool can run on a schedule or through triggers, fitting into continuous integration practices.
Documented behavior includes independent execution of multi-step workflows, including creating pull requests and merging without human intervention, though humans set the initial goal.
Where it fits
- Increase unit test coverage from 0% to over 80% by iteratively adding tests and tracking progress.
- Automatically fix failing tests by analyzing failures and updating code in small steps.
- Refactor large codebases incrementally while maintaining passing CI checks.
- Add missing documentation or comments across many files through repeated runs.
Good fit
- Running Claude Code in repeated iterations on a long multi-step task without losing progress between runs
- Automating branch, pull request, CI check, and merge steps through the GitHub pull request workflow
- Grinding up codebase test coverage incrementally by having each run pick one low-coverage area
- Scheduled or trigger-based development work where each run keeps a small notes handoff file
Not a fit
- Projects that require code owner approval or specific CI checks will be subject to those repo constraints rather than bypassing them
- Repositories where wasting discarded work from failed iterations is unacceptable, since a failed run closes its PR and throws the work away
- Very large goals expected to finish in a single iteration, since the loop only asks for meaningful progress on one thing per run
How to evaluate
- Confirm your repository can tolerate the loop's merge-on-success and discard-on-failure pull request behavior
- Check whether your repo's required approvals or CI checks will block or delay the automated merges
- Decide how much you trust the shared markdown notes file as the memory between iterations, since context continuity depends on keeping it clean
- Verify your environment supports GitHub CLI and the surrounding tooling the script relies on
- Estimate acceptable token and compute cost for a wasteful-but-effective loop, including work discarded on failed iterations
Our take
Continuous Claude is a script-driven approach that runs Claude Code over and over against a target goal, carrying progress forward through a small markdown notes file and handling branches, pull requests, checks, and merges through standard GitHub workflows. It was built for a large test-coverage push but is framed generally as a way to keep multi-step projects moving, even unattended. The tradeoff is deliberate waste: failed iterations close their pull requests and their work is dropped, and merges still obey repo rules such as code owner approval. It suits teams that value steady overall direction over the output of any single run and that can absorb the token and compute cost of retries.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| oh-my-claudecode | — | Supervised | Software developers using Claude Code, Engineering team leads, Code reviewers and security reviewers, UI and UX designers working in code, Data scientists, Technical writers and documentation specialists |
| happy | — | Supervised | Software developers, Engineering teams, Pair-programming collaborators, Developers who work across desk and mobile |
| plandex | — | Supervised | Software developers, Engineering teams on large codebases, Developers reviewing AI-generated changes, Teams exploring multiple models, Self-hosting developers |
| MiMo-Code | — | Supervised | Software developers, Engineers working in terminals, Developers managing Git repositories, Teams using multiple LLM providers |
| superplane | — | Supervised | Software engineers, Engineering managers, Platform and infrastructure engineers, DevOps and release engineers, Open source maintainers |
| ralph-claude-code | — | Supervised | Software developers, Engineering teams using Claude Code, Automation and DevOps engineers, Maintainers working from task lists or PRDs |
FAQ
- What does continuous-claude actually do on each iteration?
- Each loop creates a new branch, runs Claude Code to produce a commit, pushes and opens a pull request, watches CI checks and reviews, then merges on success or closes and discards on failure before pulling main and repeating.
- Does it lose progress if a run fails?
- Some progress can be lost, because a failed iteration closes its pull request and discards that work. The next attempt can learn from the failure and try a different approach.
- How does it remember context between runs?
- A shared markdown file acts as external memory, where Claude records what it did and what should happen next. The loop is prompted to make meaningful progress on one thing per run and leave clear notes for the next iteration.
- Does it bypass my repository's review rules?
- No. Because it uses GitHub's existing workflows, required code owner approval and specific CI checks are respected.
- What can it be used for besides tests?
- It is described as an automated workflow for multi-step projects generally, with the original motivation being raising test coverage on a large codebase and the loop also suited to scheduled or triggered development work.
- What are the tradeoffs of running it continuously?
- The approach is described as wasteful but effective: discarded work on failed iterations consumes resources, and the value comes from movement in the right general direction rather than any single run.
- What does it require to operate?
- It relies on Claude Code, a Bash script acting as conductor, and GitHub's CLI for creating pull requests and checking CI status, plus a repository that fits standard pull request workflows.
- Is pricing described?
- The supplied source does not state any pricing, plans, or free trial information, so cost implications would need to be checked against the tool's own documentation.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/continuous-claude"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.