Agent Mode for the Auth0 CLI
Agents are increasingly operating the CLI to configure Auth0 on behalf of developers. The CLI wasn't built for that. A misspelled command could exit `0` like nothing went wrong. A routine re-login could hang forever waiting on a browser click that would never come. Finding the right command meant drilling through `--help` one level at a time. **Key Highlights:** - **One switch, auto-detected**: `--agent-mode` (or `AUTH0_AGENT_MODE=true`) turns on structured JSON output, disables prompts and color, and guarantees a non-zero exit code on failure. Auto-enables for recognized agent clients — no flag required. - **Structured errors**: every failure carries a stable `code`, a finer `reason`, and field-level detail on validation errors, instead of a sentence to parse. - **Full CLI discovery in one call**: `auth0 commands --flat` (add `--detailed` for the complete invocation shape). - **Schema-validated payloads**: `--schema` prints the exact payload a command expects, live from the OpenAPI spec; `--data` sends the whole payload as one JSON object, validated locally before it reaches the API. - **Docs search from the terminal**: `auth0 docs search "organizations"` — no login required. - **One-command setup**: `auth0 agent skills install` installs the Auth0 skill into Claude Code, Cursor, or all supported assistants. **Try it now:** Update with `brew upgrade auth0` and try `--agent-mode` on your next agent-driven run. **R…