Skip to content

indranilbanerjee/socialforge

Repository files navigation

SocialForge — Social Media Calendar Automation

Version: 1.4.0 Platform: Claude Code & Cowork Status: Production Ready (15 skills, 19 scripts, 5 agents, 25 commands, 10 HTTP connectors, 100% spec coverage)

Agency-grade social media calendar automation with asset-first compositing and AI video generation. Takes monthly content calendars, matches brand assets, generates AI-composed creative, renders carousels, produces AI-generated video clips, adapts copy per platform, produces review galleries and delivery documents.

Core Principle

Brand assets are sacred. AI is the creative layer around them.

Product photos, headshots, screenshots — these are the brand’s real visual identity. AI generates backgrounds, mood, and context around them. The brand asset stays pixel-faithful in every composition.

The Four Creative Modes

Mode When What Happens
ANCHOR_COMPOSE Brand photo is the centerpiece AI generates scene around the untouched asset
ENHANCE_EXTEND Brand photo is the base AI extends/enhances periphery, core stays faithful
STYLE_REFERENCED No specific asset needed AI generates using brand’s style reference photos as visual DNA
PURE_CREATIVE Generic/abstract content AI generates from text prompt + brand colors/mood

Quick Start

1. /sf:brand-setup [brand-name]    — Configure brand (5-10 min)
2. /sf:index-assets [brand-name]   — Index brand photo library
3. /sf:new-month [brand] [YYYY-MM] — Start monthly production
4. /sf:generate-all                — Produce all creative
5. /sf:review                      — Review and approve
6. /sf:finalize                    — Package for delivery

Architecture

  • 15 skills — Calendar parsing, asset indexing, creative composition, copy adaptation, review management
  • 25 commands — Monthly production, post generation, editing, review, approval, finalization
  • 5 agents — Image compositor, carousel builder, copy adapter, quality reviewer, compliance checker
  • 19 scripts — Deterministic execution (compositing, rendering, resizing, video post-processing, compliance checking)
  • 10 HTTP connectors — Notion, Canva, Slack, Gmail, Google Calendar, Figma, fal.ai, Replicate, Asana, Cloudinary
  • 4 hooks — SessionStart, PreToolUse (compliance), SubagentStart (brand injection), Stop (quality gate)

Installation

Option A: From Marketplace (recommended)

/plugin marketplace add indranilbanerjee/neels-plugins
/plugin install socialforge@neels-plugins

Option B: Direct from GitHub

claude plugins add github:indranilbanerjee/socialforge

Option C: From Local Directory

claude plugins add /path/to/socialforge

First-Time Setup (Required)

After installing the plugin, run the setup command in Claude Code:

/sf:setup

This configures two external API services that power SocialForge’s image and video generation:

  1. Google Cloud Vertex AI — Used for AI image generation (Gemini Nano Banana 2 / Pro models)
  2. WaveSpeed — Used for AI video generation (Kling v3.0 Pro model)

Your admin provides you with:

  • A Google Cloud service account JSON key file (for Vertex AI image generation)
  • A WaveSpeed API key (for video generation)

/sf:setup copies these credentials to persistent storage (${CLAUDE_PLUGIN_DATA}), so they work across all sessions automatically. You only need to run it once.

Without running /sf:setup, image and video generation will not work. All other SocialForge features (calendar parsing, copy adaptation, review galleries, etc.) function normally without it.

Updating to Latest Version

Plugins do NOT auto-update. When a new version is released, run:

claude plugin marketplace update neels-plugins
claude plugin update socialforge@neels-plugins

If the version number hasn’t changed but content was updated, force a reinstall:

claude plugin uninstall socialforge@neels-plugins
claude plugin install socialforge@neels-plugins

After updating, start a new conversation for changes to take effect.

Pre-Requisites for Image Generation

SocialForge uses Google Cloud Vertex AI for image generation. Without it, image generation will fail (it will NOT silently create placeholders).

Setup via /sf:setup (recommended):

  1. Your admin provides a Google Cloud service account JSON key file with Vertex AI access
  2. Run /sf:setup and point it to the JSON key file
  3. Credentials are stored persistently — no need to set environment variables manually

Alternative — Direct environment variable: If you prefer manual configuration, set the GOOGLE_APPLICATION_CREDENTIALS environment variable to point to your service account JSON file:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json

