GitHub PR Review (cron)

Set up a scheduled GitHub pull-request reviewer that checks a repository on a cron schedule, leaves real review comments on open PRs, and needs no public webhook endpoint, bot app, or inbound network exposure.

Hermes Intermediate Copied: 0
1 resource

Requirements

  • Authenticate gh on the Hermes host.
  • Terminal tool (for gh).
  • Custom review skill (quality depends on this).
  • Messaging gateway (for digest delivery).
  • Cron.

How to use

No webhook, no public endpoint, no inbound network exposure at all.

Swap --deliver local for --deliver telegram or --deliver discord to also get a digest.

Frequency trade-off: every 30 minutes means faster feedback but more repeated diff-reads. Nightly is cheapest.

Cron sessions are fresh — the agent has no memory of previous reviews. If you want continuity (e.g., 'I already commented on this line'), encode that in the review skill as a rule to check existing comments first.

  1. Complete GitHub CLI authentication on the Hermes host.
   gh auth login                    # needs repo scope
   gh auth status                   # verify

  1. Create a review skill that encodes your standards. Drop it in ~/.hermes/skills/pr-review/.
   ~/.hermes/skills/pr-review/
     SKILL.md          # review criteria, style rules, what to flag

  1. Start the gateway so cron runs unattended.
   hermes gateway install

  1. Create the cron job.
   hermes cron create "*/30 * * * *" \
     "Review open PRs on YOUR_ORG/YOUR_REPO opened or updated in the last
      30 minutes. For each one: gh pr diff <num>, evaluate against the
      pr-review skill, then post a review comment with gh pr review.
      If nothing new, respond [SILENT]." \
     --skills pr-review \
     --name "PR review (cron)" \
     --deliver local

Prompts.

A lighter daily variant that only summarizes instead of auto-commenting.

hermes cron create "0 9 * * *" \
  "Daily PR digest for YOUR_ORG/YOUR_REPO. List PRs opened yesterday,
   their titles, authors, and a one-line assessment (ready to merge /
   needs changes / wip). Post to home channel." \
  --name "Daily PR digest" \
  --deliver telegram

Source: aliaihub/awesome-hermes-usecases and its contributors. License: CC-BY-4.0. Source license notice.

Translation and editorial adaptation by ClawCases.

>Resources

>Related Use Cases

>More at this level: Intermediate