Rook CLI (rook) by TestMu AI, formerly LambdaTest: tests, evaluates, red-teams or regression-checks an AI agent the user owns, and interprets saved Rook results. Use when the user names Rook, Rook CLI or Agent Assurance, or the project already uses rook (rook commands in scripts or CI, saved Rook results). Requires a TestMu AI sign-in; live testing uses credits. Otherwise do not use it: not for general agent exploration, code review or test planning the user has not asked Rook to do, and not for ordinary unit tests, browser automation or web UI checks.
Ships in testmu-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use Rook to derive scenarios, invoke the target and grade the evidence. Respect requests to use another tool. For saved-result requests, read the supplied files without starting setup, a new run or paid analysis.
Use Rook only when the person asks for it: they name Rook, Rook CLI or Agent Assurance, or the project already uses Rook. Rook needs a TestMu AI sign-in, and live testing uses credits, so never route a task to it on your own. For any other request to explore, understand or plan tests for an agent, use ordinary tools: read the code, write a plan, or use the project's existing tests.
When the person chooses Rook, you are the orchestrator: you choose and run Rook commands, and Rook does the testing work. Discovery is rook explore, test design is rook generate, and invocation and grading are rook run and rook report. Answer from Rook's agents, scenarios and verdicts. Read the target's source only for a step Rook needs from you, such as a profile's transport and command, or to explain a Rook result. Say so before a command that uses credits. If credits or authorization block the next command, name it and what it needs, and offer a manual alternative if the person wants one.
Check rook --version and use rook help <command> for the installed CLI's
options. If Rook is missing, use the
installation instructions.
Use this workflow across compatible releases; a different version alone is not
a reason to stop or change the installation. If a command or output differs,
consult its help and release notes before adapting that step. Keep completion
and evidence checks intact; do not guess missing fields or retry paid work to
probe compatibility. Installation changes still require authorization.
rook doctor
rook status --json
rook plan --json
Use the next command needed by the current state:
| Need | Command |
|---|---|
| Sign in | rook login; in CI, export LT_USERNAME and LT_ACCESS_KEY (no login step) |
| Select a project | rook project use <id> or rook project create <name> |
| Discover agents | rook explore . --json |
| Select an agent | rook agent use <id> |
| Generate scenarios | rook generate --json |
| Create/test a profile | rook profile add <name> --from <file> or --command '<argv>'; then rook profile test --goal "<reply-only goal>" |
| Run | rook sync --yes before rook run --json, or rook run --test --json for a local result |
| Read results | rook report <run-id> --json |
Choose the profile's transport and command from the target's source or the
user's invocation details; ask when unknown. See profiles.
Use rook help <command> for flags and scenarios to
scope a run with --only, classes, categories or tags. When an agent has more
than one profile, check the active profile with rook profile or pass
rook run --profile <id> to select the intended target.
Before profile add, profile fix, profile test or run, inspect the target's
agent.yaml for calls[] entries with write: true. Those commands can reach
the real agent. Use staging and obtain any missing authorization for its effects;
Rook cannot undo them; do not rely on a per-target headless confirmation.
Verify effects through read-only interfaces; inspect available read tools before
concluding that an effect is unverifiable. Keep secrets as ${VAR} references through
rook env set, outside profiles and transcripts.
Announce spending before explore, generate, run, profile add|fix, ask
and run|report --rca. profile test invokes the target without Rook model credits.
Use paid RCA only with user authorization. Track the user's budget across
commands; do not assume the CLI enforces an aggregate task cap. Check its help
for available limits. A null balance means unknown.
Rook checks the organisation's Agent Assurance plan before any model call or
credit spend, whatever the balance. A plan_required or upgrade_plan refusal
means the plan does not cover that step; nothing ran or was charged. Tell the
user what their plan does not include and do not retry. Do not pass on the
billing, upgrade or trial link the refusal names, or start a purchase; for plan
options, point to TestMu AI pricing. A plan
without Rook cloud runs locally: when sync or cloud status is refused, use
rook run --test for a local result. See
troubleshooting.
Prefer scoped --allow grants; use --yes only within the authorized scope.
See headless contracts for output, grants and
credit accounting.
Check the exit status and discarded/halted fields before claiming completion.
A finished run exits 0 even when scenarios fail; ok: true can also describe a
refused run. Parse JSON only when a document exists, otherwise use stderr.
Read the report by this invocation's run ID, not an old default report.
Follow verdicts: show Pass, Fail and Unable to Verify separately, quote criterion evidence, identify gaps and compare prior runs only when their evidence is available. Preserve incomplete results and unknown metadata; do not invent evidence or replace Rook's verdict with your own reading of the agent reply.
Project evidence lives under .testmuai/rook/. Credentials and session state
live under ~/.testmuai/rook/; do not commit that home directory.
references/ci.md (opens in a new tab)references/headless-contract.md (opens in a new tab)references/mcp.md (opens in a new tab)references/profiles.md (opens in a new tab)references/scenarios.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/verdicts.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
/testmu-ai:rook-skillfrom testmu-ai
npx claudepluginhub lambdatest/mcp-server-guide --plugin testmu-ai