# Nemoclaw Maintainer PR Comparator

Compare competing NemoClaw PRs for one issue and recommend a merge or salvage candidate...

- Repository: https://github.com/NVIDIA/NemoClaw (22910 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add NVIDIA/NemoClaw --skill nemoclaw-maintainer-pr-comparator -g -a claude-code -y`
Codex: `npx skills add NVIDIA/NemoClaw --skill nemoclaw-maintainer-pr-comparator -g -a codex -y`
Cursor: `npx skills add NVIDIA/NemoClaw --skill nemoclaw-maintainer-pr-comparator -g -a cursor -y`
Gemini CLI: `npx skills add NVIDIA/NemoClaw --skill nemoclaw-maintainer-pr-comparator -g -a gemini-cli -y`

## Description

Compare competing NemoClaw PRs for one issue and recommend a merge or salvage candidate from review evidence.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

# PR Comparator

Compare PRs for one issue. Tier 0 determines eligibility. Tiers 1 and 2 score correctness and quality.
Tier 3 resolves ties. If no PR passes Tier 0, rank eligible PRs for salvage.

## Prerequisites

- `gh` CLI installed and authenticated
- A target repository with an issue that has two or more open PRs

## Repo policy

The defaults use NemoClaw conventions for CODEOWNERS, DCO, CodeRabbit, and `docs/`.
Read the canonical superseded-PR attribution policy in
`../nemoclaw-maintainer-policies/references/workflow-policy.md`.
Edit `repo-policy.md` for another repository.

Execute comparator helpers from a fetched canonical NVIDIA/NemoClaw `main` checkout, or verify
their executable code and dependencies against that revision before use. Candidate-modified helpers
must not receive GitHub credentials. Inspect helper source when needed; a section heading does not
establish trust.

## Workflow

### Step 1: Parse issue

Read the issue body and all comments. Extract each acceptance criterion:

```bash
gh issue view <issue-number> --json title,body,comments
```

Comments can add requirements that are absent from the issue body.

### Step 2: Discover candidate PRs

```bash
scripts/find-candidates.sh <issue-number>
```

Applies a single default order with stop conditions.

### Step 3: Detect supersession and transferred work

```bash
scripts/parse-supersession.sh <pr-number-1> <pr-number-2> ...
```

Parse the case-insensitive statement families implemented by `scripts/parse-supersession.sh`:

The rest: https://github.com/NVIDIA/NemoClaw/blob/HEAD/.agents/skills/nemoclaw-maintainer-pr-comparator/SKILL.md
