To turn a Twitter (X) thread into a carousel with Claude, create a Claude Project with your brand instructions, add a small PNG-export skill, then paste your thread. Review the HTML preview and ask Claude to export 1080×1350 PNG slides. You set it up once and don’t need a separate design tool.
Twitter is now called X, but many people still search for “Twitter thread to carousel,” and a thread is the same thing on either name. This setup is useful if you write threads and want to reuse them on Instagram or LinkedIn. If LinkedIn is your goal, the LinkedIn carousel section shows how to turn the same slides into a PDF document post. Only repurpose threads you wrote or have permission to use.
Claude handles the layout from your instructions, so you review slides instead of building them by hand. How long that takes depends on how many edits you ask for.
This guide gives you the full setup: the file to upload, the instructions to paste, the skill you need (with its full SKILL.md), and the prompts. Steps were checked against Claude’s help pages on November 7, 2026. The LinkedIn steps were checked against LinkedIn’s Help Center on November 21, 2026.
Even if you’re not especially technical, you can copy and paste your way through it.
- Step 1 — Create a new Claude Project
- Step 2 — Upload your profile photo
- Step 3 — Paste the project instructions (full text in a copy box)
- Step 4 — Upload the carousel-to-png skill (full SKILL.md in a copy box)
- Step 5 — Run the 3 prompts (each in a copy box, with expected output)
Table of Contents
What Is a Twitter (X) Thread to Carousel?
A Twitter (X) thread to carousel conversion turns the text of a thread into a stack of Instagram-ready image slides that people swipe through.
Every slide is styled to look like a post on X: clean white background, profile header with your handle, body text, and a progress bar at the bottom. The instructions below show a verified badge only if your account is actually verified.
Here’s the end-to-end flow at a glance:
You don’t actually need a Twitter thread to start
This system isn’t limited to actual threads. The name describes the most common use, not the only one.
You can feed Claude any of these and get the same tweet-style carousel output:
Whether the input is a real thread or just a topic, every slide carries the same tweet header so the carousel reads like a thread visually. Slide 1 is the hook. Slides 2–6 are the steps. The last slide closes with a CTA.
Why Can’t You Just Use an AI Carousel Maker?
You can. There are many AI carousel makers, and one may suit you if you post only now and then. This guide takes a different approach: a setup you control inside Claude.
Features and prices change often, so check these points on any AI carousel maker before you commit:
How to Turn a Twitter (X) Thread Into a Carousel With Claude
The full setup has 5 steps, and you only do it once. After that, each Twitter (X) thread to carousel run takes 3 prompts.
New to Claude Projects? Here’s the 30-second explainer
A Claude Project is a workspace for one specific job, with its own chats, instructions, and files. Here, the job is making carousels. These are the pieces you’ll set up, including one skill that lives outside the project:
- Name — what you call it (e.g., “Instagram Carousel Generator”)
- Instructions — the rules Claude follows in every chat (you paste the brand layout rules here)
- Files — uploads every chat can see (your profile photo goes here)
- Skills — reusable instructions and code saved to your account, not to one project. They work in any chat, including project chats (the PNG export logic lives here)
- Chats — actual conversations. Each new carousel = a new chat inside this same project
To find your projects, go to claude.ai and click Projects on the left. You’ll find skills under Customize > Skills. Anthropic’s help pages explain projects and skills if you want more detail.
The 5 steps below set up the name, instructions, file, and skill once. After that, open a new chat inside the same project for each carousel. Claude applies your project instructions in every project chat and can load the skill when you ask to export.
Before you start, you need:
- A Claude account. The Free plan includes up to 5 projects, skills, and file creation, with limited usage. Pro ($20/month, or $17/month billed annually at $200 up front) gives you more usage. Prices checked November 7, 2026.
- Code execution turned on. Go to Settings > Capabilities and enable Code execution and file creation (labeled Create and edit files in the updated layout).
- A square profile photo (400×400 px or larger)
- Three brand hex colors: accent, dark text, body text
- Your Instagram handle and display name
- Roughly 10 to 15 minutes for one-time setup (our estimate)
Go to claude.ai/projects and click + New Project in the upper right.
Name it “Instagram Carousel Generator” or anything you like. Claude can’t see the name or description, so what you enter here won’t change its output.
On the project page, find the project knowledge area on the right, click +, and upload your square profile photo. The filename doesn’t matter.
Claude should embed this photo in the HTML so the file is self-contained (base64 is a way of storing an image as text). If it says it can’t read the photo, attach the photo directly in that chat.
Click the Copy button on the box below. In your project, click Set project instructions and paste the text.
Only edit the 5 lines marked in the table after this box — leave everything else alone.
You are an Instagram carousel design system. When the user asks to create a carousel, generate a fully self-contained, swipeable HTML carousel where every slide is exported as an individual 1080×1350px PNG for Instagram posting.
BRAND DETAILS (EDIT THESE 5 LINES)
- Brand name: [YOUR BRAND NAME]
- Instagram handle: @[your-handle]
- Display name: [Your Display Name]
- Tone: Casual
- Accent color: #2FAD64
BRAND COLORS (defaults — edit if needed)
- Text dark: #0f1419 (bold headlines)
- Text body: #333333 (regular body text)
- Handle color: #536471 (@handle under display name)
- Background: #FFFFFF (pure white)
FONT
Plus Jakarta Sans (weights 300–700) via Google Fonts.
PROFILE PHOTO
Use the profile photo uploaded to this project's files and show it as a circle. Encode it as base64 and embed it directly in the HTML so the carousel is fully self-contained. If you can't read the photo, ask the user to attach it in this chat.
WORKFLOW
1. Ask the user three things: topic, slide count (default 7), and any specific content to include.
2. Generate a self-contained HTML carousel with a swipeable Instagram-frame preview wrapper. All slides at 420×525px (4:5 ratio). Embed the profile photo as base64. Load Google Fonts via CDN.
3. If the user wants changes, update only the requested slides. Don't rebuild from scratch.
4. When approved, use the carousel-to-png skill to export each slide as 1080×1350px PNG.
TWEET-STYLE DESIGN RULES
- Background: pure white #FFFFFF on every slide
- Profile section: 48px circular headshot + display name (bold, 15px) + @handle (14px, handle color). Add a verified badge SVG only if the user confirms the account is verified.
- Bold headline: 17px, weight 700, dark text
- Body: 15px, weight 400, body text color, line-height 1.55
- Accent text: 15px, weight 700, accent color — for hooks, CTAs, key lines
- Use → arrows for lists, not bullets
- Content padding: 0 36px 52px (clears progress bar)
- Vertical alignment: justify-content: center
NARRATIVE STRUCTURE
- Slide 1: Hook in accent color + a teaser line
- Slides 2 through (N-1): One step per slide ("Step N: [Title]") + body + → arrows for lists
- Last slide: Recap result + CTA in accent color
ELEMENTS ON EVERY SLIDE
- Progress bar at bottom: 3px track, accent-color fill, counter "1/7" in 11px
- Swipe arrow on right (48px gradient fade + chevron) — remove on last slide
- Same tweet header on every slide
INSTAGRAM FRAME (PREVIEW WRAPPER)
- Frame width: exactly 420px (do NOT change)
- Header: avatar + handle + display name
- Viewport: 4:5 aspect ratio (420×525), pointer-drag with snap-to-slide
- Dots indicator below viewport
EXPORT
- Use the carousel-to-png skill — do not write your own export script
- Give every slide element the class "slide". Put all CSS in the <head>, set the font on .slide, and don't make slide styles depend on a parent wrapper, because the skill moves each slide out of the preview frame before taking its screenshot
- Always use Python for HTML manipulation, never shell scripts ($ interpolation corrupts HTML)
- Embed images as base64 data URIs
- Verify final PNGs are exactly 1080×1350px before presenting themThe five lines to edit before you save:
| # | Change | To |
|---|---|---|
| 1 | [YOUR BRAND NAME] | Your actual brand or personal name |
| 2 | @[your-handle] | Your Instagram @handle |
| 3 | [Your Display Name] | The name shown on the tweet header |
| 4 | Tone: Casual | Professional, Casual, or Educational |
| 5 | Accent color: #2FAD64 | Your brand’s accent hex code |
Click Save instructions when you’re done.
The skill handles the PNG export at 1080×1350. Claude’s custom skills are uploaded as ZIP files and saved to your account, not to one project. Anthropic’s steps go like this:
- Copy the SKILL.md text from the box below.
- Package it. The easiest route is to start a regular Claude chat, paste the packaging prompt from the second box, then paste the SKILL.md text under it and download the ZIP. To do it by hand, create a folder named
carousel-to-png, save the text inside it as a plain-text file namedSKILL.md, and compress the folder itself. - Go to Customize > Skills, click +, then + Create skill, then Upload a skill.
- Upload
carousel-to-png.zipand make sure the skill’s toggle is on.
The folder name must match the name line at the top of the file, and the folder must be the top level of the ZIP. A SKILL.md sitting loose at the top of the ZIP won’t be recognized.
---
name: carousel-to-png
description: Export each slide of an approved HTML carousel as a 1080x1350 PNG for Instagram. Use when asked to export a carousel, export slides, save as PNG, or convert slides to images.
---
# Carousel to PNG Exporter
Export each slide of an HTML carousel as a 1080×1350px PNG, ready to post on Instagram.
## When to use this skill
Trigger when the user has an approved HTML carousel and asks to "export carousel", "export slides", "save as PNG", or "convert to images".
## Two rules that make or break the export
### Rule 1 — Embed fonts as base64 BEFORE exporting
If the HTML loads Google Fonts via <link>, headless Chrome may render with a fallback font. Embedding WOFF2 files as base64 in the HTML eliminates this.
### Rule 2 — Screenshot the slide element, NOT the page with a clip rectangle
page.screenshot({clip:...}) has subpixel rounding issues at fractional scale factors. element.screenshot() is pixel-perfect.
## Prerequisites
First check whether Playwright and Chromium already work:
python3 -c "from playwright.sync_api import sync_playwright as s; p=s().start(); p.chromium.launch().close(); p.stop(); print('ok')"
If that fails, run:
pip install playwright --break-system-packages
playwright install chromium
If the browser download is blocked, stop and tell the user: "Turn on Allow network egress in Settings > Capabilities, then start a new chat and try again."
## Step 1 — Embed the fonts
```python
import base64, re, subprocess, tempfile, urllib.request
from pathlib import Path
GOOGLE_FONTS_URL = "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap"
HTML_PATH = Path("/path/to/carousel.html")
UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/131.0.0.0 Safari/537.36"
def fetch_embedded_fonts_css(fonts_url):
req = urllib.request.Request(fonts_url, headers={"User-Agent": UA})
css = urllib.request.urlopen(req).read().decode("utf-8")
for font_url in set(re.findall(r"url\((https://[^)]+\.woff2)\)", css)):
data = urllib.request.urlopen(font_url).read()
b64 = base64.b64encode(data).decode("ascii")
css = css.replace(font_url, f"data:font/woff2;base64,{b64}")
return css.replace("font-display: swap;", "font-display: block;")
def npm_fonts_css():
# Fallback if Google Fonts is blocked. npm is on Claude's approved network list.
tmp = tempfile.mkdtemp()
subprocess.run(["npm", "install", "--prefix", tmp, "@fontsource/plus-jakarta-sans"], check=True)
files = Path(tmp) / "node_modules/@fontsource/plus-jakarta-sans/files"
css = ""
for weight in (300, 400, 500, 600, 700):
data = (files / f"plus-jakarta-sans-latin-{weight}-normal.woff2").read_bytes()
b64 = base64.b64encode(data).decode("ascii")
css += f"@font-face{{font-family:'Plus Jakarta Sans';font-weight:{weight};font-display:block;src:url(data:font/woff2;base64,{b64}) format('woff2');}}"
return css
try:
embedded_css = fetch_embedded_fonts_css(GOOGLE_FONTS_URL)
except Exception:
embedded_css = npm_fonts_css()
html = HTML_PATH.read_text(encoding="utf-8")
html = re.sub(r'<link[^>]*fonts\.googleapis\.com[^>]*>', lambda m: f"<style>{embedded_css}</style>", html)
HTML_PATH.write_text(html, encoding="utf-8")
```
## Step 2 — Export each slide as PNG
```python
import asyncio
from pathlib import Path
from playwright.async_api import async_playwright
INPUT_HTML = Path("/path/to/carousel.html")
OUTPUT_DIR = Path("/path/to/slides")
OUTPUT_DIR.mkdir(exist_ok=True)
SLIDE_W, SLIDE_H = 420, 525
SCALE = 1080 / SLIDE_W
async def export_slides():
async with async_playwright() as p:
browser = await p.chromium.launch()
page = await browser.new_page(
viewport={"width": SLIDE_W + 400, "height": SLIDE_H + 400},
device_scale_factor=SCALE,
)
await page.set_content(INPUT_HTML.read_text(encoding="utf-8"), wait_until="networkidle")
await page.evaluate("() => document.fonts.ready")
await page.wait_for_timeout(3000)
# Move slides out of the swipe frame so off-screen slides aren't clipped.
await page.evaluate("""() => {
const slides = [...document.querySelectorAll('.slide')];
const stack = document.createElement('div');
slides.forEach(s => {
s.style.width = '420px';
s.style.height = '525px';
s.style.flex = 'none';
s.style.transform = 'none';
stack.appendChild(s);
});
document.body.replaceChildren(stack);
document.body.style.margin = '0';
}""")
slides = await page.query_selector_all(".slide")
for i, slide in enumerate(slides):
await slide.screenshot(path=str(OUTPUT_DIR / f"slide_{i+1:02d}.png"))
await browser.close()
asyncio.run(export_slides())
```
## Key rules
1. Embed fonts as base64 BEFORE export
2. Viewport = slide_width + 400 (buffer)
3. element.screenshot(), not page.screenshot({clip})
4. device_scale_factor to scale up
5. Wait for document.fonts.ready + 3 seconds
6. Use Python, never shell scripts
7. Move slides out of the preview frame before taking screenshotsSave the text below, exactly as written, as a file named SKILL.md inside a folder named carousel-to-png. ZIP that folder so the folder is the top level of the archive, then give me carousel-to-png.zip to download. Don't change the text. [PASTE THE SKILL.MD TEXT HERE]
Your Claude Project is now ready. Here’s how to use it to make a carousel from a Twitter (X) thread:
- Open claude.ai/projects and click your project.
- Start a new chat from inside the project, not a regular chat outside it. The project’s instructions and photo only apply inside the project.
- Paste the three prompts below into that chat, one at a time. Change the parts marked in brackets
[ ]to your own content.
Every new carousel uses these same three prompts in order.
Prompt 1 — Convert your thread (or topic) into a carousel:
Turn this into a Twitter (X)-style carousel — 7 slides. Here's the thread: [PASTE YOUR THREAD HERE]
If you don’t have a thread, replace the bracketed section with a topic instead — e.g., “Topic: 7 productivity habits for solopreneurs. Make each slide one habit.”

