mockserver-monorepo: Skill for OpenCode

.opencode/skills/pr-monitor/SKILL.md

pr-monitor is a skill for OpenCode from mock-server/mockserver-monorepo. It costs 69 tokens per session (1,231 once invoked), scanned A, original, Apache-2.0.

A workflow for watching Dependabot and Snyk dependency-update pull requests, which propose changes to third-party packages used by a project.

In plain words
What is it for?
Use it to monitor dependency pull requests, check build status and Java compatibility, and merge passing updates when the repository and GitHub access are ready.
Why use it?
It shows whether builds and compatibility checks pass so eligible updates can be merged automatically.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is mock-server/mockserver-monorepo's own configuration. It tells OpenCode how to work on mockserver-monorepo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mockserver-monorepo configures →

About the project

MockServer is a testing server and proxy that imitates APIs, records and changes network traffic, and deliberately introduces failures. It is for developers testing applications against unavailable dependencies, debugging requests, and checking how systems handle degraded services across several network protocols. The catalogue add-ons help operate, configure, and test MockServer.

mock-server/mockserver-monorepo · 4,969 stars · on GitHub · mock-server.com

Reuse

Borrowing it

Nothing to install: this file belongs to mock-server/mockserver-monorepo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mock-server/mockserver-monorepo/master/.opencode/skills/pr-monitor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mock-server/mockserver-monorepo

Made for: OpenCode.

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 pr-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/pr-monitor/github.svg)](https://agentmods.dev/skills/mock-server/mockserver-monorepo/pr-monitor)
Your own site
<a href="https://agentmods.dev/skills/mock-server/mockserver-monorepo/pr-monitor"><img src="https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/pr-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 pr-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/mock-server/mockserver-monorepo/pr-monitor"><img src="https://agentmods.dev/badge/skills/mock-server/mockserver-monorepo/pr-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00069 $0.01231
Opus 5 $0.00034 $0.00616
Sonnet 5 $0.00014 $0.00246
Haiku 4.5 $0.00007 $0.00123

Measured 12d ago against content hash 5413b73445c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pr-monitor scanned grade A with 0 findings 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (pr-monitor.sh), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.opencode/skills/pr-monitor/SKILL.md · 168 lines

How it starts

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

PR Monitor & Auto-Merge Skill

Purpose

Monitors Dependabot and Snyk dependency upgrade PRs, automatically merging them when builds pass. Handles javax/jakarta compatibility validation and provides detailed status reporting.

When to Use

  • After creating/updating dependency upgrade PRs
  • When dependency PRs are failing and you've pushed fixes
  • When user says "monitor PRs", "watch builds", "merge when passing"
  • After fixing build issues for Dependabot/Snyk PRs

Prerequisites

  • Repository must be a git repository with GitHub remote
  • gh CLI must be authenticated
  • PRs must exist on GitHub
  • Working directory must be the repository root

Workflow

1. Identify PRs to Monitor

Get PRs from today or specific PR numbers:

# Get all PRs from today
gh pr list --json number,title,createdAt,author --jq '.[] | select(.createdAt | startswith("'$(date +%Y-%m-%d)'"))'

# Or use specific PR numbers provided by user

2. Check Current Status

For each PR, check:

  • Build status (Buildkite, GitHub Actions)
  • Java compatibility (if dependency upgrade)
  • PR state (open, closed, merged)

Use the bundled pr-monitor.sh script (see Tool Usage below).

3. Handle Different States

PASSING builds:

  • Merge immediately with gh pr merge <number> --squash --auto
  • Report success to user

PENDING builds:

  • Continue monitoring
  • Report current status

FAILING builds:

  • Check if failure is due to Java version incompatibility
  • Report failure details to user
  • Do NOT merge

CLOSED/MERGED:

  • Skip and report status
  • Remove from monitoring list

4. Monitor Loop

Poll every 2 minutes (120 seconds) for up to 2 hours:

  • Check status of all pending PRs
  • Merge any that have passed
  • Report status changes
  • Exit when all PRs are merged or closed

Tool Usage

Use the bundled pr-monitor.sh script:

.opencode/skills/pr-monitor/pr-monitor.sh <pr_numbers_or_'today'>

Examples:

# Monitor all PRs from today
.opencode/skills/pr-monitor/pr-monitor.sh today

# Monitor specific PRs
.opencode/skills/pr-monitor/pr-monitor.sh 2001 2005 2006

# One-time check (no loop)
.opencode/skills/pr-monitor/pr-monitor.sh --check-once 2001

Read the full file on GitHub · 168 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 168 lines · 69 tokens per session scan A 5413b73445c6

Subscribe to this mod's changes

pr-monitor is a skill published in the GitHub repository mock-server/mockserver-monorepo (4,969 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 1,231 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.