QAILA
DocsHow it worksSecurityFAQPricingSign in
Commands
Set up
  1. guide
  2. doctor
  3. install-browser
  4. init
Qaila account
  1. login
  2. logout
  3. whoami
  4. link
  5. unlink
  6. push-map
  7. status
Test
  1. preflight
  2. map
  3. cartograph
  4. plan
  5. run
Fix
  1. fix
  2. fixed
  3. ticket
  4. retest
Knowledge
  1. knowledge
  2. mcp
Advanced
  1. coverage
  2. dedupe
  3. import-findings

CLI reference

The qaila command, from the @qaila/cli package

Most of the time Claude Code runs these commands for you: paste Set up Qaila for this project: follow qaila.app/setup into Claude Code and it sets everything up. This page is for checking what Claude is doing, and for running Qaila yourself or in CI.

Run it without installing, as npx -y @qaila/cli@latest <command>, or install it in your project with npm i -D @qaila/cli. It needs Node.js 24 or later and Claude Code. Run test commands inside your Qaila folder (usually qaila/, next to qaila.config.json).

Commands marked Uses Claude start tester sessions in Claude Code on your own Claude plan or API key. Dollar figures are estimated Claude usage, not Qaila charges.

Quick start

# check Node, Claude Code and the browser
qaila doctor

# connect this machine to your workspace
qaila login

# create qaila/qaila.config.json
qaila init --app shop --url http://localhost:3000

# link the folder to a Qaila project
cd qaila && qaila link --create

# check the app is reachable and sign-ins work
qaila preflight

# map the app (no Claude usage)
qaila map --out brain

# see the prioritised missions
qaila plan

# run missions in isolated tester sessions
qaila run --out runs/first --budget 8 --only M01,M02

# write a fix brief for Claude Code
qaila fix F-0012

# mark it fixed
qaila fixed F-0012 --note "…"

# check fixes with a fresh tester
qaila retest

Set up

Get a machine and an app folder ready. Claude Code runs these for you during setup.

qaila guide

Print the setup guide for Claude Code to follow.

qaila guide [--org <slug>] [--server <url>]

The same guide as qaila.app/setup: Claude Code reads it and sets Qaila up with you, step by step.

OptionWhat it does
--org <slug>Your Qaila workspace, filled into the guide's link step.
--server <url>The Qaila server. Default: https://qaila.app

qaila doctor

Check this machine has what Qaila needs (Node, Claude Code, a browser).

qaila doctor

Also reports the Qaila sign-in and, inside an app folder, whether it's linked to a project.

qaila install-browser

Install the browser Qaila's testers use (Chromium, about 150 MB).

qaila install-browser

qaila init

Create qaila/qaila.config.json for this app.

qaila init --app <name> --url <app url> [--api <api url>] [--dir qaila]

Also writes qaila/.env for test-account passwords and a .gitignore that keeps secrets, runs and the local map out of git. Edit the config afterwards to add roles, test accounts and the environment.

OptionWhat it does
--app <name>The app's name.
--url <url>Where the app runs, e.g. http://localhost:3000.
--api <url>The API's base URL, if it's separate.
--start-route <path>The page testers start from. Default: the path of --url
--dir <folder>Where to create the config. Default: qaila
--forceOverwrite an existing config.
qaila init --app shop --url http://localhost:3000

Qaila account

Connect this machine to your Qaila workspace, and link the app folder to a project so runs record there.

qaila login

Connect this machine to Qaila (opens your browser to approve).

qaila login [--server <url>] [--no-browser]

Shows a code to approve in your browser. The sign-in is saved in your home folder, readable only by you.

OptionWhat it does
--server <url>The Qaila server. Default: https://qaila.app
--no-browserPrint the link instead of opening it.

qaila logout

Forget this machine's Qaila sign-in.

qaila logout [--server <url>]
OptionWhat it does
--server <url>The Qaila server. Default: https://qaila.app

qaila whoami

Show who you're signed in as, and your workspaces and projects.

qaila whoami [--server <url>]
OptionWhat it does
--server <url>The Qaila server. Default: https://qaila.app

qaila link

Link this app folder to a Qaila project, so runs record to the cloud.

qaila link [--org <slug>] [--project <slug>] [--create] [--name <name>]

After linking, findings, questions, coverage and runs from this folder go to the project in Qaila, and the app map is uploaded.

OptionWhat it does
--org <slug>The workspace. Not needed if you belong to only one.
--project <slug>The project. Default: the app's name
--createCreate the project if it doesn't exist (owners and admins).
--name <name>Display name for a new project.
--server <url>The Qaila server. Default: https://qaila.app
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila link --create

qaila unlink

Stop recording this folder's runs to the cloud.

qaila unlink
OptionWhat it does
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.

qaila push-map

Upload this folder's app map to its Qaila project.

qaila push-map [--brain brain]
OptionWhat it does
--brain <folder>Where the map is. Default: brain
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.

qaila status

Show sign-in and link status.

qaila status [--server <url>]
OptionWhat it does
--server <url>The Qaila server. Default: https://qaila.app

Test

Check the environment, map the app, plan missions and run them. Commands that start testers use Claude (estimated usage is shown first).