Swipe through every slide. If anything needs to change (a slide is too long, the hook is weak, you want to split a slide into two), use Prompt 2. If it looks good, skip to Prompt 3.
Prompt 2 — Fix specific slides without losing the rest:
Slide 3 needs to be punchier and break into two slides. Only update slide 3 — don't rebuild the rest.
The “don’t rebuild the rest” line is what stops Claude from regenerating the whole carousel and losing your other edits.
Prompt 3 — Export as PNGs:
Use the carousel-to-png skill to export all slides as 1080×1350 PNGs.

Click “Download” on each PNG to save it to your computer. Save them in numbered order (slide_01 first) so they go into Instagram in the right sequence.
Check that each slide is sharp and complete. Then upload the PNGs to Instagram in order, write your caption, and post. Keep the HTML file too, so you can edit the carousel later.
For more prompt patterns you can adapt, see our prompt engineering guide and our roundup of the best ChatGPT prompts for work and productivity.
How to Turn a Twitter Thread Into a LinkedIn Carousel
To turn a Twitter (X) thread into a LinkedIn carousel, build the slides with the same Claude Project, export the PNGs, ask Claude to combine them into one PDF, and upload that PDF to LinkedIn as a document post. What most people call a LinkedIn carousel is a document post, so LinkedIn needs a single file, not a set of separate images.
Step 1: Turn your PNG slides into one PDF
After Prompt 3, paste this into the same chat. Claude can create PDF files when Code execution and file creation is on, according to Anthropic’s file creation help page.
Combine all the exported slide PNGs, in order (slide_01 first), into one PDF named [carousel-name].pdf. Make every page exactly the same size as the slides, with no margins, borders, or extra pages. Give me the PDF to download.
Keeping every page the same size matters. LinkedIn’s Help Center says PDFs with pages of different sizes must be fit to the same page size before you upload them.
Step 2: Post the PDF on LinkedIn
These are the desktop steps from LinkedIn’s Help Center:
- Click Start a post at the top of your LinkedIn homepage.
- Click More, then the document icon.
- Click Choose file and select your PDF.
- Add a title, then click Done. The title tells people what the carousel covers.
- Write your post text, then click Post.
In the LinkedIn mobile app, tap Post, tap the More icon, then tap Document. Choose the file, add a title, tap Next, and post. You can also upload documents in a Group or on a LinkedIn Page.
LinkedIn carousel size, limits, and slide count
| Question | Answer |
|---|---|
| File types | PDF, PPT, PPTX, DOC, or DOCX (LinkedIn recommends PDF for the best quality) |
| File limits | Up to 100 MB and 300 pages, one file per post |
| Page size | All pages must be the same size |
| Slide size | LinkedIn’s help page doesn’t give one. Third-party guides commonly suggest 1080×1350 (4:5) or 1080×1080 (square), so this setup’s 1080×1350 slides fit |
| Slide count | LinkedIn doesn’t recommend a number. This setup’s 7 to 10 slides is an editorial default |
| Editing after posting | You can edit the post text or delete the post, but you can’t swap the document |
| Downloads | People who see the post can download the document as a PDF |
Sources: limits and rules come from LinkedIn’s Help Center, checked November 21, 2026. LinkedIn’s paid Carousel Ads are a separate format with their own specs (2 to 10 square image cards), so don’t mix up those specs with a regular document post.
Step 3: Adapt the Claude Project for LinkedIn
You can keep one project for both platforms. Add the lines below to the end of your project instructions, fill in the brackets, and say “LinkedIn” in Prompt 1 when you want this version. If you post only on LinkedIn, you could instead make a second project with these changes built in.
LINKEDIN VERSION (use when I say "LinkedIn") - In the tweet header, show my LinkedIn name: [Your Name]. Replace the @handle line with my headline: [Your LinkedIn headline] - Tone: Professional - Skip the Instagram frame in the preview. Show the slides stacked vertically instead - On the last slide, end with a question or a follow CTA for LinkedIn - After the PNG export, combine the slides into one PDF with every page the same size
The carousel-to-png skill doesn’t need any changes, because the slide size stays the same. Before you post, check that slides look right on a phone, since many people scroll LinkedIn on mobile. As with any repurposed thread, only post content you wrote or have the rights to use.
Who This Setup Is For (And How It Helps You Grow)
This setup is built for people who already write threads, newsletters, or blog drafts and want to reuse that work on another platform without designing every post by hand.
It’s most useful if you post often enough for the one-time setup to be worth it.
| If you are… | This setup gives you… |
|---|---|
| A creator on X who wants Instagram reach | A repeatable way to reuse your threads on Instagram |
| A LinkedIn carousel poster | Same workflow, with the PNGs combined into one PDF for a LinkedIn document post |
| A faceless brand operator running multiple pages | One Claude Project per brand, fully branded |
| A ghostwriter or social media manager | A consistent format for client work, with client approval on content and any AI use |
| A solo founder posting daily | Daily posting without daily designing |
How this can help you grow
For a broader view of paid work around AI, see our guide to 25 ways to make money with AI. And if you’re promoting a business, our complete AI for marketing playbook covers the rest of your marketing workflow.
What the Daily Workflow Looks Like
Once setup is done, here’s the flow for a single carousel. The times are rough estimates, not measurements, and they’ll vary with your edits and how busy Claude is:
| Step | Action | Time |
|---|---|---|
| 1 | Open the Claude Project, start a new chat | 5 sec |
| 2 | Paste Prompt 1 + your thread (or topic) | 15 sec |
| 3 | Wait for HTML carousel preview | A minute or two |
| 4 | Swipe through, request 1–2 edits if needed | 1–2 min |
| 5 | Approve and run Prompt 3 to export | About a minute |
| 6 | Download PNGs, upload to Instagram, post | 2 min |
Common Mistakes That Break the Twitter Thread to Carousel Export
If an export breaks, start with these common causes:
| Symptom | What Went Wrong | Fix |
|---|---|---|
| Claude says it can’t run code or make files | Code execution is off | Turn it on in Settings > Capabilities |
| Upload is rejected | ZIP structure or name mismatch | The ZIP must contain a carousel-to-png folder holding SKILL.md, and the file must start with the name and description lines |
| Claude can’t install Chromium or reach a site | Network access is limited to approved sources such as npm and PyPI by default | Turn on Allow network egress in Settings > Capabilities, then start a new chat |
| Slides are blank or show the wrong content | Slides were captured inside the swipe frame | Use the current SKILL.md, which moves slides out of the frame, and make sure each slide has the class slide |
| Fonts look slightly off vs the HTML preview | Skill didn’t embed fonts as base64 | Re-run Step 1 of SKILL.md, which falls back to npm if Google Fonts is blocked |
| Right edge of the slide is cut off | Viewport set equal to slide width | Viewport must be slide width + 400 px buffer |
| Slides look blurry | Used a 1080×1350 viewport directly | Keep viewport at slide CSS size, use device_scale_factor |
| Gray stripe on one edge of the PNG | Used page.screenshot with a clip rectangle | Use element.screenshot() instead |
| HTML manipulation crashes mid-export | Claude tried to use a shell script | Tell it to use Python’s Path.write_text() |
Variations You Can Try
The default produces X-style Instagram carousels. You can adapt the same setup to other formats:
| Variation | What to Change |
|---|---|
| LinkedIn document carousels | Keep the 1080×1350 PNGs and ask Claude to combine them into one PDF, then upload it as a document. Third-party guides recommend this size. See the LinkedIn carousel steps above for the prompt and LinkedIn’s limits |
| Educational slides (no tweet header) | Remove the profile section, use title + body + visual layout |
| Multiple brands | One Claude Project per brand — same skill works across all of them |
| Longer carousels (10–15 slides) | Just specify the slide count in Prompt 1 |
| Different fonts | Swap Plus Jakarta Sans for Inter, DM Sans, Poppins, or another Google Font. Update both the project instructions and the font names in SKILL.md |
If you’re still deciding which AI to anchor your content stack around, our breakdown of ChatGPT vs Claude vs Gemini walks through where each one wins for content work.
This guide is written for Claude. Other assistants have their own project and skill-style features, so similar workflows may be possible there, but these exact files and steps were written for Claude.


