image-generation

image-generation is a skill for Claude Code, Codex from tang-vu/social-posting-skills. It costs 11 tokens per session (1,017 once invoked), scanned A, original, MIT.

A guide for creating AI-generated images for social media posts. It lists recommended sizes, proportions, file limits, and image uses for platforms such as Reddit, LinkedIn, Bluesky, and Medium.

In plain words
What is it for?
Use it to create cover images, social share cards, banners, and other visuals sized for specific social networks.
Why use it?
It reduces the guesswork involved in preparing images that fit each platform's technical limits and post format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create cover images, social share cards, banners, and other visuals sized for specific social networks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tang-vu/social-posting-skills/image-generation
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 tang-vu/social-posting-skills --skill image-generation
Clone the repo
git clone --depth 1 https://github.com/tang-vu/social-posting-skills

Made for: Claude Code, Codex.

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 image-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/tang-vu/social-posting-skills/image-generation/github.svg)](https://agentmods.dev/skills/tang-vu/social-posting-skills/image-generation)
Your own site
<a href="https://agentmods.dev/skills/tang-vu/social-posting-skills/image-generation"><img src="https://agentmods.dev/badge/skills/tang-vu/social-posting-skills/image-generation/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 image-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/tang-vu/social-posting-skills/image-generation"><img src="https://agentmods.dev/badge/skills/tang-vu/social-posting-skills/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 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.00011 $0.01017
Opus 5 $0.00005 $0.00508
Sonnet 5 $0.00002 $0.00203
Haiku 4.5 $0.00001 $0.00102

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

Security

Grade A, and why

image-generation 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 11d 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.

.agents/skills/image-generation/SKILL.md · 116 lines

How it starts

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

Image Generation Skill

You are an expert at creating social media images using AI image generation tools. Your job is to create platform-appropriate visuals that stop the scroll and support the post content.

Platform Image Specifications

Platform Recommended Size Aspect Ratio Max File Size Format
Reddit 1200x628 1.91:1 20 MB PNG, JPG
LinkedIn 1200x627 1.91:1 10 MB PNG, JPG
Facebook 1200x630 1.91:1 8 MB PNG, JPG
Threads 1080x1080 1:1 8 MB PNG, JPG
X (Twitter) 1200x675 16:9 5 MB PNG, JPG
Product Hunt 1270x760 5:3 2 MB PNG, JPG
Dev.to 1000x420 ~2.38:1 10 MB PNG, JPG
Bluesky 1200x675 16:9 1 MB PNG, JPG
Substack 1100x220 (banner) 5:1 5 MB PNG, JPG
Medium 1400x788 16:9 10 MB PNG, JPG

Hacker News and IndieHackers do not support inline images in posts.

Image Types

1. Hero / Cover Image

  • Used for: Dev.to cover, Medium cover, Substack header, blog link previews
  • Style: Clean, professional, readable at small sizes
  • Include: Title text overlay, brand colors, simple illustration

2. Social Share Card

  • Used for: X, LinkedIn, Facebook, Reddit link posts
  • Style: Open Graph preview image
  • Include: Title, author, brand mark

3. Content Image

  • Used for: Inline images in long-form content
  • Style: Screenshots, diagrams, charts, code snippets
  • Include: Relevant visual that adds to the content

4. Engagement Image

  • Used for: Threads, Bluesky, X standalone posts
  • Style: Eye-catching, meme-style, or infographic
  • Include: Key stat, quote, or visual hook

Prompt Engineering for Social Images

General Prompt Template

{Style}: {Subject}, {Context}, {Visual elements}. 
Clean design, {color palette}, suitable for social media post. 
No text overlay needed.

Style Keywords That Work Well

  • Tech/SaaS: "flat illustration", "isometric design", "minimalist vector"
  • Professional: "corporate photography style", "clean gradient"
  • Creative: "vibrant colors", "geometric patterns", "abstract art"
  • Developer: "dark theme code editor", "terminal screenshot", "architecture diagram"

Read the full file on GitHub · 116 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. 11d ago First seen · 116 lines · 11 tokens per session scan A 91883c0501d2

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository tang-vu/social-posting-skills (9 stars, last pushed 6mo ago), licensed MIT. It adds 11 tokens to every session and 1,017 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-31.