RPent: Skill for Claude Code

.agents/skills/review-pr/SKILL.md

review-pr is a skill for Claude Code, Codex from RLinf/RPent. It costs 44 tokens per session (1,468 once invoked), scanned A, original, Apache-2.0.

A pull-request review guide for the RPent project. A pull request is a proposed set of code changes for review; this guide explains how to inspect its exact changes, history, tests, documentation, and compatibility with the current main branch.

In plain words
What is it for?
Use it to review a GitHub pull request, review revisions, or inspect a selected local Git diff and produce precise review comments.
Why use it?
It prevents reviews based on the wrong branch, an outdated version, or an incomplete diff. It also focuses comments on real correctness and maintenance problems rather than a fixed checklist.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is RLinf/RPent's own configuration. It tells Claude Code and Codex how to work on RPent 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 RPent configures →

About the project

RPent is an open framework for building embodied agents, software systems that perceive and act in the physical world while combining reasoning, memory, execution, and adaptation. It is intended for embodied-intelligence researchers working on physical tasks and related evaluations.

RLinf/RPent · 1,640 stars · on GitHub · rpent.readthedocs.io

Reuse

Borrowing it

Nothing to install: this file belongs to RLinf/RPent. 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/RLinf/RPent/main/.agents/skills/review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/RLinf/RPent

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rlinf/rpent/review-pr"><img src="https://agentmods.dev/badge/skills/rlinf/rpent/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 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.00044 $0.01468
Opus 5.5 $0.00018 $0.00587
Sonnet 5.5 $0.00009 $0.00294
Haiku 4.5 $0.00004 $0.00147

Measured 18d ago against content hash 2f4cf21efd7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-pr 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 18d 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.

.agents/skills/review-pr/SKILL.md · 122 lines

How it starts

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

Review an RPent change

Use AGENTS.md and CONTRIBUTING.md as repository guidance. Prioritize correctness and real maintenance costs. Adapt the review to the change; the guidance below is not an exhaustive checklist or a quota of findings.

1. Establish scope and versions

  • For a PR, use available GitHub tools or Git to read its description, live base repository/branch/SHA, exact head SHA, diff, checks, and review threads. Fetch those refs and the latest RLinf/RPent main. Verify remote URLs; origin may be a contributor's fork.
  • Use the verified base/head merge base to identify the PR's changes. Read full files and consumers at the head, then compare affected interfaces with current upstream main. Keep PR scope separate from later main refactors.
  • Do not use an unrelated checkout or uncommitted work as upstream evidence. Use git show <ref>:<path>, git diff, and git log, or equivalent GitHub reads. If a ref is inaccessible, state the missing evidence.
  • For local review, establish the requested staged, unstaged, or branch diff and its baseline. Identify that snapshot explicitly in the report.

2. Understand the change

Identify the problem, previous behavior, proposed behavior, main implementation choices, and affected entry points. Trace configuration and registration through the actual callers; verify the PR description against the code.

For RPent, inspect relevant paths across planner/session, prompt/tool schema, toolkit, Env/VLA RPC, and CLI/Dashboard runtime. Identify the affected callers and the prompts, tool results, and observations the model receives.

3. Review correctness and project fit

Choose the depth of review from the affected contracts and plausible failure modes. Follow relevant callers beyond the diff where needed. Keep findings attributable to the change; identify pre-existing problems separately when they materially affect the review.

  • Correctness and lifecycle: verify intended behavior, defaults, state transitions, and error handling through the affected entry points. For concurrent or resource-owning code, inspect cancellation, partial startup, cleanup, and ownership of services and artifacts. Check that constraints hold at the operation that executes them, including alternate callers.
  • Design and current-main integration: compare with the nearest current implementation and shared helpers, registration, configuration, and optional imports. Assess abstractions, compatibility paths, and validation against actual consumers and supported data. Propose simplifications with concrete evidence while preserving required behavior. Explain any mismatch with a main refactor; being behind main or mergeable alone is not evidence of one.
  • Module boundaries: check new files and changes to existing classes, methods, and helpers. Trace callers and imports to identify the module that owns the behavior. A placement finding needs a project convention or a comparable implementation, the coupling or maintenance cost, and a suggested location.
  • Shared classes and interfaces: identify the shared behavior being added and its callers. Check the effect on other subclasses and backends, including those that do not use the feature. Look for backend-specific policy, imports from higher layers, or unrelated state added to common components. Consider existing extension points and direct calls before adding another abstraction. A small feature can require a shared change. Recommend a split only when it clarifies responsibility or reduces coupling.
  • Contract changes: check whether existing flags, parameters, or methods gain new guarantees or restrictions. Trace their callers even when names, types, and defaults are unchanged. If one flag controls multiple behaviors, verify that each caller satisfies all of them, and check the matching tests and documentation.
  • Documentation and model inputs: when public behavior or prose changes, use docs-check to verify accuracy, useful explanation, and natural, consistent language. For prompt or tool changes, inspect the rendered instructions, schemas, results, and affected planner modes; judge omissions, conflicts, and repetition by their effect on the model's task.
  • Tests and evidence: check that coverage exercises the changed contract and would detect the intended regression through the relevant entry path. Assess whether added cases provide useful coverage and whether existing tests can be extended. Follow AGENTS.md for test design and style; avoid speculative nits or issues already resolved by passing gates.

Read the full file on GitHub · 122 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. 18d ago Changed · +18 lines 2f4cf21efd7e
  2. 1mo ago First seen · 104 lines · 44 tokens per session scan A 6b2dac776e77

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository RLinf/RPent (1,640 stars, last pushed 3d ago), licensed Apache-2.0. It adds 44 tokens to every session and 1,468 once invoked, about $0.0002 per session on Opus 5.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-17.