$npx -y skills add indranilbanerjee/socialforge --skill setupOne-time setup for image and video generation APIs. Run this before any creative production.
| 1 | # /socialforge:setup — API Credential Configuration |
| 2 | |
| 3 | One-time setup that stores credentials persistently. Run once, works forever across all sessions. |
| 4 | |
| 5 | ## Context efficiency |
| 6 | |
| 7 | Asset-heavy skill. **Grep before Read** the asset catalog (`${CLAUDE_PLUGIN_DATA}/<brand>/assets/index.json`) — never list the asset directory. Reference generated images / videos by path, not by loading metadata. Brand profile loads once per session. |
| 8 | |
| 9 | ## What This Does |
| 10 | |
| 11 | Configures two services that SocialForge needs for creative production: |
| 12 | |
| 13 | 1. **Google Cloud Vertex AI** (required for images) — Gemini Nano Banana 2 + Pro |
| 14 | 2. **WaveSpeed** (required for video) — Kling v3.0 Pro for image-to-video |
| 15 | |
| 16 | ## Prerequisites |
| 17 | |
| 18 | Your admin provides you with: |
| 19 | - A **Google Cloud service account JSON file** (for image generation) |
| 20 | - A **WaveSpeed API key** (for video generation) |
| 21 | |
| 22 | If you are the admin, see the Admin Setup section below. |
| 23 | |
| 24 | ## How to Run |
| 25 | |
| 26 | ``` |
| 27 | /socialforge:setup |
| 28 | ``` |
| 29 | |
| 30 | ## Interactive Flow |
| 31 | |
| 32 | ### Step 0: Install Dependencies (Automatic) |
| 33 | |
| 34 | Run this first — installs all required Python packages: |
| 35 | ```bash |
| 36 | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/install_deps.py" |
| 37 | ``` |
| 38 | |
| 39 | This auto-installs: google-genai (Vertex AI), wavespeed (Kling video), Pillow (compositing), imageio-ffmpeg (video post-processing), playwright (carousels). |
| 40 | |
| 41 | If any package fails, show the manual install command and continue. |
| 42 | |
| 43 | ### Step 1: Image Generation (Vertex AI) |
| 44 | |
| 45 | Check if already configured: |
| 46 | ```bash |
| 47 | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" status |
| 48 | ``` |
| 49 | |
| 50 | If not configured, ask: |
| 51 | |
| 52 | ``` |
| 53 | Image Generation Setup (Google Cloud Vertex AI) |
| 54 | |
| 55 | Do you have a Google Cloud service account JSON file? |
| 56 | Provide the full file path (e.g., C:\Users\you\Downloads\socialforge-credentials.json) |
| 57 | |
| 58 | Or type "skip" to configure later (image generation will not work). |
| 59 | ``` |
| 60 | |
| 61 | When user provides the path: |
| 62 | ```bash |
| 63 | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-vertex --json-path "<user-provided-path>" |
| 64 | ``` |
| 65 | |
| 66 | Show the result. If success: |
| 67 | ``` |
| 68 | Image generation configured. |
| 69 | Project: <project_id> |
| 70 | Service Account: <email> |
| 71 | Models available: gemini-2.5-flash-image (Nano Banana 2), gemini-3-pro-image-preview (Nano Banana Pro) |
| 72 | ``` |
| 73 | |
| 74 | ### Step 2: Video Generation (WaveSpeed) |
| 75 | |
| 76 | ``` |
| 77 | Video Generation Setup (WaveSpeed / Kling v3.0) |
| 78 | |
| 79 | Do you have a WaveSpeed API key? |
| 80 | Paste the key here |
| 81 | |
| 82 | Or type "skip" to configure later (video generation will not work). |
| 83 | ``` |
| 84 | |
| 85 | When user provides the key: |
| 86 | ```bash |
| 87 | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-wavespeed --api-key "<user-provided-key>" |
| 88 | ``` |
| 89 | |
| 90 | Show the result. If success: |
| 91 | ``` |
| 92 | Video generation configured. |
| 93 | Provider: WaveSpeed (Kling v3.0 Pro) |
| 94 | Models: image-to-video, text-to-video (3-15 seconds) |
| 95 | ``` |
| 96 | |
| 97 | ### Step 2.5: HiggsField (Optional Fallback) |
| 98 | |
| 99 | ``` |
| 100 | HiggsField Setup (Optional — adds fallback resilience) |
| 101 | |
| 102 | Do you have a HiggsField API key and secret? |
| 103 | → Paste the API key, then the API secret |
| 104 | |
| 105 | Or type "skip" (HiggsField is optional — Vertex AI and WaveSpeed are sufficient). |
| 106 | ``` |
| 107 | |
| 108 | When user provides both: |
| 109 | ```bash |
| 110 | python3 "${CLAUDE_PLUGIN_ROOT}/scripts/credential_manager.py" setup-higgsfield --api-key "<key>" --api-secret "<secret>" |
| 111 | ``` |
| 112 | |
| 113 | ### Step 3: Summary |
| 114 | |
| 115 | ``` |
| 116 | SocialForge API Setup Complete |
| 117 | |
| 118 | Image Generation: [configured / not configured] |
| 119 | Provider: Google Cloud Vertex AI |
| 120 | Project: <project_id> |
| 121 | Models: Nano Banana 2, Nano Banana Pro |
| 122 | |
| 123 | Video Generation: [configured / not configured] |
| 124 | Provider: WaveSpeed (Kling v3.0 Pro) |
| 125 | Modes: image-to-video, text-to-video |
| 126 | |
| 127 | HiggsField: [configured / skipped] |
| 128 | Provider: HiggsField (Soul v2 + Kling v2.1, fallback) |
| 129 | |
| 130 | Credentials stored persistently. No further setup needed. |
| 131 | |
| 132 | Next: /socialforge:brand-setup [brand-name] to configure your first brand. |
| 133 | ``` |
| 134 | |
| 135 | ## Arguments |
| 136 | |
| 137 | | Argument | Effect | |
| 138 | |----------|--------| |
| 139 | | (none) | Run full interactive setup | |
| 140 | | `--image` | Configure image generation only (Vertex AI) | |
| 141 | | `--video` | Configure video generation only (WaveSpeed) | |
| 142 | | `--fallback` | Configure HiggsField fallback only | |
| 143 | | `--status` | Show current configuration status | |
| 144 | | `--reset` | Remove all stored credentials and start fresh | |
| 145 | |
| 146 | ## Admin Setup Guide |
| 147 | |
| 148 | If you are setting up the cloud accounts for your team, follow these detailed guides. |
| 149 | |
| 150 | ### Google Cloud (Vertex AI — Image Generation) |
| 151 | |
| 152 | #### Step 1: Create a Google Cloud Project |
| 153 | 1. Open https://console.cloud.google.com/ |
| 154 | 2. If you don't have an account, click "Get started for free" and follow registration |
| 155 | 3. Click the project dropdown at the top of the page (next to "Google Cloud") |
| 156 | 4. Click "NEW PROJECT" |
| 157 | 5. Enter a project name (e.g., "socialforge-production") |
| 158 | 6. Click "CREATE" |
| 159 | 7. Wait for the project to be created (30 seconds), then select it from the dropdown |
| 160 | |
| 161 | #### Step 2: Enable Billing |
| 162 | 1. Go to http |