github-repo-monitor

github-repo-monitor is a skill for Claude Code, Codex from OpenHands/extensions. It costs 108 tokens per session (3,900 once invoked), scanned A, original, MIT.

A scheduled monitor for one GitHub repository, where GitHub is a service for hosting code and tracking issues and pull requests. It looks for comments containing a chosen trigger phrase and starts or updates an OpenHands conversation.

In plain words
What is it for?
Use it to watch one repository for trigger comments, send those requests to a local OpenHands setup, and report the agent’s response as a GitHub comment.
Why use it?
It removes the need to repeatedly check a repository for requests or copy issue and pull-request context into OpenHands. It also posts acknowledgements and results back to GitHub.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to watch one repository for trigger comments, send those requests to a local OpenHands setup, and report the agent’s response as a GitHub comment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openhands/extensions/github-repo-monitor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenHands/extensions --skill github-repo-monitor
Clone the repo
git clone --depth 1 https://github.com/OpenHands/extensions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-repo-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/openhands/extensions/github-repo-monitor/github.svg)](https://agentmods.dev/skills/openhands/extensions/github-repo-monitor)
Your own site
<a href="https://agentmods.dev/skills/openhands/extensions/github-repo-monitor"><img src="https://agentmods.dev/badge/skills/openhands/extensions/github-repo-monitor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-repo-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/openhands/extensions/github-repo-monitor"><img src="https://agentmods.dev/badge/skills/openhands/extensions/github-repo-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,900 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 213
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • high Supply Chain · line 226
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium Data Exfiltration · line 54
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 95
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 213
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 226
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • low Supply Chain · line 54
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • low Supply Chain · line 95
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.03900
Opus 5.5 $0.00043 $0.01560
Sonnet 5.5 $0.00022 $0.00780
Haiku 4.5 $0.00011 $0.00390

Measured 1mo ago against content hash 3bcf0211e2b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-repo-monitor scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/github_client.py, scripts/main.py, tests/test_main.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://api.github.com/user \
skills/github-repo-monitor/SKILL.md · 368 lines

How it starts

The opening of the file, as written. The whole thing — 368 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Repository Monitor

Create a cron automation that polls a single GitHub repository on a configurable schedule (default: every minute). Windows PowerShell equivalents for the setup, packaging, upload, and API-check shell snippets are in references/windows.md.

When a comment on an issue or PR contains the trigger phrase (default: @OpenHands), and its author is allowed to trigger work, it:

  1. Posts a GitHub comment acknowledging the request with a conversation link.
  2. Creates an OpenHands conversation pre-loaded with the issue/PR title, body, labels, and recent comment history for full context.
  3. Lets the agent answer the request, and - when asked to change something and WORK_MODE is implement - do the work on a branch, push it, and update an existing pull request instead of opening a second one.
  4. Posts a summary GitHub comment when the conversation finishes.

Authorization comes before work. With AUTHORIZATION = "repo_write" (the default) the script asks GitHub for the commenter's permission on the repository and acts only when it is admin, maintain, or write; a trigger phrase on a public repository therefore spends nobody's tokens.

On every subsequent run:

  • New trigger comments on an already-tracked issue/PR are forwarded to the running conversation (or re-open a previously closed one).
  • When a conversation goes idle/finished/error the agent's final response is posted back as a GitHub comment.

Local mode only. This automation targets the local OpenHands setup (dev:automation stack). A cloud/webhook variant is out of scope here.


The script imports shared GitHub transport from scripts/github_client.py, installed with this skill. Include it beside main.py when packaging manually, as shown below.

Prerequisites

Required secret

Verify that the following secret is set in OpenHands Settings → Secrets before proceeding:

Secret name Token type Minimum permissions
GITHUB_PERSONAL_ACCESS_TOKEN Classic PAT repo (private repos) or public_repo (public repos); add workflow if WORK_MODE is implement and the repository has workflows
GITHUB_PERSONAL_ACCESS_TOKEN Fine-grained PAT Issues: Read and Write; Contents: Read and Write and Pull requests: Read and Write when WORK_MODE is implement; Metadata: Read for the permission check

Read the full file on GitHub · 368 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -280 lines fe972672e3e7
  2. 1mo ago Changed · +44 lines 3bcf0211e2b4
  3. 2mo ago Changed · +6 lines 8a51a228f4a3
  4. 3mo ago First seen · 318 lines · 108 tokens per session scan A db976a373cd4

Subscribe to this mod's changes

github-repo-monitor is a skill published in the GitHub repository OpenHands/extensions (190 stars, last pushed today), licensed MIT. It adds 108 tokens to every session and 3,900 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

github-repo-monitor compared with skills from other repositories

github-repo-monitor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-repo-monitorOpenHands/extensionsSkill190todayMITA108Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill91k2d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.7ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
codex-autoresearchleo-lilinxiao/codex-autoresearchSkill3.3k12d agoMITA39Codex