generate-all

generate-all is a command for Claude Code from indranilbanerjee/socialforge. It costs 11 tokens per session (642 once invoked), scanned A, original, MIT.

A command that creates the planned images, carousels, copy, videos, and previews for every post in a month's calendar.

In plain words
What is it for?
Use it to produce a full month's social-media assets in calendar order, adapt copy for each platform, and render carousel posts.
Why use it?
It coordinates a large content run and requires a cost quote and explicit approval before paid generation starts.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it to produce a full month's social-media assets in calendar order, adapt copy for each platform, and render carousel posts.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add indranilbanerjee/socialforge
Claude Code
/plugin install 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 generate-all

README.md
[![agentmods](https://agentmods.dev/badge/commands/indranilbanerjee/socialforge/generate-all.svg)](https://agentmods.dev/commands/indranilbanerjee/socialforge/generate-all)
Your own site
<a href="https://agentmods.dev/commands/indranilbanerjee/socialforge/generate-all"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/socialforge/generate-all.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 642 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.
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.00011 $0.00642
Opus 5 $0.00005 $0.00321
Sonnet 5 $0.00002 $0.00128
Haiku 4.5 $0.00001 $0.00064

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

Security

Grade A, and why

generate-all 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 7d 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.

commands/generate-all.md · 63 lines

How it starts

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

Generate All

Produce images, carousels, copy, and previews for every post in the calendar.

This is the most expensive command in SocialForge. It fans out across a whole month, and video is billed by the second. Quote it before you run it.

Step 0 — Price the run and get a go (required)

Build the item list from the calendar (one entry per paid generation, units = seconds for video, images for stills), then:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/price_book.py" --action quote-batch --items @/tmp/run-plan.json
  • Exits non-zero if anything cannot be priced. Do not proceed — run /socialforge:price-check to look the missing models up, then re-quote.
  • A clean quote still returns approved_to_run: false. Show the user the total and wait for an explicit go. One approval covers one run; if the calendar changes afterwards, re-quote and ask again.

Process

  1. Load calendar-data.json and asset-matches.json
  2. For each post (ordered by date):
    • Determine creative mode (ANCHOR_COMPOSE, ENHANCE_EXTEND, STYLE_REFERENCED, PURE_CREATIVE)
    • Generate image(s) via image-compositor agent
    • Render carousel if content_type = carousel
    • Adapt copy for each target platform
    • Run compliance check
    • Generate platform previews
    • Run quality review
  3. Show progress: [12/28] Generating Post P12 — carousel (8 slides) for LinkedIn...
  4. At completion: show summary card with quality scores, issues, and next steps

Filters

  • --week 2 — Only generate posts for week 2
  • --tier HERO — Only generate HERO tier posts
  • --platform instagram — Only generate for Instagram

Filters change the item list, so they change the quote. Re-price after applying one — a total for 28 posts is not the price of the 6 you actually ran.

Signing

Every generated asset is signed with a C2PA manifest carrying the c2pa.ai-disclosure assertion (EU AI Act Article 50, enforceable since 2026-08-02). Once a post clears its approval queue, pass the approver through so the manifest records who signed it off:

Read the full file on GitHub · 63 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. 7d ago First seen · 63 lines · 11 tokens per session scan A 2df512b729a8

Subscribe to this mod's changes

generate-all is a command published in the GitHub repository indranilbanerjee/socialforge (36 stars, last pushed 21d ago), licensed MIT. It adds 11 tokens to every session and 642 once invoked, about $0.0001 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.