dart-review-pr

dart-review-pr is a command for Claude Code from dartsim/dart. It costs 7 tokens per session (878 once invoked), scanned A, original, BSD-2-Clause.

A command for reviewing a pull request or addressing review feedback. It checks the diff, project guidelines, tests, documentation, and verification requirements.

In plain words
What is it for?
Use it to inspect pull requests, record read-only findings, apply local fixes when requested, and run the project’s relevant verification checks.
Why use it?
It structures code review while keeping external actions such as pushing changes, commenting, or resolving threads under explicit approval.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter; positional $N argument; mentions AGENTS.md.

Good fit Use it to inspect pull requests, record read-only findings, apply local fixes when requested, and run the project’s relevant verification checks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dartsim/dart/dart-review-pr
About the project

DART is an open-source C++23 physics engine that simulates the movement and interactions of articulated rigid-body systems for robotics, animation, and machine learning. Researchers and developers use it for kinematics, dynamics, collision handling, constraints, and loading robot models, with C++ and Python interfaces. The catalogue add-ons support workflows built around this engine.

dartsim/dart · 1,217 stars · on GitHub · dart.readthedocs.io

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/dartsim/dart

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dartsim/dart/dart-review-pr"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 878 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.00007 $0.00878
Opus 5.5 $0.00003 $0.00351
Sonnet 5.5 $0.00001 $0.00176
Haiku 4.5 $0.00001 $0.00088

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

Security

Grade A, and why

dart-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 13d 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.

.claude/commands/dart-review-pr.md · 93 lines

How it starts

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

Review or respond to PR: $ARGUMENTS

Required Reading

@AGENTS.md @docs/onboarding/code-style.md @docs/onboarding/ai-tools.md (for AI-generated review handling) @docs/ai/verification.md

Workflow

To Review

gh pr view $1 && gh pr diff $1

Check code style, tests, docs, and focused commits. For claims involving 3D structure or behavior, require the dart-verify-sim text oracle plus assessed claim-tied Filament/debug-overlay evidence, or a justified replacement; a screenshot alone is not correctness evidence.

To Address Feedback

gh pr view $1 --comments

Apply minimal fixes locally and verify. Do not push, comment, resolve threads, or re-trigger review without explicit maintainer/user approval for that external mutation.

For published PRs, prefer a new follow-up commit for review fixes so reviewers can inspect what changed since the previous round. Amend or force-push only after explicit maintainer/user approval and only when the user explicitly requests it or when there is a clear reason such as removing sensitive content or repairing broken branch history.

Before every push, first merge the latest base branch into the PR branch (on every push, not just the first) so each pushed/CI-tested state reflects current target base branch and conflicts surface early: git fetch origin <base> then git merge --no-ff origin/<base>, rebuild/retest if the merge touched code, then push. The local base merge is a routine pre-push step; the push itself still requires explicit maintainer/user approval. Do not rebase a published PR branch by default because it invalidates existing CI runs and makes PR review/comment history harder to follow. Rebase or force-push only when the maintainer explicitly requests it.

If the push is rejected because the remote PR head moved, fetch and compare the remote head before retrying. If it already contains an equivalent review fix, validate that head and follow docs/onboarding/ai-tools.md instead of pushing a duplicate commit.

Read the full file on GitHub · 93 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. 13d ago Changed b3aafedca6eb
  2. 17d ago Changed · -6 lines 914588158b03
  3. 25d ago Changed · +13 lines 44e1f4292b75
  4. 1mo ago Changed · +15 lines 769447e43ebd
  5. 1mo ago Changed · +1 lines 21a7baa7a334
  6. 1mo ago First seen · 70 lines · 7 tokens per session scan A ffc3344265eb

Subscribe to this mod's changes

dart-review-pr is a command published in the GitHub repository dartsim/dart (1,217 stars, last pushed yesterday), licensed BSD-2-Clause. It adds 7 tokens to every session and 878 once invoked, about $0.0000 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-03.