b2c-am
Manage Account Manager resources including API clients, users, roles, and organizations. Use this skill whenever the user needs to create or update API clients, onboard or offboard developers, assign Account Manager roles scoped to tenants, audit user permissions, look up organizations, or provision API clients for CI/CD pipelines. Also use when managing AM role assignments or querying Account Manager data — even if they just say "add a new developer" or "set up an API client". For instance-level Business Manager administration (BM roles, BM users, BM access keys, BM whoami), defer to the `b2c-cli:b2c-bm-users-roles` skill.
What this skill does
# B2C Account Manager Skill Use the `b2c am` commands to manage Account Manager resources: API clients, users, roles, and organizations. > **Tip:** If `b2c` is not installed globally, use `npx @salesforce/b2c-cli` instead (e.g., `npx @salesforce/b2c-cli am clients list`). ## Authentication Account Manager commands work out of the box with no configuration. The CLI uses a built-in public client and opens a browser for login. - **Zero-config (browser login):** Default. Just run the commands -- the CLI opens a browser for login. - **Client credentials:** For CI/CD and automation. Pass `--client-id` and `--client-secret` (or set `SFCC_CLIENT_ID` and `SFCC_CLIENT_SECRET` env vars). - **Force browser login (`--user-auth`):** When client credentials are configured but you need browser-based login (required for org and client management). ### Role Requirements | Operations | Client Credentials (roles on API client) | User Auth (roles on user account) | |---|---|---| | AM Users & Roles | User Administrator | Account Administrator or User Administrator | | AM Organizations | Not supported -- use `--user-auth` | Account Administrator | | AM API Clients | Not supported -- use `--user-auth` | Account Administrator or API Administrator | Organization and API client management are only available with user authentication. For Business Manager administration (BM roles, users, access keys, whoami), see the `b2c-cli:b2c-bm-users-roles` skill. ## API Clients ### List Clients ```bash b2c am clients list # with pagination b2c am clients list --size 50 --page 2 # JSON output b2c am clients list --json ``` ### Get Client ```bash # by UUID b2c am clients get <api-client-id> # with expanded organizations and roles b2c am clients get <api-client-id> --expand organizations,roles ``` ### Create Client Clients are created inactive by default. Requires user auth. ```bash b2c am clients create \ --name "My API Client" \ --orgs <org-id> \ --password "securePassword123" # with roles, role tenant filter, and redirect URLs b2c am clients create \ --name "CI/CD Pipeline" \ --orgs <org-id> \ --password "securePassword123" \ --roles SALESFORCE_COMMERCE_API \ --role-tenant-filter "SALESFORCE_COMMERCE_API:zzxy_prd" \ --redirect-urls "https://example.com/callback" \ --active ``` ### Update Client Partial update -- only specified fields are changed. ```bash b2c am clients update <api-client-id> --name "New Name" b2c am clients update <api-client-id> --active ``` ### Change Client Password ```bash b2c am clients password <api-client-id> --current "oldPass" --new "newSecurePass123" ``` ### Delete Client Client must be disabled for 7+ days before deletion. Destructive operation (safe mode check). ```bash b2c am clients delete <api-client-id> ``` ## Users ### List Users ```bash b2c am users list # with extended columns (roles, organizations) b2c am users list --extended # JSON output with pagination b2c am users list --size 100 --json ``` ### Get User ```bash b2c am users get [email protected] # with expanded roles and organizations b2c am users get [email protected] --expand-all ``` ### Create User ```bash b2c am users create \ --org "My Organization" \ --mail [email protected] \ --first-name Jane \ --last-name Doe ``` The `--org` flag accepts either an org ID or org name. Users are created in INITIAL state with no roles. ### Update User ```bash b2c am users update [email protected] --first-name Janet --last-name Smith ``` ### Delete User Soft-deletes by default. Use `--purge` for hard delete (user must already be in DELETED state). ```bash # soft delete b2c am users delete [email protected] # hard delete (purge) b2c am users delete [email protected] --purge ``` ### Reset User Password Resets password to INITIAL state, clearing expiration. Destructive operation (safe mode check). ```bash b2c am users reset [email protected] ``` ## Roles ### List Roles ```bash b2c am roles list # filter by target type b2c am roles list --target-type User b2c am roles list --target-type ApiClient ``` ### Get Role ```bash b2c am roles get bm-admin b2c am roles get SLAS_ORGANIZATION_ADMIN ``` ### Grant Role to User ```bash b2c am roles grant [email protected] --role bm-admin # with tenant scope b2c am roles grant [email protected] --role bm-admin --scope zzzz_001,zzzz_002 ``` ### Revoke Role from User ```bash # revoke entire role b2c am roles revoke [email protected] --role bm-admin # revoke specific tenant scopes only b2c am roles revoke [email protected] --role bm-admin --scope zzzz_001 ``` ## Organizations ### List Organizations ```bash b2c am orgs list # all organizations (max page size) b2c am orgs list --all # extended columns b2c am orgs list --extended ``` ### Get Organization Accepts org ID or name. ```bash b2c am orgs get <org-id> b2c am orgs get "My Organization" ``` ## Business Manager Administration BM-side resources (instance roles, instance users, access keys, whoami) live in the **`b2c-cli:b2c-bm-users-roles`** skill. Use it for: - `b2c bm roles` — list/get/create/delete instance access roles, grant/revoke users, manage permissions - `b2c bm users` — list, get, search, update, and delete instance users via the OCAPI `/users` resource - `b2c bm whoami` — show the BM user the current OAuth token resolves to - `b2c bm access-key` — provision and rotate WebDAV/OCAPI/Storefront access keys for SSO-managed users Defer to that skill for BM examples and patterns. AM-side onboarding flows (creating an AM user, granting AM roles scoped to tenants) stay here. ## Common Workflows ### User Onboarding ```bash # Create the user b2c am users create --org $ORG_ID --mail [email protected] \ --first-name Alex --last-name Developer # Grant Business Manager Admin role scoped to a specific tenant b2c am roles grant [email protected] --role bm-admin --scope zzxy_prd ``` ### User Offboarding ```bash # Revoke roles b2c am roles revoke [email protected] --role bm-admin # Soft delete the user b2c am users delete [email protected] # Permanent deletion (user must be in DELETED state first) b2c am users delete [email protected] --purge ``` ### Bulk Operations with JSON ```bash # Export all users as JSON b2c am users list --size 4000 --json # Pipe to jq for filtering b2c am users list --json | jq '.[] | select(.userState == "ACTIVE")' ``` ## Common Patterns All `am` commands support `--json` for programmatic output. List commands support `--columns`, `--extended`, `--size`, and `--page` for pagination and column control. Destructive operations (user delete, user reset, client delete) check safe mode. Only delete or purge users when explicitly requested. ### More Commands See `b2c am --help` for a full list of available commands and options.
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.