linkedin-carousel

linkedin-carousel is a skill for Claude Code from ondrej-svec/heart-of-gold-toolkit. It costs 58 tokens per session (1,531 once invoked), scanned A, original, MIT.

A tool that turns ordered screenshots or other raster images into a PDF document post for LinkedIn, often called a carousel. It matches each page's background to the source image so unwanted padding blends in.

In plain words
What is it for?
Use it to make portrait, square, or landscape carousel PDFs from PNG or JPG files with ImageMagick installed.
Why use it?
It removes the manual work of arranging images and hiding visible borders or padding. The result is a feed-ready PDF, but the tool does not upload or post it to LinkedIn.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the babel-fish plugin — 4 skills shipped together

Good fit Use it to make portrait, square, or landscape carousel PDFs from PNG or JPG files with ImageMagick installed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel
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.

Any agent
npx skills add ondrej-svec/heart-of-gold-toolkit --skill linkedin-carousel
Clone the repo
git clone --depth 1 https://github.com/ondrej-svec/heart-of-gold-toolkit

Made for: Claude Code.

Or install babel-fish, the plugin that ships this one along with the rest of its 4 skills.

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 linkedin-carousel

README.md
[![agentmods](https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel/github.svg)](https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel)
Your own site
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-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 linkedin-carousel

Your own site · 80×15
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/linkedin-carousel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00058 $0.01531
Opus 5 $0.00029 $0.00766
Sonnet 5 $0.00012 $0.00306
Haiku 4.5 $0.00006 $0.00153

Measured 12d ago against content hash 40402de523e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

linkedin-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 12d 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.

plugins/babel-fish/skills/linkedin-carousel/SKILL.md · 140 lines

How it starts

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

Translating a stack of screenshots into a feed-ready document post. The trick isn't the PDF — it's making the padding invisible.

Boundaries

  • MAY: read source images, run magick, write PNGs and PDFs to the requested output path.
  • MAY NOT: upload to LinkedIn, post on the user's behalf, or modify the source images in place.

Prerequisites

  • ImageMagick installed (magick on PATH). Check with which magick.
  • Sources are raster images (PNG/JPG). For non-image inputs, ask the user to export first.

Phase 0 — Understand

Entry: User asked for a LinkedIn carousel.

Gather, asking only what's missing:

  • Sources: ordered list of image paths (order = page order in the carousel).
  • Slug: kebab-case filename for the PDF (e.g. harness-lab-carousel). If the user gives a topic, derive it; otherwise ask.
  • Output path: default thoughts/social-media/carousels/<slug>.pdf if the repo has that dir; otherwise ask.
  • Aspect preference: portrait (best feed performance), square, or landscape. If the user has no preference, infer from sources in Phase 1.

Exit: Source list, output path, and aspect intent are known.

Phase 1 — Plan

Entry: Inputs gathered.

Reason step-by-step before generating:

  1. Run magick identify on each source to get width × height.
  2. Pick canvas aspect to minimize padding:
    • User asked for portrait → 1080×1350 (×2 = 2160×2700).
    • User asked for square → 1080×1080 (×2 = 2160×2160).
    • No preference → if the sources cluster around one aspect, pick the median w/h ratio — this minimizes total padding across the deck. If sources span a wide range (e.g. 1.6:1 → 2.6:1), pick the aspect that makes the most pages padding-free, and accept that the outliers will get bands.
  3. Sample background color per page — the move that makes seams invisible. Need the dimensions first, then sample three corners:
    read W H < <(magick identify -format "%w %h" "$src")
    magick "$src" -format \
      "tl=%[pixel:p{5,5}] tr=%[pixel:p{$((W-5)),5}] bl=%[pixel:p{5,$((H-5))}]\n" \
      info:
    
    If all three corners agree, use that color. If they disagree, the source has no clean border — fall back to #F4EFE3 (or another neutral the user prefers) and tell them.
  4. Render at 2× target resolution with Lanczos resampling. 300 DPI in the final PDF.

Read the full file on GitHub · 140 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. 12d ago First seen · 140 lines · 58 tokens per session scan A 40402de523e9

Subscribe to this mod's changes

linkedin-carousel is a skill published in the GitHub repository ondrej-svec/heart-of-gold-toolkit (19 stars, last pushed 22d ago), licensed MIT. It adds 58 tokens to every session and 1,531 once invoked, about $0.0003 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

wowerpoint

Turn one document into a kawaii NotebookLM slide-deck PDF. Use for "wowerpoint this", "make a deck about ", "turn this report into slides", or any request to render a single document as shareable narrative slides.

thedotmack/claude-mem · 55 tokens

pptx-posters

Create research posters using HTML/CSS that can be exported to PDF or PPTX. Use this skill ONLY when the user explicitly requests PowerPoint/PPTX poster format. For standard research posters, use latex-posters instead. This skill provides modern web-based poster design with responsive layouts and easy visual…

foryourhealth111-pixel/Vibe-Skills · 66 tokens

slides

Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding…

fcakyon/claude-codex-settings · 83 tokens

pptx

Create and validate Microsoft PowerPoint presentations (.pptx), including structured slide decks, tables, workflows, metadata, and reproducible generation scripts. Use for presentation, slides, PowerPoint, PPT, or PPTX creation and verification tasks.

agents-flex/agents-flex · 50 tokens

utility-slideshow-creator

Generates professional presentations from a JSON deck specification using 18 slide types with dark/light variants, content-to-layout decision logic, and calibrated character limits. Ships with a default professional theme.

product-on-purpose/pm-skills · 43 tokens

timecode-audio-edit-workflow

The patch comprehensively addresses all identified issues.

HKUDS/OpenSpace · 0 tokens