com um clique
dev-auth
Authenticate with local development server and get CLI token
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Authenticate with local development server and get CLI token
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Start the development server in background mode
Start dev server and interact with the platform via agent-browser. Use when user asks to browse, test, or demo the platform UI, connect services, or perform any browser-based interaction with the local dev environment.
Reset turbo environment (clean node_modules, reinstall, sync DB)
Check if a PR, commit, or tag has been deployed to production
Query, investigate, and manage Sentry issues for debugging and incident response
Create or update a PR and hand it off to a coding agent worker via load balancing. Removes pending label if present, then assigns a worker.
| name | dev-auth |
| description | Authenticate with local development server and get CLI token |
Authenticate with local development server and get CLI token.
/dev-start first)Check if dev server is accessible via the Caddy reverse proxy:
if curl -k -s --connect-timeout 3 https://www.vm7.ai:8443/ > /dev/null 2>&1; then
echo "✅ Dev server is accessible at https://www.vm7.ai:8443"
else
echo "❌ Dev server is not accessible"
echo "Please run /start first or check if server is running"
exit 1
fi
Check and ensure all required environment variables are set in turbo/apps/web/.env.local:
PROJECT_ROOT=$(git rev-parse --show-toplevel)
ENV_FILE="$PROJECT_ROOT/turbo/apps/web/.env.local"
# Check NEXT_PUBLIC_APP_URL
if ! grep -q "^NEXT_PUBLIC_APP_URL=" "$ENV_FILE" 2>/dev/null; then
echo "⚠️ NEXT_PUBLIC_APP_URL not found, adding it..."
echo "NEXT_PUBLIC_APP_URL=http://localhost:3000" >> "$ENV_FILE"
echo "✅ Added NEXT_PUBLIC_APP_URL to .env.local"
echo "⚠️ Note: Dev server needs restart to pick up this change"
fi
# Check NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
if ! grep -q "^NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=" "$ENV_FILE" 2>/dev/null; then
echo "❌ NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY not found in .env.local"
echo "Please run: script/sync-env.sh"
exit 1
fi
# Check CLERK_SECRET_KEY
if ! grep -q "^CLERK_SECRET_KEY=" "$ENV_FILE" 2>/dev/null; then
echo "❌ CLERK_SECRET_KEY not found in .env.local"
echo "Please run: script/sync-env.sh"
exit 1
fi
echo "✅ All required environment variables are present"
Build and install the CLI globally:
PROJECT_ROOT=$(git rev-parse --show-toplevel)
cd "$PROJECT_ROOT/turbo/apps/cli" && pnpm build && pnpm link --global
PROJECT_ROOT=$(git rev-parse --show-toplevel)
cd "$PROJECT_ROOT" && npx tsx e2e/cli-auth-automation.ts $(printenv VM0_API_URL)
This script:
vm0 auth login with the current VM0_API_URL$(hostname)+clerk_test@vm0.ai~/.vm0/config.jsoncat ~/.vm0/config.json
✅ CLI authentication successful!
Auth token saved to: ~/.vm0/config.json
You can now use the CLI with local dev server:
- vm0 auth status
- vm0 project list
If authentication fails:
/dev-logsturbo/apps/web/.env.local