/socialforge:compose-creative [--post <id>] [--all] [--variant b]from SocialForge
Generates image or video creatives for social media calendar posts in four modes: anchor-compose, enhance-extend, style-referenced, and pure-creative. Includes human-in-the-loop approval flow.
Ships in SocialForge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Script location. If your host does not set
${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin'sscripts/folder, next toskills/. Run them with Python 3.10 or newer:python, orpython3wherepythonis not found (macOS, many Linux systems).
The core production skill. Takes asset matching results and produces visual and video assets for each post according to its assigned creative mode, using a staged human-in-the-loop approval flow.
Asset-heavy skill. Grep before Read the asset catalog (~/socialforge-workspace/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.
Brand asset is the untouchable center. AI generates scene around it.
Brand asset is the foundation. AI modifies periphery only.
No brand asset composited. Style reference photos guide AI generation.
Full AI generation with only text prompt + brand colors/mood.
Read from scripts/generate_image.py, scripts/edit_image.py and scripts/generate_video.py. This skill promises only what those scripts implement.
| Input | How to pass it | What is true today |
|---|---|---|
| Style references for a new image (STYLE_REFERENCED) | generate_image.py --references <path> [<path> ...] — the first 14 are read | Sent to the primary image provider only. The fallback providers receive the prompt and aspect ratio, not the references: when the result carries fallback_from and references were supplied, it also carries references_used: 0, references_dropped: <n> and a references_note — the image is not style-referenced. Tell the user, and fix the primary provider's credentials rather than accepting a reference-less image as a style-referenced one. |
| References alongside an image being edited (ENHANCE_EXTEND) | edit_image.py --image <src> --instruction "..." --references <path> ... — first 14 | Supported. There is no fallback chain for edits. (generate_image.py --edit takes no references.) |
| First frame for video | generate_video.py --image <path> | Supported by every video provider in the chain; one of them requires it. See /socialforge:generate-video. |
| Last frame for video | generate_video.py --last-image <path> (with --generate-video) | Sent to the kling rung as the clip's end image; no other rung takes one. The result's video.last_frame_used says whether it was sent — false (with a last_frame_note) means the clip was not steered to the approved last frame. See /socialforge:generate-video. |
| Reference images for video | none | Not wired through generate_video.py — no flag exists. See /socialforge:generate-video. |
Two caveats from the code: file type is set from the extension (.jpg/.jpeg as JPEG, everything else as PNG), so pass JPEG or PNG and convert WebP first; and references_used is the number of files actually read and sent, not the number of paths passed. When it is lower than what you passed, the result says why: references_missing lists the paths that do not exist (they are not sent, and there is no error), references_over_limit counts the paths past the 14-file limit, and references_dropped plus references_note mean a fallback provider made the image. Read those fields before treating an image as style-referenced.
asset-matches.json must exist (generated by /socialforge:match-assets -> match_assets.py)calendar-data.json must exist (generated by /socialforge:parse-calendar)brand-config.json must exist for active brandcost-log.json initialized (via status_manager.py --action init-month)latest-image-balanced-google) and the video provider (WaveSpeed, alias latest-video-wavespeed; or Vertex AI for Veo) via credential_manager.py. Which model each alias resolves to today: python "${CLAUDE_PLUGIN_ROOT}/scripts/generate_video.py" --list-models.If any prerequisite is missing: "Run /socialforge:match-assets first — creative production needs asset matching results."
Generation spends provider credits, so the first paid call waits for a quote and an explicit go. This skill states no price and the model registry stores none: price_book.py is the only source, and it refuses rather than guesses.
resolve_model.py --alias <alias> gives the current model id), the provider, and the units (images, or seconds of video, plus any option that changes the price, such as synchronised audio). For an image post that is the 2-3 variants of Stage 3; for a video post it is both keyframe rounds and the clip.python "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action quote-batch --items '[{"model":"<resolved model id>","provider":"<provider>","units":<n>,"label":"<post id and stage>"}]'
A single item can use --action quote --model <id> --provider <provider> --units <n>. If the quote exits non-zero or lists a blocked item, stop: run /socialforge:price-check to look the missing price up, then quote again.
3. Show the user the total, each line, its source URL, and how old the price is (a price older than 24 hours is stale and is refused; it must be looked up again):
Estimated cost: <total_usd> USD for <n> generations. Prices from <source>, <age_hours> h old (valid for 24 h).
Type "go" to generate. Anything else cancels.
go for exactly this list. Anything else, including silence, cancels and nothing is generated. If the list changes (more posts, another model, an added option), quote again and ask again. A quote is never approval (approved_to_run is always false).generate_video.py without --generate-video prints routing.unavailable; Veo needs Vertex AI, a Gemini API key alone covers images only), and pass exactly the quoted providers to the script: --quoted-providers <names> on generate_image.py (gemini, wavespeed, higgsfield) and on generate_video.py (kling, veo, higgsfield). A provider that was not quoted never runs: the result is NEEDS_REQUOTE with nothing spent on it, so quote the new line and ask for a new go.Present 2-3 creative direction options to the user. Each option includes:
No image generation happens here. The user picks a direction before any credits are spent.
Once the user selects a direction, confirm the specifics before generating:
User explicitly approves to proceed to generation.
go.After the user selects their preferred image:
{post_folder}/final/shared/prompt-logs/Present 2-3 video concept ideas to the user. Each option includes:
User picks a concept before any generation begins.
go.latest-video-wavespeed)generate_video.py --generate-video --image <first-frame> --last-image <last-frame> --quoted-providers <quoted>). The last frame reaches the video model only on the kling rung — pass --provider kling when the clip must end on it, and read video.last_frame_used in the result before presenting a clip as landing on it (see "Reference images and keyframes" above).provider_notice (or fallback_from), tell the user which provider made it and why the first did not; a rung listed in skipped_unavailable never started (no credentials, or Veo without Vertex AI) and cost nothing, so do not report it as a failure.After the user picks the final video, post-processing runs before saving:
{post_folder}/final/{post_folder}/versions/shared/prompt-logs/When processing all posts via /socialforge:generate-all, the staged approval flow uses group-based approval to avoid per-post bottlenecks:
Progress indicator during batch:
[GROUP 1: ANCHOR_COMPOSE — 8 posts]
Presenting directions... awaiting approval
[GROUP 2: STYLE_REFERENCED — 12 posts]
Queued — waiting for Group 1
[GROUP 3: VIDEO — 4 posts]
Queued — waiting for Group 2
Posts that are skipped or fail after 3 rounds are collected into a "needs attention" list presented at the end of the batch.
[3/28] Post P03 — IMAGE — ANCHOR_COMPOSE
Stage 1: Presenting 3 creative directions...
[User selects Direction B]
Stage 2: Confirming details...
[User approves]
Stage 3: Generating 3 variants (image provider, Vertex AI)...
Variant A... done
Variant B... done
Variant C... done
[Images shown inline — user selects Variant B]
Stage 4: Post-processing...
Text overlay... done
Logo... done
Resize (IG, FB, LinkedIn)... done
Saved. done
[4/28] Post P04 — VIDEO — STYLE_REFERENCED
Stage 1: Presenting 2 video concepts...
[User selects Concept A]
Stage 2: Generating 2 first frames (image provider, Vertex AI)...
[User selects Frame 1]
Stage 3: Generating 2 last frames (image provider, Vertex AI)...
[User selects Frame 2]
Stage 4: Generating 2 video versions (WaveSpeed)...
[User selects Video A]
Stage 5: Saving final...
Saved. done
generate_video.py. Retry once with reduced parameters.production_timeout and move to next.production_timeout and move to next.What SKILL.md sets; muted values are Claude Code's defaults
maxThree short reads, in order
socialforge@neels-plugins is listed by indranilbanerjee/neels-plugins — review the source before installing
npx claudepluginhub indranilbanerjee/neels-plugins --plugin socialforge21 skills in this plugin
/adapt-copyAdapt post copy per platform: character limits, hashtags, tone and the right CTA mechanism. "rewrite this caption for LinkedIn"/assemble-documentAssemble the month-end delivery manifest: approved posts, copy, files and metadata as one JSON. "build the delivery manifest"/brand-managerSet up or update a brand profile: colors, fonts, logo, voice, platforms, compliance rules. "update our brand colors"/build-review-galleryBuild the shareable HTML review gallery of every generated post for team or client. "make me a gallery page"/c2pa-signEmbed C2PA content credentials and an AI-disclosure record in AI-generated assets. "sign these images for AI disclosure"/create-previewsCreate a preview card per platform: post copy, image and badge, to check copy and crop. "show how this will look"Other plugins' skills for the same job