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.
git clone --depth 1 https://github.com/openshift-eng/ai-helpersWrote 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.
[](https://agentmods.dev/commands/openshift-eng/ai-helpers/sync-pr-dashboard)<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/sync-pr-dashboard"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/sync-pr-dashboard.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.01905 |
| Opus 5 | $0.00014 | $0.00953 |
| Sonnet 5 | $0.00006 | $0.00381 |
| Haiku 4.5 | $0.00003 | $0.00191 |
Grade A, and why
sync-pr-dashboard 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 2d ago.
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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
r = subprocess.run(['gh','pr','view',str(number),'-R',repo,'--json','state,mergedAt','-q','.state + \" \" + .mergedAt'], capture_output=True, text=True) How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Name
nid-team:sync-pr-dashboard
Synopsis
/nid-team:sync-pr-dashboard
Description
Syncs the NI&D PR Review GitHub Project board (https://github.com/orgs/openshift/projects/28). Runs a script for deterministic operations, then uses AI to classify ambiguous PR areas.
Prerequisites
- GitHub CLI (
gh) authenticated withread:projectandprojectscopes acli(Jira CLI) installed and authenticated with access to OCPBUGS project- Access to the openshift org
Implementation
Step 1: Run the sync script
Run ~/.claude/commands/sync-pr-dashboard.sh (or plugins/nid-team/scripts/pr-dashboard/sync-dashboard.sh).
This handles:
- PR Author — Populates blank "PR Author" fields with display names
- Reviewer Sync — When Primary or Secondary Reviewer is set, comments
/assign @useron the PR if not already assigned - Shared Repo PRs — Adds team-authored PRs from shared repos (defined in
config.sh) - Area (deterministic) — Sets Area for repos with obvious mappings (defined in
REPO_TO_AREAinconfig.sh)
Step 2: Classify ambiguous PR areas with AI
After the script completes, run the helper script to get structured data on unclassified items:
~/.claude/commands/list-unclassified-areas.sh
This outputs each unclassified item with its item ID, repo, PR number, title, URL, and changed files.
For each item in the output, classify into one of these areas based on the title and changed files:
| Area | Option ID | Signals |
|---|---|---|
| GWAPI | 196a759b |
Files in pkg/operator/controller/gateway*, pkg/operator/controller/gatewayclass*, title mentions gateway/istio/sail/GWAPI/noOLM, api changes to gateway fields |
| Router | 667048b1 |
Files in pkg/operator/controller/ingress*, router template changes, HAProxy config, route-controller-manager, IngressController API changes |
| DNS | c2935ddd |
DNS-related api changes, coredns plugins |
| ExDNS | b02c7810 |
External DNS related changes |
| ALBO | a6184328 |
ALB related changes |
| Misc | 1ec39a5b |
OWNERS file updates, CI/Prow config, AGENTS.md, coderabbit config, repo meta, go bumps that span areas, docs that don't fit another area |
| AI | 9f9c29ab |
ai-helpers plugin PRs, MCP server tooling, Claude Code skills and agents |
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.
- 2d ago First seen · 155 lines · 28 tokens per session scan A 8285f70032d4
sync-pr-dashboard is a command published in the GitHub repository openshift-eng/ai-helpers (116 stars, last pushed 2d ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,905 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.
Other commands, from other repositories
gh-triage
GitHub OSS maintainer lifecycle triage, review, and approval management.
poc
Start a hypothesis-driven POC with hard timebox. Skips 80% of the production pipeline; forces ship/pivot/kill decision at expiry.
rfc
RFC process for cross-team decisions. Create, track, and close RFCs. Accepted RFCs auto-create ADRs.
discover
Run a full product discovery cycle — from outcome definition through opportunity mapping, prioritisation, and experiment design. Use when the team isn't sure what to build next, or before writing a PRD for a complex feature space.
migrate
Migrate existing PROJECT.md to the latest greatcto schema — appends missing fields without touching existing values.
exception
Signed gate-exception registry — replace ad-hoc --admin / --no-verify bypasses with an auditable, signed, expiring record (who · why · gate · scope · expiry). Create / list / check exceptions.