agentleFS
ilovefinikiilovefiniki/agent-skills/skills/social-screenshot-creator/SKILL.md

social-screenshot-creator

Skill0 starsChanged 49 days agoMITView on GitHub

Generate pixel-perfect 2x Retina screenshots of social media posts for LinkedIn, Threads, and X (Twitter). Produces post cards and comments for all 3 platforms in one command. Trigger when user says "make a screenshot post", "generate fake social screenshot", "create post preview", or wants to visualize a post as a realistic social media capture.

  • Installs packages

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All 3 platforms are rendered simultaneously via Playwright from a single post text input, with optional comment thread captures.

    line 10

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Social Screenshot Creator

Generates realistic, high-resolution (2x Retina) screenshots of social media posts for LinkedIn (light theme), Threads (dark theme), and X / Twitter (black theme).

All 3 platforms are rendered simultaneously via Playwright from a single post text input, with optional comment thread captures.


⚡ Quickstart

Prerequisites

pip install playwright pillow
playwright install chromium

Basic Generation

python3 scripts/generate_screenshot.py \
  --text "Your post content goes here. Paragraph breaks are preserved.\n\nKey takeaways: ..."

Outputs 3 high-res images in ./screenshots/YYYY-MM-DD_slug/:

  • linkedin_post.png (LinkedIn Light card)
  • threads_post.png (Threads Dark card)
  • x_post.png (X.com Black card)

With Custom Persona & Avatar

python3 scripts/generate_screenshot.py \
  --text "AI engineering is shifting from prompt-tuning to deterministic governance loops." \
  --name "Sarah Connor" \
  --handle "sarahconnor" \
  --title "Robotics & AI Lead" \
  --avatar "path/to/custom_avatar.jpg" \
  --output-dir "./output"

With Attached Comment Variant

python3 scripts/generate_screenshot.py \
  --text "Main post text..." \
  --comment "First follow-up comment or link drop..."

This produces an additional 3 images capturing the post with its first threaded reply.


🛠️ CLI Flags & Options

ArgumentDefaultDescription
--text(Required)Full body text of the post.
--commentNoneOptional follow-up comment text.
--nameAlex RiversAuthor display name.
--handlealexriversSocial handle (without @).
--titleAI Engineer & Systems ArchitectAuthor headline / bio title.
--avatarassets/default_avatar.pngPath to author avatar image.
--output-dir./screenshotsDestination directory.
--li-time1dTimestamp displayed on LinkedIn card.
--threads-time2hTimestamp displayed on Threads card.
--x-timeMay 1Timestamp displayed on X card.

🎨 Rendering Engine

Uses headless Chromium via Playwright to snapshot semantic HTML/CSS templates at device_scale_factor=2 for crisp Retina display on mobile feeds and blogs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.