Alternative — fal.ai or Replicate: Connect via Connectors panel after installation for third-party image generation.

The SessionStart hook checks for valid image generation credentials on every session and warns if missing.

Admin Setup (One-Time)

Admins configure the cloud accounts once. Team members then just run /sf:setup with the credentials the admin shares.

Google Cloud (Vertex AI — Image Generation)

Step 1: Create a Google Cloud Project

  1. Open https://console.cloud.google.com/
  2. If you don’t have an account, click "Get started for free" and follow registration
  3. Click the project dropdown at the top of the page (next to "Google Cloud")
  4. Click "NEW PROJECT"
  5. Enter a project name (e.g., "socialforge-production")
  6. Click "CREATE"
  7. Wait for the project to be created (30 seconds), then select it from the dropdown

Step 2: Enable Billing

  1. Go to https://console.cloud.google.com/billing
  2. Click "LINK A BILLING ACCOUNT"
  3. If you don’t have a billing account, click "CREATE BILLING ACCOUNT"
  4. Add a payment method (credit card)
  5. New accounts get $300 free credits for 90 days

Step 3: Enable Vertex AI API

  1. Go to https://console.cloud.google.com/apis/library
  2. Search for "Vertex AI API"
  3. Click on it, then click "ENABLE"
  4. Wait for it to activate (takes a few seconds)

Step 4: Create a Service Account

  1. Go to https://console.cloud.google.com/iam-admin/serviceaccounts
  2. Click "+ CREATE SERVICE ACCOUNT"
  3. Service account name: socialforge-image-gen
  4. Description: SocialForge AI image generation
  5. Click "CREATE AND CONTINUE"
  6. In "Grant this service account access to project":
    • Click the "Select a role" dropdown
    • Type "Vertex AI User" in the search box
    • Select "Vertex AI User"
  7. Click "CONTINUE", then "DONE"

Step 5: Download the JSON Key File

  1. In the service accounts list, click on socialforge-image-gen
  2. Go to the "KEYS" tab
  3. Click "ADD KEY" then "Create new key"
  4. Select "JSON" and click "CREATE"
  5. A .json file downloads automatically — this is your credential file
  6. Save it somewhere safe on your computer

Step 6: Share with Your Team

Share the downloaded JSON file with your team via:

  • Slack DM (not in a public channel)
  • Email (encrypted if possible)
  • Shared company drive (restricted access)

NEVER commit this file to Git. NEVER share it publicly.

Cost: Image generation costs approximately $0.01-0.04 per image depending on resolution and model. All costs go to the admin’s billing account.

WaveSpeed (Kling v3.0 — Video Generation)

Step 1: Create a WaveSpeed Account

  1. Open https://wavespeed.ai
  2. Click "Sign Up" and create an account
  3. Verify your email

Step 2: Add Credits

  1. After logging in, go to your dashboard
  2. Click "Top Up" or navigate to billing
  3. Add credits (minimum top-up required to activate API access)
  4. Pricing: approximately $0.08-0.11 per second of video
    • A 5-second video costs roughly $0.40-0.56
    • A 10-second video costs roughly $0.84-1.12

Step 3: Create an API Key

  1. Go to https://wavespeed.ai/accesskey
  2. Click "Create API Key"
  3. Copy the key (it’s a long string of letters and numbers)
  4. Save it somewhere safe

Step 4: Share with Your Team

Share the API key string with your team via:

  • Slack DM
  • Password manager (recommended)
  • Email (encrypted if possible)

NEVER commit this key to Git or paste it in public forums.

Cost: All video generation costs go to the admin’s WaveSpeed account. Monitor usage at https://wavespeed.ai/dashboard

HiggsField (Optional Fallback — Video + Image)

HiggsField provides additional resilience. If both Vertex AI and WaveSpeed are down, HiggsField can generate images and videos.

Step 1: Create a HiggsField Account

  1. Open https://higgsfield.ai
  2. Click "Sign Up" and create an account
  3. New accounts get 150 free credits

Step 2: Get API Credentials

  1. Go to https://cloud.higgsfield.ai/api-keys
  2. Create a new API key pair — you’ll get an API Key AND an API Secret
  3. Save both values

Step 3: Share with Your Team

Share both the API key AND secret with your team. Both are needed for authentication.

What Team Members Do

Team members do NOT need any cloud accounts. The admin shares credentials, and the team member runs:

