marin: Skill for Claude Code

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

review-pr is a skill for Claude Code from marin-community/marin. It costs 20 tokens per session (1,135 once invoked), scanned A, original, Apache-2.0.

A procedure for reviewing a GitHub pull request with multiple agents. A pull request is a proposed set of code changes awaiting review before it is merged.

In plain words
What is it for?
For checking whether a pull request needs review, gathering its comments and relevant project instructions, and carrying out a correctness-focused review when appropriate.
Why use it?
It prevents unnecessary reviews by checking the request's status and prior review history first. It also ensures repository guidance and relevant files are identified before judging the change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(gh pr comment:*), Bash(gh pr diff:*), Bash(gh pr view:*), Bash(gh api:*), Bash(git diff:*), Bash(git merge-base:*), Bash(git rev-parse:*), Bash(git show:*).

About the project

Marin is an open-source research program, software platform, and community for developing foundation models such as large language models. Researchers use it for data preparation, tokenization, pretraining, posttraining, evaluation, and related experiments, including work on audio-text, DNA, and protein models. The catalogue entries are add-ons that support workflows around Marin.

marin-community/marin · 3,548 stars · on GitHub · marin.community

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/marin-community/marin/review-pr/github.svg)](https://agentmods.dev/skills/marin-community/marin/review-pr)
Your own site
<a href="https://agentmods.dev/skills/marin-community/marin/review-pr"><img src="https://agentmods.dev/badge/skills/marin-community/marin/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/marin-community/marin/review-pr"><img src="https://agentmods.dev/badge/skills/marin-community/marin/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,135 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 46
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 103
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00020 $0.01135
Opus 5 $0.00010 $0.00567
Sonnet 5 $0.00004 $0.00227
Haiku 4.5 $0.00002 $0.00113

Measured 5d ago against content hash a5331d3b6ef2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 5d 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 · 115 lines

How it starts

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

Review a pull request

Review the requested pull request at the exact head named by the caller. The review is read-only except for comments posted when --comment is requested.

Review standard

A reviewable Marin pull request:

  • Implements the behavior claimed by its title and description without an introduced correctness, security, state-transition, or error-handling defect.
  • Follows the root and path-scoped AGENTS.md or CLAUDE.md instructions. If tests change, it also follows root TESTING.md and any scoped testing guide.
  • Keeps public interfaces, invariants, dependency direction, configuration, and types coherent across every changed call site. Marin does not preserve backward compatibility unless the request explicitly requires it.
  • Uses tests for behavior rather than implementation details, incidental prose, private state, tautologies, or mocks below an I/O boundary.
  • Keeps abstraction proportional to demonstrated reuse. Flag a maintainability problem only when the change creates a concrete structural obstacle, hidden assumption, or distant coupling that materially constrains nearby work.
  • Keeps documentation synchronized with behavior. The pull-request title and body must follow .agents/skills/writing-style/pull-requests.md; the body is the squash-merge commit message, not a template, file inventory, or test log.

Report only actionable defects introduced by the pull request. Validate every finding against the diff, relevant surrounding code, and applicable instructions. Do not report style preferences, speculative failures, harmless duplication in experiments/grug, or pre-existing problems. If the evidence is uncertain, omit the finding.

Workflow

  1. Inspect the pull request metadata, issue comments, inline comments, and current head. Stop without commenting when the pull request is closed, a draft, an automated dependency update, or too trivial to benefit from code review. Still review agent-generated pull requests.

Read the full file on GitHub · 115 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. 5d ago Changed · -80 lines · +2 tokens per session a5331d3b6ef2
  2. 10d ago First seen · 195 lines · 18 tokens per session scan A 5678134b0e83

Subscribe to this mod's changes

review-pr is a skill published in the GitHub repository marin-community/marin (3,548 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 1,135 once invoked, about $0.0001 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.