run-tests

A command that loads the run-tests skill and runs the full Embody software test suite through its provided interface. It can also run one named suite or test.

In plain words
What is it for?
Use it to run all Embody tests or a selected test, save unsaved project work first, monitor interrupted runs, and inspect logs for errors and warnings.
Why use it?
It gives a defined process for running tests, checking logs, and reporting failures or warnings without using the wrong test runner.

Command for Claude Code

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/dylanroscover/embody/run-tests
Clone the repo
git clone --depth 1 https://github.com/dylanroscover/Embody

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 259 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.00000 $0.00259
Opus 5 $0.00000 $0.00130
Sonnet 5 $0.00000 $0.00052
Haiku 4.5 $0.00000 $0.00026

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

Security

Grade A, and why

run-tests 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/run-tests.md · 8 lines

What it actually says

Load the /run-tests skill, then run the full Embody test suite via MCP:

  1. If the project holds unsaved work, project.save() first -- the saved .toe is the recovery point
  2. Run via the run_tests MCP tool (deferred runner). Do NOT call RunTestsSync() inside execute_python: the dispatch wraps that call in an undo block, which makes the undo-guard tests fail (a block is already open) and turns the whole run into one giant Ctrl+Z step. If the MCP call dies mid-run with a server-restart error (the Envoy watchdog suites restart the server it waits on), the run continues -- poll op.unit_tests.GetResults() via execute_python until the totals stop moving
  3. Report the results summary (pass/fail counts per suite)
  4. Always read dev/logs/ afterward -- pass or fail -- and grep for ERROR and WARNING (the ring buffer only holds 200 entries)
  5. If a specific suite or test name is provided as $ARGUMENTS, run only that: RunTestsSync(suite_name='...') or RunTestsSync(suite_name='...', test_name='...')
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 First seen · 8 lines · 0 tokens per session scan A c1d802f99c82

Subscribe to this mod's changes

run-tests is a command published in the GitHub repository dylanroscover/Embody (166 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 259 tokens. 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-08-30.