dart-next

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

A task-selection workflow for choosing the next small, bounded piece of work from project plans, issues, and continuous-integration results. CI is automated checking that runs when code changes.

In plain words
What is it for?
It is for selecting work, executing it locally, verifying the result, or preparing a pull request.
Why use it?
It helps turn a large backlog into one clearly scoped task with an appropriate execution path.

Command for Claude Code

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,201 stars · on GitHub

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.

agentmods
npx agentmods add commands/dartsim/dart/dart-next
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-next

README.md
[![agentmods](https://agentmods.dev/badge/commands/dartsim/dart/dart-next.svg)](https://agentmods.dev/commands/dartsim/dart/dart-next)
Your own site
<a href="https://agentmods.dev/commands/dartsim/dart/dart-next"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-next.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 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,520 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.01520
Opus 5 $0.00009 $0.00760
Sonnet 5 $0.00004 $0.00304
Haiku 4.5 $0.00002 $0.00152

Measured yesterday against content hash 013ecc2a1052, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dart-next 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 yesterday.

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-next.md · 141 lines

How it starts

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

Select and execute the next bounded DART task: $ARGUMENTS

Required Reading

@AGENTS.md @docs/ai/principles.md @docs/ai/north-star.md @docs/ai/workflows.md @docs/ai/verification.md @docs/plans/dashboard.md @docs/dev_tasks/README.md

Load docs/plans/README.md, docs/plans/north-star-roadmap.md, docs/onboarding/contributing.md, docs/onboarding/ci-cd.md, and docs/onboarding/ai-tools.md only when the selected mode or routed workflow needs them.

Arguments

Interpret $ARGUMENTS as optional constraints:

  • mode=select: choose one task and stop with evidence.
  • mode=execute: choose one task, make local changes, and verify locally. This is the default when the user asks to do the work.
  • mode=pr: execute locally and prepare PR text, then ask for explicit maintainer/user approval before any GitHub, PR, CI, branch, or review-thread mutation, including pushes, PR creation, PR comments, reviewer requests, review re-triggers, thread resolution, ready-for-review transitions, merges, CI reruns, or branch deletion.
  • size=tiny|small|medium|large or days=N: fit the chosen task to the requested scope. Default to small, meaning one focused local session.
  • focus=<topic>: prefer a focus area without making it the only allowed candidate. Examples: ai-native, easy-start, algorithm, compute, release, ci, docs, python, io, PLAN-122, world_split, dartpy, or a file path.
  • area=<dimension>: alias for focus=<dimension>.
  • Any issue, PR, branch, milestone, failing check, file path, or user-stated priority overrides the default dashboard order.

If constraints conflict or make the task unsafe to select, stop and ask one clarifying question.

Workflow

  1. Inspect local state before choosing work:
    git status --short --branch
    git diff --stat
    
  2. Build the candidate set from tracked evidence:
    • explicit user instruction in $ARGUMENTS;
    • current branch, local diff, or active docs/dev_tasks/<task>/ state;
    • docs/plans/dashboard.md, in priority order, especially Horizon: Now;
    • docs/ai/north-star.md gaps and readiness criteria;
    • issue, PR, or CI state named by the user or inferable from the branch.
  3. Exclude candidates that are blocked, larger than the requested size, missing enough evidence to start, likely to require unapproved GitHub mutations, or only bootstrap/maintain the dart-next workflow itself unless explicitly focused.
  4. Prefer the highest-value remaining candidate in this order:
    • user-specified issue, PR, failing check, or file path;
    • candidates matching focus=<topic> or area=<dimension>;
    • failing CI or review feedback on the current PR;
    • active dev task with a clear next local step;
    • first unblocked Horizon: Now dashboard item fitting the size;
    • issue triage or plan refinement when implementation evidence is missing.
  5. State the selected task before editing:
    • candidate and source evidence;
    • rejected higher-priority candidates and why they were not selected;
    • whether the preferred focus matched the selected task, and why if it did not;
    • size assumption and expected stopping point;
    • workflow to follow next;
    • verification gate from docs/ai/verification.md.

Read the full file on GitHub · 141 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. yesterday Changed · -4 lines · +9 tokens per session 013ecc2a1052
  2. 3d ago First seen · 145 lines · 9 tokens per session scan A 9eb7d4b81f44

Subscribe to this mod's changes

dart-next is a command published in the GitHub repository dartsim/dart (1,201 stars, last pushed today), licensed BSD-2-Clause. It adds 18 tokens to every session and 1,520 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-09-01.