/sf:setup

The setup wizard asks for:

  1. Path to the Google Cloud JSON file (for images) — paste the file path
  2. WaveSpeed API key (for video) — paste the key
  3. HiggsField credentials (optional) — paste key and secret if provided

Credentials are stored in the plugin’s persistent data directory. They survive across sessions, restarts, and plugin updates.

Where credentials are stored per platform:

  • Windows: %APPDATA%\Claude\plugins\data\socialforge-neels-plugins\socialforge\
  • macOS: ~/Library/Application Support/Claude/plugins/data/socialforge-neels-plugins/socialforge/
  • Linux: ~/.config/Claude/plugins/data/socialforge-neels-plugins/socialforge/

Or if using the fallback workspace: ~/socialforge-workspace/

Video Generation

SocialForge produces short-form AI-generated video clips for video content posts (Reels, TikTok, Shorts, etc.).

Pipeline

  1. Post context — The calendar post’s theme, copy, and visual direction inform the video
  2. Script generation — AI writes a short video script with scene descriptions
  3. Keyframe generation — Gemini (via Vertex AI) generates the first and last frame as keyframe images
  4. Video animation — WaveSpeed sends the keyframes to Kling v3.0 Pro (image-to-video), which animates them into a fluid video clip (3-15 seconds)

Models

Component Model Provider
Keyframe images Gemini Nano Banana 2 / Pro Google Cloud Vertex AI
Image-to-video Kling v3.0 Pro WaveSpeed

Post-Processing

After generation, videos are automatically post-processed with:

  • Brand logo watermark overlay
  • Platform-specific resizing (9 platform dimensions, no stretching)
  • Optional subtitle burning (user approves — SRT with brand fonts)
  • Optional background music (user approves — mixed at appropriate levels)

Post-processing is powered by ffmpeg, auto-installed via the imageio-ffmpeg Python package.

Human-in-the-Loop

All video generation goes through human-in-the-loop approval. Videos are generated, previewed in the review gallery, and require explicit approval before finalization. Nothing ships without sign-off.

Requirements

  • WaveSpeed API key configured via /sf:setup
  • Google Cloud Vertex AI credentials configured via /sf:setup (for keyframe generation)
  • Python dependencies: pip install google-genai wavespeed Pillow imageio-ffmpeg
  • Video duration: 3-15 seconds per clip

Use /sf:generate-video to produce video for a specific post, or /sf:generate-all to include video posts in batch production.

Connectors

SocialForge ships with 10 HTTP connectors that work in both Cowork and Claude Code: Notion, Canva, Slack, Gmail, Google Calendar, Figma, fal.ai, Replicate, Asana, Cloudinary.

The plugin works fully without connectors — all skills, agents, and creative production function with local assets and AI generation APIs.

Storage

Brand configs and asset indexes persist across sessions via ${CLAUDE_PLUGIN_DATA}. Asset images stay in Google Drive, Cloudinary, or local folders. See the User Guide for details.

Current Release (v1.4.0)

100% spec coverage. Persistent storage, Google Drive asset source, Cloudinary DAM, Veo 3.1 video generation, edge feathering, color temp matching, PDF carousel assembly, Instagram first-comment strategy, bilingual copy support.

Documentation

Neelverse Marketing Suite

SocialForge is part of the Neelverse Marketing Suite — three plugins that work together for end-to-end marketing:

Plugin What It Does Install
Digital Marketing Pro Strategy, SEO, paid ads, analytics, email, social, PR — 141 skills, 25 agents claude plugin install digital-marketing-pro@neels-plugins
ContentForge Publication-ready content via 10-phase pipeline — research, draft, fact-check, SEO, humanize claude plugin install contentforge@neels-plugins
SocialForge (this plugin) Social media calendar automation with AI image + video generation (Vertex AI + Kling v3.0) claude plugin install socialforge@neels-plugins

Use together: Plan campaigns in DM Pro, produce articles with ContentForge, create social visuals and videos with SocialForge. All share the same brand profiles and marketplace.

claude plugin marketplace add indranilbanerjee/neels-plugins
claude plugin install digital-marketing-pro@neels-plugins
claude plugin install contentforge@neels-plugins
claude plugin install socialforge@neels-plugins

License

MIT

About

Agency-grade social media calendar automation with asset-first compositing — Claude Code & Cowork plugin

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors