Skip to content

indranilbanerjee/neels-plugins / hermes/digital-marketing-pro/social/skills/render-carousels

render-carousels

Verified

Render multi-slide carousels from HTML templates into platform-ready images or PDF. "build the carousel slides"

/socialforge:render-carousels — Carousel Renderer

Produce multi-slide carousel images from HTML/CSS templates using Playwright headless rendering.

Supported Templates

Pass the key to render_carousel.py --template (argparse rejects anything outside this list; --list-templates prints it).

KeySlidesBest ForTemplate File
generic8General purposegeneric-8slide.html
comparison10Feature comparisonscomparison-10slide.html
case-study10Client success storiescase-study-10slide.html
tips5Quick tipstips-5slide.html
playbook8Step-by-step playbooksplaybook-8slide.html
recap6Event/month recapsrecap-6slide.html
data6Data-driven infographicsdata-infographic-6slide.html
quote1Single quote cardsquote-card-single.html

Process

  1. Select template based on post's carousel_type
  2. For each slide:
    • Inject content (title, body, data points, statistics)
    • Apply brand colors via CSS variables (--brand-primary, --brand-secondary, etc.)
    • Apply brand fonts
    • If slide needs background image: compose an existing brand asset (free), or generate one via image-compositor: a generated background is a paid call, so it needs an approved quote first (compose-creative, "Quote, then go"), and the compositor refuses without one
  3. Render each slide via Playwright (headless Chromium → PNG, 1080x1080)
  4. Show first and last slide to user for approval
  5. Compile all slides into PDF (for LinkedIn document upload)
  6. Resize slides for other platforms if needed

Rules

  • First slide = hook/title with brand identity
  • Last slide = CTA with brand logo and contact info
  • Max text per slide: 40 words (LinkedIn) | 25 words (Instagram)
  • All slides use brand fonts and colors from brand-config.json
  • Slide dimensions: 1080x1080 default (configurable per brand)

Scripts Used

  • render_carousel.py — Playwright HTML→PNG rendering

Prerequisites (calendar, Playwright, brand colors/fonts) and the exact files a render writes: read prerequisites-and-output.md when a render fails before the first slide or the user asks what was produced.

Timeout & Fallback

  • Per-slide render: 15-second timeout. If Playwright hangs, retry without custom fonts.
  • Full carousel: 3-minute timeout for 10 slides.
  • If Playwright unavailable: flag for manual rendering, save populated HTML for export.
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 197kUpdated Claude CodeCodexVerifiedInstall