index-assets

index-assets is a skill for Claude Code from indranilbanerjee/socialforge. It costs 89 tokens per session (1,097 once invoked), scanned A, original, MIT.

A tool that scans a brand's image library and builds an AI-powered searchable index. Each image receives a description, tags, colors, suitability notes, and information about cropping and compositing.

In plain words
What is it for?
Use it when adding or refreshing brand photos so they can be searched and matched to social media posts by subject, mood, setting, color, and platform requirements.
Why use it?
It removes the need to inspect and label every photo manually before using the library. The index gives later tools information for choosing suitable assets.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument.

Part of the socialforge plugin — 20 skills, 25 commands, 5 agents shipped together

Good fit Use it when adding or refreshing brand photos so they can be searched and matched to social media posts by subject, mood, setting, color, and platform requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/indranilbanerjee/socialforge/index-assets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add indranilbanerjee/socialforge --skill index-assets
Clone the repo
git clone --depth 1 https://github.com/indranilbanerjee/socialforge

Made for: Claude Code.

Or install socialforge, the plugin that ships this one along with the rest of its 20 skills, 25 commands, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for index-assets

README.md
[![agentmods](https://agentmods.dev/badge/skills/indranilbanerjee/socialforge/index-assets/github.svg)](https://agentmods.dev/skills/indranilbanerjee/socialforge/index-assets)
Your own site
<a href="https://agentmods.dev/skills/indranilbanerjee/socialforge/index-assets"><img src="https://agentmods.dev/badge/skills/indranilbanerjee/socialforge/index-assets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for index-assets

Your own site · 80×15
<a href="https://agentmods.dev/skills/indranilbanerjee/socialforge/index-assets"><img src="https://agentmods.dev/badge/skills/indranilbanerjee/socialforge/index-assets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01097
Opus 5 $0.00044 $0.00549
Sonnet 5 $0.00018 $0.00219
Haiku 4.5 $0.00009 $0.00110

Measured 12d ago against content hash a30a5cfba4a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

index-assets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/index-assets/SKILL.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/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 exists for the specified brand
  • Asset source is configured (Google Drive URL or local path)
  • If Google Drive: verify Drive MCP is connected or platform integration is available

If asset source is not configured:

⚠️ No asset source configured for brand "{brand}".
Run /socialforge:brand-setup {brand} --update to add an asset source.
Or provide a path now: /socialforge:index-assets {brand} --source /path/to/photos

Progress Updates

[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

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 99 lines · 89 tokens per session scan A a30a5cfba4a9

Subscribe to this mod's changes

index-assets is a skill published in the GitHub repository indranilbanerjee/socialforge (38 stars, last pushed 26d ago), licensed MIT. It adds 89 tokens to every session and 1,097 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ai-media-generator

A workflow for turning ideas into prompts for AI-generated images, videos, and music across several media platforms. When needed, it can also send those prompts to the chosen platform through browser automation.

Hao0321/ai-media-generator · 380 tokens

demo-shorts

Cut a vertical 9:16 Short (YouTube Shorts, Instagram Reels, TikTok) from a demo video project in one of four named styles — listicle (rapid numbered beats), cohost (split screen with presenter), flashcard (typographic interstitials), or glide (immersive pan). Use when the user asks for a "short", "shorts", "vertical…

mrieck/demoday-claude-plugin · 106 tokens

demo-script

Writing the script and shot list for a demo video, and the demo.json manifest schema. Use when planning what a product video should say and show, writing voiceover narration, structuring scenes, or editing demo.json.

mrieck/demoday-claude-plugin · 47 tokens

demo-assembly

Assembling and rendering a demo video with Remotion and ffmpeg — the timeline, transitions, captions, zoom-to-click, audio ducking, and diagnosing a render that comes out wrong. Use when rendering the final video, customising its look, or fixing timing, black frames or missing audio.

mrieck/demoday-claude-plugin · 64 tokens

demo-capture

Craft and mechanics of capturing software on screen for a demo video — rehearsing a flow, staging a window, the action-script format, pacing to narration, and macOS permissions and coordinates. Use when recording an app, driving a UI for a video, debugging a capture that looks wrong, or when clicks land in the wrong…

mrieck/demoday-claude-plugin · 71 tokens

higgsfield-comic-to-video

Animates comic panels, manga pages, webtoons, illustrated storyboards, and sequential art into video using Higgsfield. Routes to wan26 (primary, I2V — image required) or seedance20 (fallback). Use when the user wants to animate comics, bring illustrations to life, convert manga to video, animate storyboards, or create…

pixelab-ch/higgsfield-skills · 132 tokens