dart-retro

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

A workflow for reviewing completed work and recording lessons that could help future contributors or coding agents. It keeps only reusable findings, such as recurring mistakes or workflow problems.

In plain words
What is it for?
Use it to inspect a finished task, find durable patterns or failure modes, and route those lessons into the project's shared documentation.
Why use it?
It prevents useful lessons from being lost after a task ends and avoids adding notes when the work revealed nothing broadly reusable.

Command for Claude Code

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

Good fit Use it to inspect a finished task, find durable patterns or failure modes, and route those lessons into the project's shared documentation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dartsim/dart/dart-retro"><img src="https://agentmods.dev/badge/commands/dartsim/dart/dart-retro.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 395 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.00395
Opus 5.5 $0.00003 $0.00158
Sonnet 5.5 $0.00001 $0.00079
Haiku 4.5 $0.00001 $0.00040

Measured 1mo ago against content hash 24a229708198, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dart-retro 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 1mo 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-retro.md · 51 lines

What it actually says

Run a retrospective and capture durable lessons: $ARGUMENTS

Required Reading

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

Skip If

Stop without editing when all are true:

  • no new patterns, gotchas, or failure modes were discovered
  • no workflow improvement is needed
  • the learning is too session-specific to help future agents or contributors
  • existing docs already cover what happened
  • the task was routine and left no durable insight

Workflow

  1. Search existing branch docs before adding content.
  2. Inventory the completed work before routing lessons. Consider compatibility, downstream/Gazebo impact, CI/review failure modes, workflow friction, and cleanup or handoff steps separately.
  3. Decide whether each lesson is general enough for DART AI infra. Do not update AI docs after every session.
  4. Prefer updating an existing owner doc over adding a new file. Use docs/information-architecture.md to choose the owner.
  5. Keep docs/ai/principles.md compact; put procedures in the owner docs it links to.
  6. Avoid ephemeral branch, PR, commit, or username details.
  7. If adding or renaming a workflow command or skill, edit .claude/ source files and run pixi run sync-ai-commands.
  8. Run pixi run lint before committing. For AI workflow changes, also run pixi run sync-ai-commands and pixi run check-ai-commands.

Output

  • What learning was captured
  • Where it was documented
  • Checks run
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. 1mo ago Changed 24a229708198
  2. 1mo ago Changed 76c788eccfea
  3. 2mo ago Changed · -16 lines · -5 tokens per session 01a19e1c569d
  4. 2mo ago Changed · +7 lines · +5 tokens per session 350911722017
  5. 2mo ago Changed · -3 lines 6fc75b4f1064
  6. 3mo ago First seen · 63 lines · 7 tokens per session scan A 24d195b17c05

Subscribe to this mod's changes

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

Related

dart-retro compared with commands from other repositories

dart-retro next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dart-retrodartsim/dartCommand1.2kyesterdayBSD-2-ClauseA7Claude Code
notifyautonomous-ai/autonomous-osCommand3781mo agoApache-2.0A6Claude Code
simulation-commandsfatihguner/foremanCommand662mo agoMITA36Claude Code
streamkornia/bubbaloopCommand305mo agoApache-2.0A14Claude Code
node-newkornia/bubbaloopCommand305mo agoApache-2.0A30Claude Code
missionkornia/bubbaloopCommand305mo agoApache-2.0A8Claude Code
nodeskornia/bubbaloopCommand305mo agoApache-2.0A11Claude Code