create-previews

create-previews is a skill for Claude Code, Codex from indranilbanerjee/socialforge. It costs 89 tokens per session (315 once invoked), scanned A, original, MIT.

A preview generator that shows how a social-media post is expected to appear on platforms such as LinkedIn, Instagram, X, Facebook, and YouTube. It combines the post’s image, text, profile details, and platform layout into PNG mockups.

In plain words
What is it for?
Creating platform-specific previews for individual posts or batches, including feed posts, stories, carousels, and YouTube thumbnails. If browser rendering fails, it saves the image and copy as a fallback.
Why use it?
It lets reviewers spot layout or copy problems before a post is published. Each preview reflects the selected platform’s format, such as an Instagram story or a LinkedIn carousel.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/indranilbanerjee/socialforge/create-previews
Any agent
npx skills add indranilbanerjee/socialforge --skill create-previews
Clone the repo
git clone --depth 1 https://github.com/indranilbanerjee/socialforge

Made for: Claude Code, Codex.

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 create-previews

README.md
[![agentmods](https://agentmods.dev/badge/skills/indranilbanerjee/socialforge/create-previews.svg)](https://agentmods.dev/skills/indranilbanerjee/socialforge/create-previews)
Your own site
<a href="https://agentmods.dev/skills/indranilbanerjee/socialforge/create-previews"><img src="https://agentmods.dev/badge/skills/indranilbanerjee/socialforge/create-previews.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00089 $0.00315
Opus 5 $0.00044 $0.00158
Sonnet 5 $0.00018 $0.00063
Haiku 4.5 $0.00009 $0.00032

Measured 5d ago against content hash 9099e4ded43c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

create-previews 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 5d 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.

skills/create-previews/SKILL.md · 31 lines

What it actually says

/socialforge:create-previews — Preview Generator

Generate realistic platform mockups showing exactly how each post will appear when published.

Process

  1. For each post × each platform:
    • Load the generated/composed image
    • Load the adapted copy
    • Select platform preview template (assets/preview-templates/)
    • Inject: profile avatar, brand name, handle, image, copy, hashtags, timestamp
    • Render via Playwright → PNG preview
  2. Save to production/previews/post-{id}-{platform}-preview.png

Templates

  • linkedin-post.html | linkedin-carousel.html
  • instagram-feed.html | instagram-story.html
  • twitter-post.html | facebook-post.html
  • youtube-thumbnail.html

Timeout & Fallback

  • Per preview: 10-second timeout. If Playwright hangs, save raw image + copy as fallback.
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. 5d ago First seen · 31 lines · 89 tokens per session scan A 9099e4ded43c

Subscribe to this mod's changes

create-previews is a skill published in the GitHub repository indranilbanerjee/socialforge (36 stars, last pushed 19d ago), licensed MIT. It adds 89 tokens to every session and 315 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

ai-media-generator

為使用者產生高品質的 AI 生圖、生影片、生音樂提示詞,並在需要時透過瀏覽器自動化實際送到目標平台。涵蓋 OiiOii、Kling 3.0/O-series、Seedance 2.0/2.5、Suno v5.5、Seedream 5.0/4.0、Vidu Q3、Midjourney V8.1、Flux 1.1 Pro / Kontext、Runway Gen-4.5 / Aleph、Google Veo 3.1、Ideogram 3、Nano Banana Pro、Stable Diffusion 3.5(⚠️ OpenAI Sora 2 已於 2026-04-26 停運,API 撐到 2026-09-24,預設改推…

Hao0321/ai-media-generator · 380 tokens

demo-shorts

Cut a vertical 9:16 Short (YouTube Shorts, Instagram Reels, TikTok) from a demo video project in one of four named styles — listicle (rapid numbered beats), cohost (split screen with presenter), flashcard (typographic interstitials), or glide (immersive pan). Use when the user asks for a "short", "shorts", "vertical…

mrieck/demoday-claude-plugin · 106 tokens

demo-video

Make a demo video of a piece of software: drive the app on screen while narrating what it does, generate an AI voiceover and optional on-camera presenter, and assemble everything into a finished MP4. Use when the user asks to "make a demo video", "record a demo", "create a product video", "show off this app", "make a…

mrieck/demoday-claude-plugin · 113 tokens

demo-script

Writing the script and shot list for a demo video, and the demo.json manifest schema. Use when planning what a product video should say and show, writing voiceover narration, structuring scenes, or editing demo.json.

mrieck/demoday-claude-plugin · 47 tokens

demo-assembly

Assembling and rendering a demo video with Remotion and ffmpeg — the timeline, transitions, captions, zoom-to-click, audio ducking, and diagnosing a render that comes out wrong. Use when rendering the final video, customising its look, or fixing timing, black frames or missing audio.

mrieck/demoday-claude-plugin · 64 tokens

demo-capture

Craft and mechanics of capturing software on screen for a demo video — rehearsing a flow, staging a window, the action-script format, pacing to narration, and macOS permissions and coordinates. Use when recording an app, driving a UI for a video, debugging a capture that looks wrong, or when clicks land in the wrong…

mrieck/demoday-claude-plugin · 71 tokens