Monitor open GitHub pull requests with a self-healing agent
An OpenClaw agent watches 26+ pull requests across several repos, with a cron scanner every 5 minutes and alerts pushed to the author; it caught one of its own critical bugs.
Done withOpenClaw
- What they did
- A Python script using the gh CLI runs from cron every 5 minutes. It compares each tracked PR with a saved JSON snapshot and writes important changes to a pending-alerts file. A separate watchdog script runs every 30 minutes. The OpenClaw agent wakes on a heartbeat, runs the watchdog, and pushes undelivered alerts through Feishu.
- How it went
- It tracks 26 PRs: 1 merged, 1 closed, 24 open. The watchdog exposed an older v2 script that had crashed on its first run and never worked in 18 days.
- Worth knowing
- Alerts sit in a flat JSON file, so if the agent misses a heartbeat they can be lost. The author would use a queue and webhooks instead.
Try it yourself with OpenClaw
Watch my open GitHub pull requests across these repos: [repo list]. Every 5 minutes check for new review comments, failing CI checks, merge conflicts, or merges, and message me on [Telegram/other chat] only when something needs my attention, with a link and one line on what changed. Do not push commits, comment, or merge anything without showing me first.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
1 more account of this
Source: dev.to · Undated
Related use cases
Manage 18 agents from a Notion workspace
Notion used as the control plane for a fleet of 18 OpenClaw agents.
Triage failed GitHub Actions runs and self-heal flaky tests
A QA engineer's OpenClaw agent reads failed CI logs, classifies failures, posts analysis to GitHub and Slack and opens issues; flakiness fell from 8% to 0.8%, though it once wrongly altered an assertion.
Build and maintain a local ops dashboard with agents
A solo business owner had OpenClaw agents build and iterate on a local mission-control dashboard with Kanban, approvals, cron and social scheduling, replacing Asana; open-ended overnight runs burned tokens.
Submitted by @jennabrinning
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.
Build custom real estate tools for offers and deal tracking
A rental owner used Codex to build tools for formulating offer prices, building property analysis reports with field photos, and tracking transactions under contract.
Use Claude Code as co-developer with AGENTS.md and logging
The author uses Claude Code for planning, coding, testing, and debugging, with AGENTS.md and numerical logging to improve accuracy and context handling.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.