qaila preflight

Check the environment is healthy enough to test (app, API, sign-ins, health checks).

qaila preflight

Run it before testing: a broken environment would otherwise show up as false findings. Linked folders report the result to the project's setup checklist.

OptionWhat it does
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
--hash-routingThe app uses #/ routes (detected from the map when there is one).

qaila map

Map the app, read-only and without using Claude.

qaila map [--out brain] [--recipes brain/recipes.json --only a,b]

Crawls every page each role can reach and records pages, controls, forms, API calls and who can access what. Writes brain/app-map.json, a summary and screenshots.

OptionWhat it does
--out <folder>Where to write the map. Default: brain
--recipes <path>Replay recipes from qaila cartograph to add the states they reach.
--only <names>With --recipes: only these recipes (comma-separated).
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila map --out brain
qaila map --out brain --recipes brain/recipes.json

qaila cartographUses Claude

Find pages and states that link-crawling can't reach, and write recipes for them.

qaila cartograph --map brain/app-map.json --out brain/recipes.json [--budget 3]

One tester session explores behind actions (dialogs, wizards, created data) and writes replayable, verified recipes. Replay them into the map with qaila map --recipes. About $2–3 of estimated Claude usage.

OptionWhat it does
--map <path>The current app map.
--out <path>Where to write the recipes.
--budget <dollars>Claude usage limit for the session. Default: 3
--no-verifySkip replaying each recipe to check it.
--ledger <path>A local coverage ledger to steer towards unexplored areas.
--engine <executor|playwright-mcp>The browser tool the tester uses. Default: executor
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.

qaila plan

Show the prioritised missions for the next run.

qaila plan [--map brain/app-map.json]

Missions are an area of the app combined with a testing style (look, touch, API, requirements, discover, charters). Areas the team has already covered rank lower.

OptionWhat it does
--map <path>The app map to plan from. Default: brain/app-map.json
--ledger <path>A local coverage ledger (unlinked folders). Default: brain/ledger.json
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.

qaila runUses Claude

Run missions in isolated tester sessions.

qaila run --out runs/<id> [--budget 15] [--mission-budget 2] [--only M01,M02]

Each mission runs in its own headless Claude Code session with only the browser and findings tools, never your repository. Findings are recorded live and de-duplicated; a mission that hasn't covered its area is resumed with the gaps. Pre-flight runs first.

OptionWhat it does
--out <folder>Where to write the run (one folder per run, e.g. runs/20261204-1030-planned).
--map <path>The app map to plan from. Default: brain/app-map.json
--budget <dollars>Claude usage limit for the whole run. Default: 15
--mission-budget <dollars>Claude usage limit per mission. Without it: mission_budget in qaila.config.json, then the project's setting on Qaila, then 1.5. Default: 1.5
--only <ids>Run only these missions (comma-separated, from qaila plan).
--max-missions <n>Stop after this many missions.
--max-resumes <n>How many times a mission may be resumed to cover its gaps. Default: 2
--before-mission <command>A shell command to run before each mission, e.g. to reset test data.
--model <id>The Claude model for testers. Without it, Claude Code's default model is used.
--label <text>A label for the run.
--skip-preflightDon't check the environment first.
--no-consolidateSkip the pass that merges re-worded duplicate findings.
--engine <executor|playwright-mcp>The browser tool testers use. Default: executor
--findings-db <path>Local findings database (unlinked folders). Default: brain/findings.db
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila run --out runs/$(date +%Y%m%d-%H%M%S)-planned --budget 8 --only M01,M02,M03

Fix

Hand findings to the developer's Claude Code, mark them fixed, and retest them independently.

qaila fix

List findings ready to fix, or write a fix brief for each one named.

qaila fix [F-0012 …] [--ready]

With no ids, lists confirmed and regressed findings, most severe first. With ids, writes fixes/<id>.md for each: steps, expected and actual results, screenshots (downloaded from Qaila), related findings and the team's relevant answers, plus how to fix and mark it. Claude Code works from these briefs.

OptionWhat it does
--readyWrite briefs for every finding ready to fix (up to --limit).
--limit <n>With --ready: at most this many. Default: 10
--status <list>Which statuses count as ready (comma-separated). Default: confirmed,regressed
--quietPrint only the brief files' paths.
--forceWrite a brief for a named finding that nobody has confirmed yet (briefs are for confirmed or regressed findings by default).
--db <path>Local findings database (unlinked folders). Default: brain/findings.db
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila fix
qaila fix F-0012 F-0013

qaila fixed

Mark findings fixed once the code has changed, so they can be retested.

qaila fixed F-0012 [F-0013 …] --note "what changed"

Sets the status to "fix claimed" with your note for the team. The note is never shown to the retesting tester.

OptionWhat it does
--note <text>One line on what you changed (required).
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila fixed F-0012 --note "Start screen re-reads the project list after clearing"

qaila ticket

Raise a finding as a ticket in your issue tracker.

qaila ticket F-0012 [--github [--repo owner/name]] [--link <url>]

On its own, prints the finding written up as a ticket (title and Markdown), to paste into any tracker. With --github, creates the issue using GitHub's own `gh` command, signed in as you, and links it to the finding; Qaila is never given access to the repository. The repository is the one named with --repo, else the one set for the project in Qaila, else the one this folder belongs to. In a linked folder this needs a plan that includes ticket export.

OptionWhat it does
--githubCreate a GitHub issue with `gh` and link it to the finding.
--repo <owner/name>With --github: the repository to create the issue in.
--againWith --github: create an issue even though the finding already has a ticket.
--link <url>Record a ticket that already exists, without creating anything.
--db <path>Local findings database (unlinked folders). Default: brain/findings.db
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila ticket F-0012
qaila ticket F-0012 --github
qaila ticket F-0012 --link https://linear.app/acme/issue/ENG-123

qaila retestUses Claude

Retest fixed findings with a fresh tester that never sees the fix.

qaila retest [F-0012,F-0013] [--budget 5]

One isolated mission per finding: the tester gets only the original finding, reproduces it, then probes the paths around it. Each finding comes back verified, or reopened with new evidence. With no ids, retests every finding marked fixed. Retests don't count towards your plan's monthly runs. About $0.40–1 of estimated Claude usage per finding.

OptionWhat it does
--budget <dollars>Claude usage limit for all retests. Default: 5
--mission-budget <dollars>Claude usage limit per finding. Default: 1
--out <folder>Where to write the retest run. Default: runs/<time>-retest
--map <path>The app map to plan from. Default: brain/app-map.json
--skip-preflightDon't check the environment first.
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila retest
qaila retest F-0012,F-0013

Knowledge

Ask what Qaila's testers have learned about how the app behaves, from the terminal or from your coding agent, and ask them to find out what nobody knows yet.

qaila knowledge

Show what Qaila knows about how the app behaves, or ask testers to find something out.

qaila knowledge [words …] [--feature <name>] [--show <standings>] | K-0004 | features | explore "<question>" | explorations | drop X-0003

Statements are grouped by feature, each with its standing: intended (confirmed by your team), seen (what a tester saw the app do, not yet confirmed), a bug, or not sure. `qaila knowledge K-0004` shows what each tester wrote and the statement's history. When nothing answers your question, `qaila knowledge explore "…"` asks Qaila's testers to find out: the next `qaila run` plans a focused mission for it, and the tester's notes appear here. Reading never changes anything.

OptionWhat it does
--feature <name>Only this feature's statements; with explore, the feature the question is about.
--show <list>Only these standings (comma-separated: intended, seen, bug, unsure, retired), or all. Default: everything but retired
--page <route>With explore: the page the tester should start from.
--allWith explorations: past requests too.
--jsonPrint JSON (for scripts and agents).
--db <path>Local findings database (unlinked folders). Default: brain/findings.db
--localUse the local findings database (brain/findings.db) even if this folder is linked to Qaila.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
qaila knowledge playlist
qaila knowledge --feature "Playlist editor" --show intended
qaila knowledge K-0004
qaila knowledge explore "What happens to a playlist when one of its videos is deleted?" --feature "Playlist editor"

qaila mcp

Run a read-only MCP server so your coding agent can ask what Qaila knows about the app.

qaila mcp

Add it to Claude Code once, in the app's repository: `claude mcp add qaila -- npx -y @qaila/cli@latest mcp`. Your agent can then search statements, read one in full, list features and see questions waiting for testers. It is told to cite statement ids, to say whether each is confirmed or only seen, and, when nothing answers a question, to offer you `qaila knowledge explore` rather than guess. It can't change anything.

OptionWhat it does
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.
claude mcp add qaila -- npx -y @qaila/cli@latest mcp

Advanced

Lower-level tools, mostly for troubleshooting and imports.

qaila coverage

Measure what one or more runs covered.

qaila coverage --map brain/app-map.json <run folder> …

Writes coverage.json into each run folder and prints a comparison: pages visited and inspected, controls used, API paths and pages outside the map.

OptionWhat it does
--map <path>The app map.
--config <path>The project's qaila.config.json. By default, the one in this folder or in ./qaila/.

qaila dedupeUses Claude

Merge re-worded duplicate findings with a model pass.

qaila dedupe --db <findings.db | project URL> [--run <id>]

qaila run does this automatically at the end of a run. Merges are reversible in Qaila.

OptionWhat it does
--db <target>A local findings database, or the project's Qaila API URL.
--run <id>Only findings seen in this run.
--model <id>The model to use. Default: sonnet
--dry-runShow what would be merged without changing anything.

qaila import-findings

Import findings.json files from older runs into a findings database.

qaila import-findings --db <findings.db> [--map app-map.json] <run folder> …
OptionWhat it does
--db <path>The findings database to import into.
--map <path>The app map, to resolve pages.
--label-prefix <text>Prefix for labels from benchmark matches.

Everywhere

qaila --versionPrint the version.
qaila help [command]List the commands, or show one command's options.
qaila <command> --helpShow that command's options.

A .env file next to qaila.config.json is loaded first, so test-account passwords can live there and be referenced from the config as env:VAR.

© 2026 QailaTerms · Privacy · hello@qaila.app