clerk-cli
Agent skill from clerk/skills.
What it does
- OS credential store: clerk auth login stores the OAuth token in the
- Home-directory Clerk state: saved config, cached metadata, and fallback
- Linked project metadata: resolved from the repo's git remote plus Clerk
- Local .env files: publishable and secret keys materialized by
- Outbound network access to Clerk: every Backend and Platform API call.
- Browser + localhost OAuth callback: clerk auth login needs both.
- Mutations still require --yes unless you accept per-call confirmation is impossible.
Requirements & configuration
- binding, or network access may be blocked. The Clerk CLI depends on all of
- OS credential store: clerk auth login stores the OAuth token in the
- Browser + localhost OAuth callback: clerk auth login needs both.
- 2. Inspect only what you need.
- node -e 'const d=require("/tmp/users.json"); console.log(d.data.length, d.hasMore)'
Configuration: CLERK_PLATFORM_API_KEYCLERK_MODE
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
Source
Repository: https://github.com/clerk/skills
clerk-cli FAQ
What does the clerk-cli skill do?
>- Operate the Clerk CLI (`clerk` binary) for authentication, user/org/session management, impersonation, local webhook testing, deploy verification, instance config, env keys, feature toggles, and any Clerk Backend, Platform, or Frontend API call. Use when the user mentions Clerk management tasks, "list clerk users", "impersonate a user", "test webhooks locally", "enable orgs", "enable billing", "clerk env pull", "clerk doctor", "clerk deploy", "clerk api", or any ad-hoc Clerk API request. Prefer the CLI over raw HTTP: it handles auth, key resolution, app/instance targeting, and formatting automatically. OS credential store: clerk auth login stores the OAuth token in the Home-directory Clerk state: saved config, cached metadata, and fallback
What does clerk-cli require?
binding, or network access may be blocked. The Clerk CLI depends on all of OS credential store: clerk auth login stores the OAuth token in the Browser + localhost OAuth callback: clerk auth login needs both. 2. Inspect only what you need. node -e 'const d=require("/tmp/users.json"); console.log(d.data.length, d.hasMore)' Configuration keys: CLERK_PLATFORM_API_KEY, CLERK_MODE.
How do I install clerk-cli?
Run: npx -y skills add https://github.com/clerk/skills --skill clerk-cli --agent claude-code — the source lives at github.com/clerk/skills.
Maintain clerk-cli?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/clerk-skills-clerk-cli?ref=badge) npx agentictools info skills/clerk-skills-clerk-cli The second line is the CLI lookup for this page — handy in READMEs and docs.