supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
gpt-delegation
Use when blocked, stuck, or needing fresh perspective. Consults GPT experts via Codex CLI with graceful fallback.
Full skill instructions
Purpose: Intelligent Codex/GPT consultation for complex problems, escalation when stuck
# Graceful fallback + delegation (see CRITICAL WARNING below for valid parameters)
if ! command -v codex &> /dev/null; then
echo "Warning: Codex CLI not installed - falling back to Claude-only analysis"
return 0
fi
codex exec -m gpt-5.2 -s workspace-write -c reasoning_effort=medium --json "TASK: [goal]
EXPECTED: [outcome], CONTEXT: [attempts, errors, iteration], MUST: Analyze failures, fresh approach, report files"
MANDATORY: All GPT delegation points MUST include graceful fallback.
if ! command -v codex &> /dev/null; then
echo "Warning: Codex CLI not installed - falling back to Claude-only analysis"
return 0 # NOT an error, continue with Claude
fi
Key Points:
MANDATORY: Use EXACT values below - NO variations allowed
Valid -s modes: read-only | workspace-write | danger-full-access
FORBIDDEN: workspace-read, read-write, write (Claude often creates invalid combinations)
Valid -c value: reasoning_effort=medium ONLY (NOT high/low)
Required: -m gpt-5.2 --json "PROMPT"
| Trigger | Expert | Mode | When to Delegate |
|---|---|---|---|
| 2+ failed attempts | Architect | workspace-write | Progressive escalation |
| Stuck on task | Architect | workspace-write | Fresh perspective |
| Architecture decision | Architect | read-only | Design guidance |
| Security concern | Security Analyst | read-only | Vulnerability assessment |
| Ambiguous plan | Scope Analyst | read-only | Requirements clarification |
| Large plan (5+ SCs) | Plan Reviewer | read-only | Plan validation |
Formula:
confidence = 1.0 - (architecture_keywords * 0.3) - (multiple_approaches * 0.2) - (uncertainty_markers * 0.2)
Scale: 0.0 - 1.0
Thresholds:
Detection Patterns:
Principle: Delegate ONLY after 2nd failure, not first
Attempt 1 (Claude) → Fail
↓
Attempt 2 (Claude) → Fail
↓
Attempt 3 (GPT Architect) → Success
| Expert | Purpose | When | Mode | Output |
|---|---|---|---|---|
| Architect | Fresh perspective on implementation | 2+ failures, stuck, architecture | workspace-write | Root cause, fresh approach, files modified |
| Security Analyst | Vulnerability assessment | Security concerns, auth, sensitive data | read-only | OWASP findings, severity, fixes |
| Plan Reviewer | Plan validation | 5+ SCs, complex deps, high-risk | read-only | Quality (1-10), clarity, feasibility, risks |
| Scope Analyst | Requirements clarification | Ambiguous requirements, edge cases | read-only | Ambiguities, assumptions, acceptance criteria |
| Code Reviewer | Code quality assessment | Explicit review, quality concerns | read-only | Quality issues, violations, refactoring |
# After 2nd failure
if [ $iteration -ge 2 ] && [ $TEST_RESULT -ne 0 ]; then
PROMPT="TASK: Fix failing test ${TEST_NAME}
EXPECTED OUTCOME: All tests pass
CONTEXT: Previous attempts: ${ATTEMPT_SUMMARY}, Errors: $(cat /tmp/test.log | tail -20)"
codex exec -m gpt-5.2 -s workspace-write -c reasoning_effort=medium --json "$PROMPT"
fi
# Large plan review
if [ $(echo "$PLAN" | grep -c "SC-") -ge 5 ]; then
PROMPT="Review plan: $PLAN (Clarity, Completeness, Feasibility, Dependencies, Risks)"
codex exec -m gpt-5.2 -s read-only -c reasoning_effort=medium --json "$PROMPT"
fi
Symptom: Warning message about Codex CLI not installed
Solution: Expected behavior. Skill gracefully falls back to Claude-only analysis.
Causes: 1) Trigger not met (< 2 failures) 2) Skill not loaded 3) Codex check failing
Debug: Check echo $iteration, verify grep -r "gpt-delegation" .claude/skills/, test command -v codex
Solution: Document previous attempts clearly with errors and stack traces.
Internal: @.claude/skills/gpt-delegation/REFERENCE.md - Complete prompt templates, integration examples, troubleshooting | @.claude/skills/ralph-loop/SKILL.md - Ralph Loop integration with GPT delegation
External: Codex Documentation
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.
Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
Send, read, and manage Gmail messages, drafts, labels, and account settings.
Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.
Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.
Discover your celebrity doppelgänger with StarByFace!
GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams
Detect AI-generated voices to protect against audio fraud.
Ensure Your Content's Originality with AI Plagiarism Checker
Upscale images by 400% without quality loss
Protect your social media from copyright disputes
Accurately Detect AI-Generated Content with TheChecker.AI
Chrome extension that detects and flags AI-generated content