Clerk Auth
davila7/claude-code-templates
Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authentication, sign in, sign up.
Set up the MoonPay CLI, authenticate, and manage local wallets.
$ npx skills add moonpay/skills --skill moonpay-auth -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install moonpay/skills moonpay-auth --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/moonpay-auth .claude/skills/moonpay-auth && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .claude/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/moonpay/skills/tree/main/skills/moonpay-authType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add moonpay/skills --skill moonpay-auth -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install moonpay/skills moonpay-auth --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/moonpay-auth .agents/skills/moonpay-auth && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .agents/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moonpay/skills --skill moonpay-auth -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install moonpay/skills moonpay-auth --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/moonpay-auth .cursor/skills/moonpay-auth && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .cursor/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/moonpay/skills.git --path skills/moonpay-auth--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add moonpay/skills --skill moonpay-auth -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install moonpay/skills moonpay-auth --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/moonpay-auth .gemini/skills/moonpay-auth && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .gemini/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install moonpay/skills moonpay-authInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add moonpay/skills --skill moonpay-auth -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/moonpay-auth .github/skills/moonpay-auth && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .github/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add moonpay/skills --skill moonpay-auth -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install moonpay/skills moonpay-auth --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/moonpay/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/moonpay-auth .opencode/skills/moonpay-auth && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "moonpay-auth" agent skill from https://github.com/moonpay/skills/tree/main/skills/moonpay-auth into .opencode/skills/moonpay-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "moonpay-auth", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
moonpay-authSet up the MoonPay CLI, authenticate, and manage local wallets.
Moonpay Auth is an agent skill from moonpay/skills. Set up the MoonPay CLI, authenticate, and manage local wallets. Use when commands fail, for login, or to create/import wallets.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Skills for AI agents to move money — on-ramps, swaps, wallets, deposits, and more via the MoonPay CLI. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit aa672ab. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Moonpay Auth loads about 1.2k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 479 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from moonpay/skills at commit aa672ab, republished under its MIT licence (© moonpay). 479 words, ~1,174 tokens.
.claude/skills/moonpay-auth/SKILL.md (or your agent's skills folder).npm i -g @moonpay/cliThis installs the mp (and moonpay) binary globally.
mp --version
mp --help# Log in — returns a URL. Open it yourself if you can, otherwise share it with the user verbatim; opening it triggers the OTP code email.
mp login --email user@example.com
# Verify OTP code (user pastes it back from their email)
mp verify --email user@example.com --code 123456
# Check current user
mp user retrieve
# Log out
mp logoutmp login returns a URL. If you can open it yourself (e.g., browser access or a programmatic fetch), do that — it triggers the OTP email send. Otherwise, post the URL back to the user verbatim (don't paraphrase or strip query parameters) and let them open it. Either way the OTP lands in the user's email; they paste the code back, and you run mp verify.
Never call mp login blindly. Every login attempt must be preceded by a session check:
Run mp user retrieve first.
If it succeeds, a session already exists. Tell the user which account is signed in and ask whether to switch:
"You're currently signed in as
<email>. Log out and sign in as a different user? Reply YES to switch."
Only on an explicit affirmative, run mp logout and then proceed with mp login. If the user declines or says anything ambiguous, treat the existing session as the one to use and skip the login.
If it fails (no session), proceed with mp login as normal.
This matters because on a chat channel the user cannot see which account a command runs against. Without the confirmation step, an agent on a shared host can silently switch identities — and a "what's my balance" query returns someone else's portfolio. The check is one extra command; the alternative is a privacy incident.
The CLI manages local wallets stored encrypted in ~/.config/moonpay/wallets.json. Private keys are encrypted with AES-256-GCM using a random key stored in your OS keychain. No password required — keys never leave the machine.
# Create a new HD wallet (Solana, Ethereum, Bitcoin, Tron)
mp wallet create --name "my-wallet"
# Import from a mnemonic (all chains)
mp wallet import --name "restored" --mnemonic "word1 word2 ..."
# Import from a private key (single chain)
mp wallet import --name "imported" --key <hex-key> --chain ethereum
# List all local wallets
mp wallet list
# Get wallet details (by name or address)
mp wallet retrieve --wallet "my-wallet"
# Export mnemonic/key (interactive only — agents cannot run this)
mp wallet export --wallet "my-wallet"
# Delete a wallet (irreversible)
mp wallet delete --wallet "my-wallet" --confirmmp user retrieve to check if authenticated. If a session already exists, follow the prompt rules in Before logging in above before starting a new login.mp login --email <email>, share the returned URL with the user, then run mp verify --email <email> --code <code> once they paste back the code from their email.mp wallet list to see local wallets.mp wallet create --name "default".Agents can log in without human intervention if they have access to the user's email. For example, with the gog CLI (Google Workspace):
# 1. Send OTP
mp login --email user@example.com
# 2. Read the OTP code from email
gog gmail search "Your MoonPay verification code" --max-results 1
# 3. Verify with the code
mp verify --email user@example.com --code <code>This enables fully autonomous agent setup — no human in the loop.
~/.config/moonpay/wallets.json (encrypted, AES-256-GCM)moonpay-cli / encryption-key)~/.config/moonpay/credentials.json (encrypted, AES-256-GCM)~/.config/moonpay/config.json (base URL, client ID)wallet export requires an interactive terminal (TTY) — agents and scripts cannot extract secrets© moonpay, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/moonpay-auth of moonpay/skills.
Open the folder on GitHubat commit aa672ab
Moonpay Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Moonpay Auth this skillmoonpay/skills | 113 | — | ~1.2k | Automated safety check: Pass | MIT | |
| Clerk Authdavila7/claude-code-templates | 32k | 4 repos | ~376 | Automated safety check: Pass | MIT | |
| Authmicrosoft/apm | 4k | — | ~756 | Automated safety check: Pass | MIT | |
| Agent Authenticationruvnet/ruflo | 74k | 3 repos | ~711 | Automated safety check: Pass | MIT | |
| Browser Auth Flowruvnet/ruflo | 74k | — | ~805 | Automated safety check: Notes | MIT | |
| OmniRoute Authenticationdiegosouzapw/OmniRoute | 74k | — | ~1.8k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authentication, sign in, sign up.
microsoft/apm
Activate when code touches token management, credential resolution, git auth flows, GITHUBAPMPAT, ADOAPMPAT, AuthResolver, HostInfo, AuthContext, or any remote host authentication -- even if 'auth'…
ruvnet/ruflo
Agent skill for authentication - invoke with $agent-authentication
ruvnet/ruflo
Probe a site's authentication flow for redirect leaks, missing CSRF, weak session cookies, and OAuth misconfiguration; produces an auth findings.md
diegosouzapw/OmniRoute
Documents how OmniRoute authenticates requests: Bearer credentials for the API, management-password login with session cookies, CSRF tokens and optional OIDC for the dashboard.
EpicenterHQ/epicenter
Epicenter auth packages: @epicenter/auth and the Svelte adapter at @epicenter/auth/svelte, OAuth sessions, identity state, auth-owned fetch/WebSocket, and the reload gate that makes a page lifetime…
moonpay/skills
A skill your agent uses when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.
moonpay/skills
Integrates Alchemy blockchain APIs using an API key. An agent skill from moonpay/skills.
moonpay/skills
Query blockchain data via Allium APIs. An agent skill from moonpay/skills.
moonpay/skills
Paid API marketplace for AI agents via Corbits. An agent skill from moonpay/skills.
moonpay/skills
Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage.
moonpay/skills
Check wallet balances and holdings. An agent skill from moonpay/skills.
Set up the MoonPay CLI, authenticate, and manage local wallets. Moonpay Auth is an agent skill from moonpay/skills. Set up the MoonPay CLI, authenticate, and manage local wallets.
Moonpay Auth fits situations like: create/import wallets.
Run `npx skills add moonpay/skills --skill moonpay-auth -a claude-code`. Or copy the skill folder (skills/moonpay-auth in moonpay/skills) into .claude/skills/moonpay-auth in your project. Claude Code loads it when a task matches its description.
Run `npx skills add moonpay/skills --skill moonpay-auth -a codex`. Or copy the skill folder (skills/moonpay-auth in moonpay/skills) into .agents/skills/moonpay-auth in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moonpay/skills --skill moonpay-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/moonpay-auth, .gemini/skills/moonpay-auth, .github/skills/moonpay-auth and .opencode/skills/moonpay-auth in your project.
Going by SKILL.md and its folder, Moonpay Auth needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Moonpay Auth is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Moonpay Auth: Clerk Auth (davila7/claude-code-templates, 32k stars), Auth (microsoft/apm, 4k stars), Agent Authentication (ruvnet/ruflo, 74k stars) and Browser Auth Flow (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
moonpay (a GitHub organization) maintains it in moonpay/skills, which has 113 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on September 10, 2026.
Source: moonpay/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.