render-carousels

render-carousels is a command for Claude Code from indranilbanerjee/socialforge. It costs 12 tokens per session (271 once invoked), scanned A, original, MIT.

A command that turns HTML and CSS carousel templates into PNG slide images and a PDF. A carousel is a social media post made of multiple swipeable slides.

In plain words
What is it for?
Use it to render comparison posts, case studies, tips, playbooks, recaps, infographics, quote cards, and other supported carousel formats.
Why use it?
It applies the brand's colors, fonts, and content automatically, so repeated slide layouts do not need to be created by hand.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

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

Good fit Use it to render comparison posts, case studies, tips, playbooks, recaps, infographics, quote cards, and other supported carousel formats.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/indranilbanerjee/socialforge/render-carousels
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.

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 render-carousels

README.md
[![agentmods](https://agentmods.dev/badge/commands/indranilbanerjee/socialforge/render-carousels.svg)](https://agentmods.dev/commands/indranilbanerjee/socialforge/render-carousels)
Your own site
<a href="https://agentmods.dev/commands/indranilbanerjee/socialforge/render-carousels"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/socialforge/render-carousels.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 271 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.00012 $0.00271
Opus 5 $0.00006 $0.00135
Sonnet 5 $0.00002 $0.00054
Haiku 4.5 $0.00001 $0.00027

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

Security

Grade A, and why

render-carousels 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 8d 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/render-carousels.md · 35 lines

What it actually says

Render Carousels

Produce carousel slide images from HTML/CSS templates with brand theming.

Process

  1. Load carousel post data from calendar-data.json
  2. Select template key (generic, comparison, case-study, tips, etc.)
  3. Inject brand colors, fonts, and content via CSS variables
  4. Render each slide to PNG via Playwright
  5. Assemble into PDF for LinkedIn document posts
  6. Save slides to post folder

Templates Available

These are the keys accepted by render_carousel.py --template:

  • generic — General purpose (8 slides)
  • comparison — Feature comparisons (10 slides)
  • case-study — Client success stories (10 slides)
  • tips — Quick tips (5 slides)
  • playbook — Step-by-step playbooks (8 slides)
  • recap — Event/month recaps (6 slides)
  • data — Data-driven infographics (6 slides)
  • quote — Single quote cards (1 slide)

Prerequisites

  • Calendar parsed with carousel posts identified
  • Playwright installed (auto-installed via /socialforge:setup)
  • Brand config with colors and fonts set
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. 8d ago First seen · 35 lines · 12 tokens per session scan A c3e6bd10ae70

Subscribe to this mod's changes

render-carousels is a command published in the GitHub repository indranilbanerjee/socialforge (36 stars, last pushed 21d ago), licensed MIT. It adds 12 tokens to every session and 271 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.