dart-analyze

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

A read-only workflow for answering questions about a repository using its code, documentation, tests, generated files, and command output.

In plain words
What is it for?
Use it to investigate repository behavior, compare possible explanations, identify unknowns, and report conclusions with file and line references.
Why use it?
It creates an evidence-based answer without editing files or changing branches, pull requests, CI runs, or review discussions.

Command for Claude Code

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

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 · 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.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/dartsim/dart/dart-analyze.svg)](https://agentmods.dev/commands/dartsim/dart/dart-analyze)
Your own site
<a href="https://agentmods.dev/commands/dartsim/dart/dart-analyze"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-analyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 425 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.1 $0.00006 $0.00425
Opus 5 $0.00003 $0.00212
Sonnet 5 $0.00001 $0.00085
Haiku 4.5 $0.00001 $0.00042

Measured 2d ago against content hash 6a35aaab4fe7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dart-analyze 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 2d 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-analyze.md · 49 lines

What it actually says

Analyze repository evidence without editing: $ARGUMENTS

Required Reading

@AGENTS.md @docs/ai/principles.md @docs/ai/workflows.md @docs/ai/verification.md @docs/onboarding/ai-tools.md

Workflow

  1. Restate the question and the read-only boundary. Do not edit files, stage changes, or perform GitHub, CI, branch, or review-thread mutations.
  2. Inspect local state enough to avoid misreading user work:
    git status --short --branch
    git diff --stat
    
  3. Build an evidence set from repository files, tests, docs, generated artifacts, and command output. Load task-specific docs from AGENTS.md when the question names a subsystem.
  4. Separate direct evidence from inference and unknowns. Do not present an inference as a fact, and do not turn a read-only answer into an implementation plan.
  5. Rank explanations, risks, or options by confidence when multiple readings are plausible. Use concrete file and line references for material claims.
  6. If current external documentation or standards are needed for correctness, gather source-backed evidence and label date/version context explicitly.
  7. Stop when the synthesis answers the question with enough evidence, or report the exact proof source that is unavailable.

Output

Report:

  • the question answered and the scope inspected;
  • ranked synthesis with confidence;
  • evidence, inference, and unknowns as separate sections;
  • any discriminating read-only probe that would reduce remaining uncertainty;
  • confirmation that no local edits or external mutations were performed.
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. 2d ago Changed 6a35aaab4fe7
  2. 4d ago First seen · 49 lines · 6 tokens per session scan A b5ab11a9fe95

Subscribe to this mod's changes

dart-analyze is a command published in the GitHub repository dartsim/dart (1,201 stars, last pushed today), licensed BSD-2-Clause. It adds 6 tokens to every session and 425 once invoked, about $0.0000 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.