forge-studio-lite: Command for Claude Code

.claude/commands/carousel.md

carousel is a command for Claude Code from Carlos-Dominguez-faber/forge-studio-lite. It costs 19 tokens per session (1,650 once invoked), scanned A, original, MIT.

A command that creates Instagram carousels as sets of 3–10 square PNG slides, each sized 1080×1080 pixels.

In plain words
What is it for?
Use it to make social-media carousels with text-only slides or branded photo slides, then render them as PNG images.
Why use it?
It turns a written outline and brand materials into consistently styled slides and provides a guided process for planning, composing, rendering, and reviewing them.

Command for Claude Code

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

This is Carlos-Dominguez-faber/forge-studio-lite's own configuration. It tells Claude Code how to work on forge-studio-lite itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything forge-studio-lite configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Guided flow**: follow the gate in [`docs/flujo-guiado.md`](../../docs/flujo-guiado.md).

Reuse

Borrowing it

Nothing to install: this file belongs to Carlos-Dominguez-faber/forge-studio-lite. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Carlos-Dominguez-faber/forge-studio-lite/main/.claude/commands/carousel.md
Clone the repo
git clone --depth 1 https://github.com/Carlos-Dominguez-faber/forge-studio-lite

Made for: Claude Code.

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 carousel

README.md
[![agentmods](https://agentmods.dev/badge/commands/carlos-dominguez-faber/forge-studio-lite/carousel/github.svg)](https://agentmods.dev/commands/carlos-dominguez-faber/forge-studio-lite/carousel)
Your own site
<a href="https://agentmods.dev/commands/carlos-dominguez-faber/forge-studio-lite/carousel"><img src="https://agentmods.dev/badge/commands/carlos-dominguez-faber/forge-studio-lite/carousel/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 carousel

Your own site · 80×15
<a href="https://agentmods.dev/commands/carlos-dominguez-faber/forge-studio-lite/carousel"><img src="https://agentmods.dev/badge/commands/carlos-dominguez-faber/forge-studio-lite/carousel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,650 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.00019 $0.01650
Opus 5 $0.00010 $0.00825
Sonnet 5 $0.00004 $0.00330
Haiku 4.5 $0.00002 $0.00165

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

Security

Grade A, and why

carousel 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 10d 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.

.claude/commands/carousel.md · 136 lines

How it starts

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

Generate an Instagram carousel of 1080×1080 PNGs from brand-consistent HTML slides.

Guided flow: follow the gate in docs/flujo-guiado.md (intake → approve outline → render → review). The gate here is content direction ($0). Canonical Spanish version with the detailed flow: /carrusel.

Pipeline

  1. Load brand — read brand/brand.json, brand/voice.json, brand/brand.css.
  2. Script — write a STORYBOARD.md with one section per slide (hook → 3–7 points → CTA).
  3. Compose — write one self-contained HTML file per slide under slides/source/slide-NN.html.
  4. Render — run npm run carrusel -- ./carousels/<slug> to screenshot every slide to PNG via Playwright.

Visual variants

Three slide forms (mix freely in one carousel). Full detail in the canonical /carrusel:

  • (a) Typographic (default) — dark bg + big type + keyword highlight. No images.
  • (b) Photo + gradient — full-bleed photo from brand/photos/ with brand gradients in front (duotone + fade + grain), text over the dark bottom zone. Reference a bank photo by bare filename (<img class="photo" src="founder.png" />); carousel.ts copies it into slides/source/ automatically. Start from templates/carousel/photo-slide.html.
  • (c) Stock (royalty-free) — illustrative images from Pexels (default) or Unsplash, both publish-grade. Write <project>/stock-queries.json, run npm run scrape-images -- ./carousels/<slug> → downloads to slides/source/<prefix>-NN.jpg
    • a *-manifest.json with photographer + source + license. Needs PEXELS_API_KEY or UNSPLASH_ACCESS_KEY in .env (free keys at pexels.com/api · unsplash.com/developers).

Rules

  • No AI image generation. Pure HTML + CSS + Playwright screenshot. (Saves cost, fully deterministic.) Photo/stock slides composite a local image (no generation).
  • Always 1080×1080.
  • Brand-consistent. Every slide uses the colors and fonts from brand/brand.css. Inline the CSS tokens into each HTML — do not link external stylesheets.
  • Voice-consistent. Every line of copy obeys brand/voice.json: respect tone, prefer hooks, never use avoid words.
  • One project dir. All artifacts live under ./carousels/<slug>/ (slug = kebab-case derived from the prompt).

Read the full file on GitHub · 136 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. 10d ago First seen · 136 lines · 19 tokens per session scan A 508545df6745

Subscribe to this mod's changes

carousel is a command published in the GitHub repository Carlos-Dominguez-faber/forge-studio-lite (13 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 1,650 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.