two-node-origin-pr-helper

two-node-origin-pr-helper is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 34 tokens per session (1,143 once invoked), scanned A, original, Apache-2.0.

A focused reviewer for OpenShift pull requests that add or change Two Node tests, which test clusters using two nodes with fencing or arbiter behavior.

In plain words
What is it for?
Use it to review changed Ginkgo tests, check reuse of Origin and Kubernetes helpers, and prepare pull request description text and CI guidance.
Why use it?
It helps catch weak test logic, cleanup problems, flaky behavior, incorrect tagging, and missing CI coverage before review.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to review changed Ginkgo tests, check reuse of Origin and Kubernetes helpers, and prepare pull request description text and CI guidance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/two-node-origin-pr-helper
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 two-node-origin-pr-helper

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/two-node-origin-pr-helper.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/two-node-origin-pr-helper)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/two-node-origin-pr-helper"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/two-node-origin-pr-helper.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,143 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.
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.00034 $0.01143
Opus 5 $0.00017 $0.00571
Sonnet 5 $0.00007 $0.00229
Haiku 4.5 $0.00003 $0.00114

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

Security

Grade A, and why

two-node-origin-pr-helper 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 4d 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.

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.

extensions/origin/commands/two-node-origin-pr-helper.md · 175 lines

How it starts

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

Name

/origin:two-node-origin-pr-helper — Review Two Node (Fencing/Arbiter) tests in openshift/origin.

Synopsis

/origin:two-node-origin-pr-helper [--url PR_URL] [<pr>] [--depth quick|full]

Description

The /origin:two-node-origin-pr-helper command is an expert review tool for PRs that add or modify Two Node (Fencing or Arbiter) tests under test/extended/two_node/ in openshift/origin.

It:

  • Discovers changed Two Node test files from the current branch.
  • Analyzes Ginkgo Describe / Context / It blocks, suite tags, and [Serial] markers.
  • Reviews test logic, structure, cleanup, and determinism.
  • Suggests reuse of existing Origin and Kubernetes helpers instead of ad-hoc code.
  • Recommends suite + [Serial] tagging and CI coverage.
  • Generates ready-to-paste PR description text for the Origin PR.
  • Suggests CI lane characteristics for openshift/release (without generating full PR text).

Use this command when creating or reviewing Origin PRs that touch the Two Node test suite and you want a focused, reproducible review of test design, helper usage, and CI integration.

This is a specialized Origin review helper focused on Two Node tests and is intended as a building block toward a future generic Origin review command.

Implementation

The command should behave as follows.

1. Argument handling

Parse arguments from the invocation:

  • --url:

  • (optional positional):

    • Optional PR number (example: 30510)
  • --depth:

    • quick: short, high-level summary
    • full: detailed four-section output (default)

Default behavior:

  • If --url is provided, use that PR.
  • Else if is provided, use that PR in the current repo.
  • Else infer the PR from the current git repository remote and branch name.
  • Fail with a clear error message if the PR cannot be determined.

2. Automatically discover relevant changes

Read the full file on GitHub · 175 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. 4d ago First seen · 175 lines · 34 tokens per session scan A d4ab8609e434

Subscribe to this mod's changes

two-node-origin-pr-helper is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 1,143 once invoked, about $0.0002 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-09-03.