AGENT SKILL

pm-auth0

Auth0 connector knowledge and safe action guide.

License 许可
AGPL-3.0
所属仓库
polymetrics-ai/cli
最近更新
2026-09-21
Stars
★ 7
Forks
0

01 前言 Front Matter

name
pm-auth0
description
Auth0 connector knowledge and safe action guide.

03 SKILL.md 正文

pm-auth0

Purpose

Reads Auth0 users, clients, connections, roles, organizations, role assignments, and organization memberships, and creates/updates users, clients, roles, and organizations, through the Auth0 Management API v2.

Icon

Capabilities

  • check=true catalog=true read=true write=true query=false
  • Integration type: api

Authentication

  • Use pm credentials add with --from-env or --value-stdin for secret fields.

Configuration

  • audience
  • base_url (required)
  • mode
  • access_token (secret)
  • client_id (secret)
  • client_secret (secret)

ETL Streams

  • users:
    • primary key: user_id
    • cursor: updated_at
    • fields: blocked(boolean), created_at(string), email(string), email_verified(boolean), family_name(string), given_name(string), last_login(string), logins_count(integer), name(string), nickname(string), picture(string), updated_at(string), user_id(string), username(string)
  • clients:
    • primary key: client_id
    • fields: app_type(string), client_id(string), description(string), global(boolean), is_first_party(boolean), name(string), oidc_conformant(boolean)
  • connections:
    • primary key: id
    • fields: display_name(string), id(string), is_domain_connection(boolean), name(string), strategy(string)
  • roles:
    • primary key: id
    • fields: description(string), id(string), name(string)
  • organizations:
    • primary key: id
    • fields: display_name(string), id(string), name(string)
  • role_users:
    • primary key: role_id, user_id
    • fields: email(string), name(string), picture(string), role_id(string), user_id(string)
  • organization_members:
    • primary key: organization_id, user_id
    • fields: email(string), name(string), organization_id(string), picture(string), user_id(string)

Sync Modes

  • ETL sync modes: full_refresh_append, full_refresh_overwrite, full_refresh_overwrite_deduped

Reverse ETL Actions

  • create_user:
    • endpoint: POST /api/v2/users
    • required fields: connection
    • risk: external mutation; creates a new Auth0 user account (and, when password is set, a live credential); approval required
  • update_user:
    • endpoint: PATCH /api/v2/users/{{ record.user_id }}
    • required fields: user_id
    • risk: external mutation; updates an existing Auth0 user's profile/credential/blocked state; approval required
  • create_client:
    • endpoint: POST /api/v2/clients
    • required fields: name
    • risk: external mutation; registers a new Auth0 application (client), which can obtain its own OAuth2 credentials; approval required
  • update_client:
    • endpoint: PATCH /api/v2/clients/{{ record.client_id }}
    • required fields: client_id
    • risk: external mutation; updates an existing Auth0 application's configuration; approval required
  • create_role:
    • endpoint: POST /api/v2/roles
    • required fields: name
    • risk: external mutation; creates a new RBAC role (no permissions attached by default); approval required
  • update_role:
    • endpoint: PATCH /api/v2/roles/{{ record.id }}
    • required fields: id
    • risk: external mutation; updates an existing RBAC role's name/description; approval required
  • create_organization:
    • endpoint: POST /api/v2/organizations
    • required fields: name
    • risk: external mutation; creates a new Auth0 organization (multi-tenant scoping unit); approval required
  • update_organization:
    • endpoint: PATCH /api/v2/organizations/{{ record.id }}
    • required fields: id
    • risk: external mutation; updates an existing Auth0 organization's name/display_name; approval required

Security

  • read risk: external Auth0 Management API read of user, client, and tenant configuration data, fanned out to per-role and per-organization membership lists
  • write risk: creates/updates Auth0 users (including credentials), applications (clients), RBAC roles, and organizations; approval required for every action
  • Never pass secret values in chat, shell arguments, logs, docs, or JSON output.

Commands

Inspect as a manual

pm connectors inspect auth0

Inspect as structured JSON

pm connectors inspect auth0 --json

Agent Rules

  • Run pm connectors inspect auth0 before creating credentials or plans.
  • Use --json only when the caller needs structured output; use the manual for human-readable guidance.
  • Never ask the user to paste secret values into chat.
  • For reverse ETL writes, create a plan, show the preview, wait for explicit approval, then run with the approval token.

04 同仓库更多 Skills