dart-resume

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

A command for continuing unfinished work from a previous coding session.

In plain words
What is it for?
Rebuilding a plan, inspecting the repository, verifying results, and finishing or clearly blocking a development task.
Why use it?
It helps recover the full task when work was interrupted instead of stopping after checking a single part of it.

Command for Claude Code

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

Good fit Rebuilding a plan, inspecting the repository, verifying results, and finishing or clearly blocking a development task.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dartsim/dart/dart-resume
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-resume

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dartsim/dart/dart-resume"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-resume.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 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,344 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.00016 $0.01344
Opus 5.5 $0.00006 $0.00538
Sonnet 5.5 $0.00003 $0.00269
Haiku 4.5 $0.00002 $0.00134

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

Security

Grade A, and why

dart-resume 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 12d 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-resume.md · 125 lines

How it starts

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

Resume unfinished work to its real completion contract: $ARGUMENTS

Required Reading

@AGENTS.md @docs/dev_tasks/README.md @docs/ai/sessions.md @docs/ai/verification.md @docs/onboarding/ci-cd.md @docs/onboarding/contributing.md @docs/onboarding/changelog.md

Argument Handling

$ARGUMENTS may name a branch, PR, issue, or docs/dev_tasks/<task> path; scope-limiting modes are honored when given: status (report only), audit-only (no edits), plan-only (plan, no execution), slice / next-slice (one bounded increment). With no argument, infer the target from the current branch and dev-task state during recon.

Workflow

Step 1: Recon (no changes)

git rev-parse --show-toplevel
git status -sb && git branch -vv && git log -10 --oneline --decorate
git diff --stat && git stash list
gh pr list --head "$(git branch --show-current)"
gh pr status

Step 2: Reconstruct

Infer the task from branch name, commits, diffs, issue/PR description, and any docs/dev_tasks/<task>/ state. If the goal is still unclear after recon, stop and ask.

For a named docs/dev_tasks/<task>/, reconstruct the task's actual completion contract before editing. Treat the dev-task folder as an execution plan and evidence ledger first, not as cleanup inventory:

  • read the task README, RESUME, dashboard, packet files, and verification notes;
  • extract every acceptance criterion, open decision, required benchmark, required test, and explicit "do not complete until" condition;
  • compare those criteria against current branch code, docs, tests, PR state, and available evidence; and
  • treat task completion as satisfying those criteria with verification, not as merely promoting notes or deleting the temporary folder.

Step 3: Execute to completion

  • Continue by executing the reconstructed plan until the task's acceptance criteria and verification methods are satisfied, or until the same real blocker has been proven and recorded. Preserve existing user changes.
  • Do not narrow a broad dev-task objective to documentation cleanup, folder retirement, or evidence promotion unless the implementation criteria are already satisfied or the maintainer has explicitly approved deferring the remaining implementation work.
  • Treat dev-task retirement as the final bookkeeping step after implementation completion or an explicitly approved deferral. It is never a substitute for running the plan, benchmarks, tests, and review/PR evidence the task requires.
  • For active solver/paper implementations, keep the plan or dev-task resume surface explicit about the completed slice, the next missing paper-parity gap, and why focused green tests are not a full paper-completion claim.
  • If the task is being completed, run a completion audit before finalizing: identify the exact docs/dev_tasks/<task>/ folder, inspect it for remaining plans/evidence/decisions, promote any durable dashboard, evidence matrix, API inventory, migration map, long-lived decision, or deferred-but-real work into release/onboarding/AI docs, update any durable status surface when the task changes roadmap state, then remove the dev-task folder completely in the completing change.
  • If remaining work is real but blocked by a substantial design decision, maintainer direction, external dependency, or scope boundary that should not be resolved in the current session, ask the human before retiring the folder unless prior maintainer direction is already recorded. Record the parked or blocked work in the durable owner doc before deletion.
  • Do not call a dev task complete while docs/dev_tasks/<task>/ still exists. If implementation is done but the folder remains, the remaining work is the durable-doc promotion plus folder cleanup.
  • Run pixi run lint before committing.
  • Run relevant tests; use pixi run test-all before done when feasible, and pixi run -e gazebo test-gz when package or downstream Gazebo/gz-physics compatibility could be affected.
  • For model/scene, simulation, dynamics, collision/contact, Filament, or visual behavior, route through dart-verify-sim: establish a text correctness oracle first, then capture assessed claim-tied images/debug layers or record a graphics unavailable/not-applicable reason. A screenshot alone is not proof.
  • Before finalizing a resumed task that changes behavior, public API, packaging, CI, docs workflow, AI-infra workflow, or user-visible docs, run the dart-changelog decision (decide/finalize) per docs/onboarding/changelog.md.
  • Push with the same local and remote topic-branch name only after explicit maintainer/user approval: branch=$(git branch --show-current); git push -u origin "HEAD:${branch}".
  • For already-published PRs, prefer additive follow-up commits. 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 approved push to a published PR branch, first fetch and merge the latest target base branch into it (on every push, not just the first), then push normally after explicit maintainer/user approval. Do not rebase published PR branches by default because that invalidates existing CI runs and makes PR review/comment history harder to follow. Rebase or force-push only when the maintainer explicitly requests it.

Read the full file on GitHub · 125 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. 12d ago Changed b2136f747302
  2. 18d ago Changed · -1 lines 6f244eed82b1
  3. 24d ago Changed · -21 lines · +10 tokens per session 6974af951fb5
  4. 1mo ago Changed 9746c13458b5
  5. 1mo ago Changed · -44 lines 69d97ffc3bc3
  6. 1mo ago Changed · -3 lines c53a03d7bc26
  7. 1mo ago First seen · 194 lines · 6 tokens per session scan A 7edecc488221

Subscribe to this mod's changes

dart-resume is a command published in the GitHub repository dartsim/dart (1,217 stars, last pushed yesterday), licensed BSD-2-Clause. It adds 16 tokens to every session and 1,344 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.