Checks

Checks are facts, decided without an LLM. Any violated check fails the scenario, whatever the judge says.

Check Passes when
called: es/execute_read the agent called that tool (server/tool, or a bare tool name for any server)
not_called: execute_write the agent never called it
max_turns: 8 the agent finished within 8 turns
max_tokens: 50000 input plus output tokens stayed within the limit
max_cost_usd: 0.50 the reported cost stayed within the limit
outcome: ./check-count.sh the command exits 0, run after the agent in the suite's folder with SILK_WORKSPACE set
activated: skill / not_activated: skill the skill was (not) loaded; see Skills

outcome: grades the end state rather than the path taken: did the file exist, did the index hold the document. Its result is stored in the trial's *.trial.json, so silk grade can apply it again without rerunning the agent.

Warning

Codex and Cursor report no turn count, so a max_turns check fails for them instead of passing unchecked. Only Claude reports a cost, so max_cost_usd and silk run --max-cost-usd only count Claude's trials.