From socialforge
Indexes a brand's photo library using AI vision (Gemini) to analyze images for tags, mood, crop feasibility, and style references. Use when setting up assets, adding new photos, or refreshing the index.
How this skill is triggered — by the user, by Claude, or both
Slash command
/socialforge:index-assets [brand-name] [--source drive|local] [--refresh][brand-name] [--source drive|local] [--refresh]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scan a brand's photo library and create an AI-powered asset index. Each image is analyzed by Gemini Vision to understand what's in it, what mood it conveys, what posts it's suitable for, and how it can be cropped for different platforms.
Scan a brand's photo library and create an AI-powered asset index. Each image is analyzed by Gemini Vision to understand what's in it, what mood it conveys, what posts it's suitable for, and how it can be cropped for different platforms.
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.
Before indexing, verify:
If asset source is not configured:
⚠️ No asset source configured for brand "{brand}".
Run /socialforge:brand-setup --update {brand} to add an asset source.
Or provide a path now: /socialforge:index-assets {brand} --source local --path /path/to/photos
[1/4] Scanning asset source...
Found: 47 images (32 .jpg, 12 .png, 3 .webp)
[2/4] Analyzing images with AI Vision...
Analyzed: 12/47 (25%) — ~3 min remaining
Analyzed: 24/47 (51%) — ~2 min remaining
Analyzed: 47/47 (100%) ✓
[3/4] Building asset index...
Tags generated: 184 unique tags across 47 assets
Platform crops: 47 images × 6 platforms = 282 crop assessments
[4/4] Identifying style reference candidates...
Top 8 candidates selected based on visual consistency and quality
Asset Index Complete: acme-corp
Total assets: 47
Categories: people (12), products (8), office (6), events (5), lifestyle (9), graphics (7)
Background-removable: 23 assets (suitable for ANCHOR_COMPOSE mode)
Style reference candidates: 8 images suggested
Saved: ~/socialforge-workspace/brands/acme-corp/asset-index.json
Would you like to:
- Review style reference candidates? (I'll show all 8 with descriptions)
- Start monthly production? (/socialforge:new-month)
- Update specific assets? (/socialforge:index-assets --refresh)
analysis_pending and continue.ai_analysis_missing./socialforge:index-assets [brand] --refresh
Only re-analyzes new or modified images since last index. Compares file timestamps with indexed_at in asset-index.json.
Each image analysis costs approximately $0.002-0.005 (Gemini Vision). For a 50-image library, expect ~$0.10-0.25 total.
Show estimated cost before starting: "Indexing 47 images will cost approximately $0.12 in Gemini Vision API calls. Proceed?"
npx claudepluginhub indranilbanerjee/socialforgeMatches brand assets to calendar posts using multi-factor scoring and assigns creative modes. Use after calendar parsing or asset re-matching.
Generates, edits, and optimizes marketing images (blog heroes, social graphics, product mockups, banners) using AI tools (Flux, DALL-E, Gemini) or design tools (Canva, Figma). Handles optimization and format conversion.
Creates, edits, and optimizes marketing images using AI generation (Flux, Midjourney, DALL-E, Gemini, Stable Diffusion) and design tools (Canva, Figma). Handles blog heroes, social graphics, product mockups, banners, and brand assets.