1. Install
- One-shot (npx)
- Global
- Project-local
No install — runs the latest published version on demand:Slower per-invocation (npm fetches metadata). Best for occasional use.
2. Sign in
Browser OAuth is best for interactive use. Existing
USERINTUITION_API_KEY environments continue to work and take precedence over saved credentials.3. Verify the connection
studies array (possibly empty) confirms the CLI, your login, and network egress to api.userintuition.ai are all working.
4. Create an API key for stdio or CI
After OAuth login, the CLI can create and save an organization-scoped key:ui_sk_... key is returned once and saved locally with file mode 0600. Subsequent CLI calls and local stdio MCP sessions use it automatically. For CI, copy it into the USERINTUITION_API_KEY secret in your CI provider rather than copying the local credentials file.
5. First real call
Estimate the cost of fielding a panel for one of your studies without spending anything:--dry_run to false.
Next steps
Command reference
Full reference for
list, describe, call, and every flag.Recipes
CI cost gates, lifecycle scripts, batch operations.

