dart-pr

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

A workflow for preparing a DART pull request by creating a branch, committing changes, pushing them, and opening the request. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
It is for preparing branches and commits, filling the pull-request template, and opening a review request after approval.
Why use it?
It gives contributors a repeatable way to package work with the project’s required title, description, testing, and approval rules.

Command for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is printf '%s\n' "$pr_title" | pixi run python scripts/check_local_paths.py --stdin.

Good fit It is for preparing branches and commits, filling the pull-request template, and opening a review request after approval.

Compare 6 commands from other repositories ↓
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,218 stars · on GitHub · dart.readthedocs.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/dartsim/dart
agentmods
npx agentmods add commands/dartsim/dart/dart-pr

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dartsim/dart/dart-pr"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 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,657 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.00015 $0.01657
Opus 5.5 $0.00006 $0.00663
Sonnet 5.5 $0.00003 $0.00331
Haiku 4.5 $0.00002 $0.00166

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

Security

Grade A, and why

dart-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 6d 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-pr.md · 155 lines

How it starts

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

Prepare or open a DART pull request after explicit maintainer/user approval: $ARGUMENTS

Required Reading

@AGENTS.md @docs/onboarding/contributing.md @docs/onboarding/release-management.md @docs/onboarding/ai-tools.md @docs/onboarding/changelog.md @.github/PULL_REQUEST_TEMPLATE.md

Recent PR Patterns

When project context is unclear, inspect recently merged PRs for examples; the current PR-description owner below takes precedence over older bodies:

gh pr list --repo dartsim/dart --state merged --base <target-branch> --limit 10 \
  --json number,title,body,mergedAt

Use these practices:

  • Keep titles plain, scoped, and outcome-focused. Do not add agent prefixes.
  • Describe private plans in prose or link public PRs/issues. Keep private, local, and machine-specific paths out of the title and body.
  • Follow docs/onboarding/contributing.md § "PR Descriptions" for the Summary and Testing default, optional material context, evidence formats, and collapsed detail. This is the PR-description owner for agents and contributors. Write each paragraph and list item of the body on one line: GitHub renders newlines as line breaks, so never wrap PR text at a fixed width.
  • For CI, performance, or infrastructure work, include evidence that supports the outcome and relevant verification gaps.
  • For model/scene, dynamics, collision/contact, simulation, rendering, mesh, texture, GUI, or visual-example changes, use dart-verify-sim: report the text correctness oracle and include assessed, claim-tied Filament/debug-overlay evidence when applicable (an image alone is not correctness proof):
    • Prefer an existing headless example path such as --headless, --frames, --width, --height, and --shot over manual screenshots.
    • Follow docs/ai/verification.md § "Simulation Verification Route" for before/after 3D highlights, matched captures, and compute-only plots.
    • Inspect the images yourself and retain reproduction commands and environment details in collapsed evidence details. Keep limiting caveats and failed or uncertain results prominent.
    • Use pixi run evidence-publish to render the section without network access. Follow docs/ai/verification.md § "Visual Verification (Headless Capture)" for publication after explicit maintainer/user approval. Attachments use the same store as drag-and-drop, never release assets or tags; --body-file replaces the whole PR body. Keep transient PR evidence out of Git; commit visual files only as durable documentation, fixtures, or source assets.
    • If no headless path exists, either add a narrowly scoped capture mode when it fits the example or document why visual comparison is not practical.
  • Link relevant PRs, issues, backports, and follow-ups when useful to the review.

Read the full file on GitHub · 155 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. 6d ago Changed · +1 lines 5be594384422
  2. 7d ago Changed · -11 lines 1bbf72ea046b
  3. 9d ago Changed · +4 lines 4a74a5cc77fc
  4. 10d ago Changed · -33 lines 4ed9deb91ce4
  5. 12d ago Changed · -3 lines db0a25eeec3f
  6. 14d ago Changed · +1 lines 1c0ad7461644
  7. 20d ago Changed · +94 lines be55249e4531
  8. 1mo ago Changed · -14 lines a75f1080d3de
  9. 1mo ago Changed · -17 lines c97ca9766ad8
  10. 1mo ago First seen · 133 lines · 15 tokens per session scan A 227a4bb30dfc

Subscribe to this mod's changes

dart-pr is a command published in the GitHub repository dartsim/dart (1,218 stars, last pushed today), licensed BSD-2-Clause. It adds 15 tokens to every session and 1,657 once invoked, about $0.0001 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-01.