index-assets

Solid

Index the brand photo and asset library with AI vision — each asset described, tagged, and made searchable so match-assets can pair them with calendar posts. Triggers on "/index-assets", "index the assets", "scan the photo library", "new brand photos", "refresh the asset index", "what assets do we have", or after any batch of brand imagery lands. Run once per brand, re-run on new uploads.

AI & Automation 38 stars 6 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /socialforge:index-assets — Asset Indexer 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. ## Context efficiency Asset-heavy skill. **Grep before Read** the asset catalog (`${CLAUDE_PLUGIN_DATA}/socialforge/brands/<brand>/asset-index.json`) — never list the asset directory. Reference generated images / videos by path, not by loading metadata. Brand profile loads once per session. ## How It Works 1. **Locate assets** — Read asset-source.json for the brand's photo library location 2. **Scan files** — Find all .jpg, .jpeg, .png, .webp files in the source 3. **AI analysis** — For each image, use Gemini Vision (the registry alias `latest-vision-google`) to generate: - Natural language description of the image - Tags (categories, subjects, setting, mood) - Dominant colors detected - Lighting and composition assessment - What types of social media posts this image suits - Whether background is removable (for compositing) - Platform crop feasibility (can this be cropped to 1:1, 4:5, 16:9 without losing key content?) 4. **Build index** — Create asset-index.json with all analyzed assets 5. **Identify style references** — Suggest 2-8 images as style reference candidates (best represent the brand's visual DNA) ## Pre-Flight Check Before indexing, verify: - Brand profile ex...

Details

Author
indranilbanerjee
Repository
indranilbanerjee/socialforge
Created
5 months ago
Last Updated
3 weeks ago
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category