Monitor tasks and open pull requests with long-running agents
A commenter runs a persistent script that watches tasks and uses Cursor to open pull requests, building a documentation summarizer and a data pipeline. ·
Done withCursor
- What they did
- In a comment, the team said they run a Claude Code server on a VPS using the Caliber AI setup repo. That setup generates MCP configs and agent skills for their codebase and Cursor, they sync the environment with one command, and then a persistent script watches tasks and has Cursor open pull requests; the examples they named were a documentation summarizer and a data pipeline.
- How it went
- They said this workflow was used to build a few internal tools, specifically those two examples. The comment gives no metrics, timeline, or detail on review, so the results are described only at a high level.
- Worth knowing
- The main implementation catch they mention is infrastructure: a VPS-hosted Claude Code server, generated MCP configs and skills, and a one-command environment sync.
Try it yourself with Cursor
In my repo [repo name], read the open tasks in [issue tracker or task file] and for the one I pick, make the code change on a new branch, run the tests, and open a pull request with a clear description. Start by listing the tasks you could handle and wait for my choice, and do not merge anything. Finish when the pull request is open and tests pass.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Jan 1, 2025
Related use cases
Keep coding agents running autonomously for long stretches
Cursor's write-up on scaling long-running autonomous coding.
Upgrade site dependencies and frameworks with Cursor
Kent C. Dodds had Cursor's agent look up migration docs, plan and upgrade Remix v2 to React Router v7 and xstate in his site.
Turn Sentry bug reports into fix pull requests
Sentry's Seer passes root cause analysis and issue context to a Cursor Cloud Agent, which writes the fix and opens a pull request in the user's repo.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Route Linear tickets to PRs across multiple repos
A developer sends tasks via Telegram/OpenClaw into Linear, where Cyrus routes each to the right repo and model and opens PRs for review.
Run a Claude Code refactor unattended
A Claude Code agent ran 40 minutes unattended on a refactor; it worked and tests passed, but the user couldn't tell what it did in between.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.