Who it is forA developer with a backlog of small features or fixes who wants them worked on overnight, and who needs every change checked by tests before it reaches main.
The problemRunning claude in a plain loop forgets what it did, cannot split work, and can burn through your usage limits without warning.
The outcomeA sub-agent builds the requested change on its own branch, and the farm puts it on main only after your test command passes.
What you need first
- Docker on a machine or server that stays on
- A Claude subscription to sign in with
- A Git repo you control, with a deploy key if you want the farm to clone and push to it
- Your test command, for example pytest -q
Steps
- Run
curl -fsSL https://raw.githubusercontent.com/matank001/clodfarm/main/scripts/install.sh | shon the machine that will host the farm. - Open the login URL the installer shows, approve it on any device, and paste the code back.
- Set FARM_REPO_URL to your repo and add a deploy key, then set FARM_VERIFY_CMD="pytest -q" in your settings.
- Run
docker exec clodfarm clodfarm spawn "Add CSV export" --prompt "Add CSV export to the report page, with tests.". - Run
docker exec clodfarm clodfarm statusin the morning and check the result on main.
Prompt for your agent
Use the clodfarm repo (github.com/matank001/clodfarm). Start the farm with the install script, set FARM_REPO_URL to <repo-url> and FARM_VERIFY_CMD to "pytest -q", then spawn a task with `docker exec clodfarm clodfarm spawn "<task title>" --prompt "<task description>"`. Report the output of `docker exec clodfarm clodfarm status`, and confirm the change reached main only after tests passed.
Caveat. Clodfarm paces usage on your subscription, but every Claude on the farm still runs on a Claude subscription, so its limits still apply.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for matank001/clodfarm and "Run coding tasks on a repo overnight, merged only if tests pass"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer