record

record is a command for coding agents from desplega-ai/qa-use. It costs 7 tokens per session (369 once invoked), scanned A, original, MIT.

A command for recording browser interactions and turning them into reusable end-to-end test definitions.

In plain words
What is it for?
Use it to record a new test, edit a saved test, generate YAML with variables, or begin recording after an existing login test.
Why use it?
It removes the need to write every browser step by hand and can also help modify existing tests.

Command

Part of the qa-use plugin — 1 skill, 6 commands, 5 agents shipped together

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/desplega-ai/qa-use/record
Clone the repo
git clone --depth 1 https://github.com/desplega-ai/qa-use

Or install qa-use, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 5 agents.

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 record

README.md
[![agentmods](https://agentmods.dev/badge/commands/desplega-ai/qa-use/record.svg)](https://agentmods.dev/commands/desplega-ai/qa-use/record)
Your own site
<a href="https://agentmods.dev/commands/desplega-ai/qa-use/record"><img src="https://agentmods.dev/badge/commands/desplega-ai/qa-use/record.svg" alt="Measured on agentmods" 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 369 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.00007 $0.00369
Opus 5 $0.00003 $0.00185
Sonnet 5 $0.00001 $0.00074
Haiku 4.5 $0.00001 $0.00037

Measured 4d ago against content hash 8e5a8271d62e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

record 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 4d 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.

plugins/qa-use/commands/record.md · 65 lines

What it actually says

/qa-use:record

Record browser interactions and generate test YAML, or edit existing tests with AI assistance.

Invokes skill: qa-use

Arguments

Argument Description
start [name] Start recording with optional test name
edit <test-name> AI-assisted editing of existing test
stop Stop recording and generate test YAML

What Happens

Recording Mode (start/stop)

  1. start: Creates browser session, enters recording mode
  2. actions: You perform browser commands, they're tracked
  3. stop: Generates test YAML with variables and semantic descriptions
  4. save: Writes to qa-tests/<name>.yaml

Edit Mode (edit)

  1. Loads existing test definition
  2. Understands your desired changes
  3. Applies modifications
  4. Validates and saves with confirmation

Examples

Recording a new test

/qa-use:record start login-test
# ... perform browser actions ...
/qa-use:record stop

Editing an existing test

/qa-use:record edit login-test

Recording from Logged-In State

To record a test that assumes the user is already logged in, first create a session with --after-test-id:

# Create session that runs login test first
qa-use browser create --after-test-id <login-test-uuid>

# Then start recording from the authenticated state
/qa-use:record start dashboard-test

This is useful for recording tests that depend on authentication without including login steps in every test.

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. 4d ago First seen · 65 lines · 0 tokens per session scan A 8e5a8271d62e

Subscribe to this mod's changes

record is a command published in the GitHub repository desplega-ai/qa-use (27 stars, last pushed 3mo ago), licensed MIT. It adds 7 tokens to every session and 369 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-08-30.