In this video Mitch builds a stale pull request digest for GitHub from one Claude chat with the qbash MCP turned on. He first asks Claude which PRs in his billing-service repo are stuck. Claude then turns that answer into a qbash Task called PR digest, which runs every weekday at 9am New York time. The Task lists PRs with no commit, review or comment for over a business day and says what each one is waiting on. It also totals the reviews owed per person and comments on each stale PR with who should review it.
What's covered
- Why PRs get stuck, and the one-business-day rule the Task uses
- Asking Claude which PRs are stuck
- Turning the answer into a Task with a weekday schedule
- The Task page, its run logs and versions
- Running it now, and the comments it posts on GitHub
Why PRs get stuck
The video opens with what developers say on Reddit. A developer on r/ExperiencedDevs writes "We often have to ask 5+ times to get reviews." On r/github, another says "In most teams I've worked in, the same 2-3 people end up doing 80% of the reviews." One commenter's team has had this rule in place for ten years: "PRs must be reviewed within the next business day." The PR digest uses the same rule and flags open PRs with no commit, review or comment for over one business day.
Ask Claude which PRs are stuck
In a new Claude chat with the qbash MCP turned on, Mitch asks:
Which open PRs in my billing-service repo on GitHub are stuck, and what is each one waiting on? Go by each PR's latest commit, review or comment, and use qbash.
His GitHub account is connected to qbash, and qbash connects Claude to GitHub. Claude lists the open PRs, then reads each one's reviews, checks and comments. It groups them by what they are waiting on: a reviewer, the author responding to a review, or the author fixing a failing test. For example, #2 Retry webhook downstream calls with backoff has a ci/test check that reports 4 passed and 1 failed on its Nov 2 commit.
Turn it into a Task
To get the same answer every weekday morning without asking, Mitch has Claude turn it into a qbash Task. A Task is an AI cloud function written in Python that qbash hosts on secure cloud infrastructure. This is the request typed in the video:
Turn this into a qbash Task called PR digest. Every weekday at 9am New York time, it lists open PRs in billing-service whose latest commit, review or comment is more than one business day old, and says what each one is waiting on: a first review, a fix for a failing check, or the author after review comments. Skip drafts. Use CODEOWNERS to total the reviews owed per person. On each PR past the limit, post a comment with how long it has waited and who should review it, with no @mentions.
Claude hands the request to the qbash Task builder through the MCP's build_task tool. The builder asks one question, about which account to use. Then it tries a connector call, writes the script, sets the schedule and saves the settings.
The Task and its schedule
In qbash, the PR digest page describes the Task as a "Weekday 9am ET digest of stuck PRs in mitch-aisle/billing-service: what each is waiting on, reviews owed per person from CODEOWNERS, and a nudge comment on each stuck PR." The Flow view starts with a Schedule trigger set to 0 9 * * 1-5. After it come the GitHub steps, among them List pull requests, List pr reviews, Get commit status, List check runs and Comment on issue. The Code tab holds the Python, and every save creates a new version under Versions.
Every run is saved under Logs. The run shown in the video passed in 27 seconds over 63 steps. Its output lists six stuck PRs, the open PRs that are not stuck, and a posted comment for each stuck PR. Below the output, the execution steps list each GitHub call, and step 3 logs "CODEOWNERS read from .github/CODEOWNERS".
Run it now
Instead of waiting for the next morning, Mitch types "Run it now and post the comments." Claude runs the Task with the MCP's run_task tool and reports that the run finished and posted comments on six PRs. The digest lists each stale PR with what it is waiting on, how many business days it has waited and its reviewer:
| PR | Waiting on | Business days | Reviewer |
|---|---|---|---|
| #1 Mid-cycle proration (Maya) | first review | 6 | no code owner |
| #3 EU VAT invoices (Lena) | first review | 4 | Maya |
| #2 Webhook retry (Dev) | fix for a failing check | 3 | Maya |
| #9 Secret rotation docs (Sam) | first review | 3 | no code owner |
| #4 Stripe bump (Jonas) | first review | 2 | Maya |
| #8 Customer repository (Dev) | fix for a failing check | 2 | Maya |
Maya is the code owner on four of the six stuck PRs. Claude adds that she owes two reviews, on #3 and #4. #2 and #8 are waiting on Dev to fix his tests, so they don't count toward reviews owed. Claude also notes that since the first answer, #5 and #10 are no longer flagged, because review comments that morning count as their latest activity.
On GitHub, PR #3 now has the Task's comment:
PR digest: this pull request has waited 4 business days (6 calendar days) since its last activity on 2026-10-30 (New York time).
Waiting on: first review.
Who should review: Maya Lindqvist.
The GitHub MCP server and Python SDK page lists what Claude and a Task can do with GitHub. Official MCP server has the setup steps for Claude and other MCP clients, and Distribution covers schedules. For another Task that reads GitHub, see Summarize new Github commits for team members.