auth0-cli
Reference for Auth0 CLI commands — apps, apis, users, roles, organizations, actions, logs, custom domains, universal-login, terraform, raw API mode, and --json output. Use this skill whenever you need to run Auth0 CLI commands to create or manage applications, APIs, users, roles, organizations, actions, log streams, custom domains, or Universal Login configuration, or when you need to call the Auth0 Management API directly. Trigger on prompts like "create an Auth0 app", "list my Auth0 users", "assign a role", "set up an organization", "deploy an action", "configure a custom domain", "generate Terraform for Auth0", "stream Auth0 logs", "call the Management API", or any task involving the auth0 CLI tool.
What this skill does
# Auth0 CLI — Command Reference The Auth0 CLI (`auth0`) lets you manage your tenant from the terminal. Install it via Homebrew (`brew install auth0/auth0-cli/auth0`). For complete flag definitions and examples, see the [Full CLI Reference](references/cli.md). --- ## Before You Start: Authenticate ```bash auth0 login # interactive device-code login auth0 login --scopes "read:client_grants" # request extra scopes if 403 auth0 login --domain <tenant>.auth0.com --client-id <id> --client-secret "$AUTH0_CLIENT_SECRET" # CI/CD ``` See [Authentication Details](references/cli.md#authentication) for machine login with JWT, tenant management, and logout. --- ## Quick Decision Guide | What you're doing | Command to use | |-------------------|---------------| | Setting up a new project | `auth0 apps create --type spa\|regular\|m2m\|native --json` | | Need a client ID or secret | `auth0 apps show <id> -r --json` | | Registering a backend API | `auth0 apis create --identifier "https://..." --json` | | Finding a user's ID | `auth0 users search --query "email:..." --json` | | Creating/managing roles (RBAC) | `auth0 roles create` / `auth0 users roles assign` | | B2B multi-tenancy | `auth0 orgs create` | | Custom login logic | `auth0 actions create --trigger post-login --json` | | Branding the login page | `auth0 ul update --logo ... --accent ...` | | Custom domain for login | `auth0 domains create --domain "auth.myapp.com" --json` | | Debugging a failed login | `auth0 logs tail --filter "type:f" --json-compact` | | Testing a login flow | `auth0 test login <client-id>` | | Exporting config as Terraform | `auth0 terraform generate --output-dir ./terraform` | | Managing connections, grants, hooks | `auth0 api get <path>` | | Scripting / parsing output | Add `--json` or `--json-compact` to any command | | Security hardening | `auth0 protection brute-force-protection update --enabled true` | | Routing logs externally | `auth0 logs streams create datadog\|http\|splunk` | | Bulk importing users | `auth0 users import --connection-name ... --users '...' --json` | --- ## Command Overview ### Apps — Manage Applications Create or inspect Auth0 applications (client ID, secret, callback URLs, app type). Alias: `auth0 clients`. ```bash auth0 apps create --name "My SPA" --type spa \ --auth-method None \ --callbacks "http://localhost:3000" \ --logout-urls "http://localhost:3000" \ --origins "http://localhost:3000" --json auth0 apps list --json-compact auth0 apps show <client-id> --json auth0 apps update <client-id> --callbacks "http://localhost:3000,https://myapp.com" --json auth0 apps delete <client-id> --force ``` App types: `spa`, `regular`, `m2m`, `native`, `resource_server` Full details: [Apps Reference](references/cli.md#apps) ### APIs — Manage API Resources Register backend APIs (Resource Servers) to protect with Auth0 tokens. Alias: `auth0 resource-servers`. ```bash auth0 apis create --name "My API" --identifier "https://api.myapp.com" \ --scopes "read:data,write:data" --token-lifetime 3600 --json auth0 apis list --json-compact auth0 apis scopes list <api-id> --json ``` **Key distinction:** `apps` = the client requesting tokens. `apis` = the resource accepting tokens. Full details: [APIs Reference](references/cli.md#apis) ### Users — Manage Users Create, search, inspect, import, and manage users in your tenant. ```bash auth0 users search --query "email:[email protected]" --json auth0 users search-by-email [email protected] --json-compact auth0 users create --connection-name "Username-Password-Authentication" \ --email "[email protected]" --password "$USER_PASSWORD" --json auth0 users show <user-id> --json auth0 users blocks list <email> --json auth0 users blocks unblock <email> auth0 users import --connection-name "Username-Password-Authentication" \ --users '[...]' --upsert --json ``` Full details: [Users Reference](references/cli.md#users) ### Roles — Manage RBAC Roles Create roles, assign permissions, and assign roles to users. The CLI has dedicated commands for all role operations. ```bash auth0 roles create --name "editor" --description "Can edit content" --json auth0 roles permissions add <role-id> --api-id <api-id> --permissions "read:data,write:data" --json auth0 users roles assign <user-id> --roles <role-id> auth0 users roles show <user-id> --json-compact ``` Full details: [Roles Reference](references/cli.md#roles) ### Organizations — B2B Multi-Tenancy Manage organizations for B2B SaaS scenarios. Alias: `auth0 orgs`. ```bash auth0 orgs create --name "acme-corp" --display "Acme Corporation" \ --logo "https://acme.com/logo.png" --accent "#FF6600" --json auth0 orgs members list <org-id> --json auth0 orgs invitations create --org-id <org-id> --invitee-email "[email protected]" \ --inviter-name "Admin" --client-id <id> --json ``` Full details: [Organizations Reference](references/cli.md#organizations) ### Actions — Serverless Auth Pipeline Create and deploy serverless functions at auth pipeline trigger points. Replaces deprecated Rules. ```bash auth0 actions create --name "Add Claims" --trigger "post-login" \ --code 'exports.onExecutePostLogin = async (event, api) => { ... }' --json auth0 actions deploy <action-id> ``` Triggers: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message` **Important:** You must `deploy` after creating or updating for changes to take effect. Full details: [Actions Reference](references/cli.md#actions) ### Logs — Debugging & Monitoring ```bash auth0 logs tail --filter "type:f" --json-compact # real-time failed logins auth0 logs list --filter "type:f" --number 20 --json-compact # historical ``` Common codes: `s` (success), `f` (failed login), `slo` (logout), `fs` (silent auth failure) Full details: [Logs Reference](references/cli.md#logs) ### Domains — Custom Domains ```bash auth0 domains create --domain "auth.myapp.com" --type "auth0_managed_certs" --json auth0 domains verify <domain-id> --json ``` Full details: [Domains Reference](references/cli.md#domains) ### Universal Login — Branding ```bash auth0 ul update --accent "#FF6600" --background "#FFFFFF" \ --logo "https://myapp.com/logo.png" --json ``` Full details: [Universal Login Reference](references/cli.md#universal-login) ### Terraform — Export as IaC ```bash auth0 terraform generate --output-dir ./terraform --resources "auth0_client,auth0_connection" ``` Full details: [Terraform Reference](references/cli.md#terraform) ### Test — Verify Login Flows ```bash auth0 test login <client-id> auth0 test login <client-id> --audience "https://api.myapp.com" --scopes "openid profile email" ``` Full details: [Test Reference](references/cli.md#test) ### Attack Protection — Security Hardening ```bash auth0 protection brute-force-protection update --enabled true auth0 protection breached-password-detection update --enabled true auth0 protection bot-detection update --enabled true ``` Full details: [Attack Protection Reference](references/cli.md#attack-protection) ### Log Streams — External Routing ```bash auth0 logs streams create datadog # interactive setup auth0 logs streams create http # custom webhook auth0 logs streams list --json ``` Supported: eventbridge, eventgrid, http, datadog, splunk, sumo Full details: [Log Streams Reference](references/cli.md#log-streams) ### Raw API Mode — Direct Management API Access When a dedicated command doesn't exist, `auth0 api` calls Management API v2 endpoints directly. ```bash auth0 api get connections auth0 api post client-grants --data '{"client_id":"...","audience":"...","scope":["read:data"]}' auth0 api get stats/daily -q "from=20240101" -q "to=20240131" ``` Full details: [Raw API Reference](references/cli.md#raw-api-mode) --- ## Output Formatting Always use `--json` or `--json-compact` for machine-readable output. Three modes (mutually exclusive): | Flag |
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.