← ClaudeAtlas

match-assetslisted

Match indexed brand assets to calendar posts and assign each post its creative mode (anchor-compose, enhance-extend, style-referenced, pure-creative). Triggers on "/match-assets", "match assets", "which photos for which posts", "assign creative modes", "pair assets to the calendar", or right after parse-calendar and before compose-creative. Reads the asset index; posts with no suitable asset are flagged rather than force-matched.
teachskillofskills-ai/SocialForge-techshu · ★ 0 · Data & Documents · score 76
Install: claude install-skill teachskillofskills-ai/SocialForge-techshu
# /socialforge:match-assets — Asset Matcher Match brand assets to parsed calendar posts using the multi-factor scoring algorithm. Assigns one of 4 creative modes per post. ## 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. ## Prerequisites - Calendar parsed (calendar-data.json exists) - Asset index built (asset-index.json exists) If either is missing, prompt: "Run `/socialforge:parse-calendar` first, then `/socialforge:index-assets`." ## The Matching Algorithm For each post, calculate a multi-factor score against every indexed asset: | Factor | Weight | What It Measures | |--------|--------|------------------| | Tag Overlap | 30% | Post keywords vs asset tags | | Suitability Match | 25% | Asset's "suitable_for" vs post context | | Content Bucket Match | 20% | Does asset suit this content bucket? | | Crop Feasibility | 15% | Can asset be cropped to all required platform ratios? | | Freshness | 10% | Favours assets not already used this month | **Freshness factor:** scored as `1 - penalty` and weighted at 10% alongside the other four factors (the five weights sum to 1.00). Penalty by prior uses this month: 0 uses = 0.00 | 1 use = 0.15 | 2 uses = 0.40 | 3+ uses = 0.70. Reusing an asset within the same week adds a further 0.50 to the