kw-login-supabase-cli

Installation
SKILL.md

Login Supabase CLI

Authenticate with Supabase CLI and link a project. Execute ALL steps automatically. Only pause when user input is truly needed.

RULES:

  • NEVER write tokens, secrets, or private keys to .env or any file.
  • NEVER add .env to .gitignore. The .env only contains public/publishable keys and should be committed.
  • NEVER read .env — it's not needed for CLI setup.
  • CLI auth is always via npx supabase login in the user's terminal. Never use --token-stdin or paste tokens.

Workflow — Execute all steps sequentially

Step 1: Authenticate

Run npx supabase projects list to test auth.

If it works: Show the project list and ask: "Is this the correct Supabase account for this project?" Options:

  • "Yes" → continue to Step 2
  • "No, different account" → tell user to run npx supabase login in their terminal, wait for confirmation, then re-verify
Related skills
Installs
9
GitHub Stars
1
First Seen
Mar 29, 2026