image-gen
Skill2 starsChanged 22 days agoMITView on GitHub
Generate or edit marketing images with OpenAI gpt-image-2 through a bundled stdlib-only CLI — blog covers, landing-page illustrations, ad visuals, social graphics, product mockups, inpainting and multi-image compositions — choosing quality (low / medium / high) by whether the user needs drafts or a final asset, and checking every rendered word. Use whenever someone asks to create, draw, render, edit or inpaint an image. Triggers: "generate an image", "make a cover", "illustration for the landing", "edit this picture", "inpaint".
- Reads credentials
49 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- uprinter/ai-agents-teamtheir own version, first seen Nov 8, 2026
- artemmarketolog/image-gentheir own version, first seen Nov 8, 2026
- ITch8/customs-data-skillstheir own version, first seen Nov 8, 2026
- dotslashsimran/simcrafttheir own version, first seen Nov 8, 2026
- notque/vexjoy-agenttheir own version, first seen Nov 7, 2026
Used with
Projects with it also use spotify, trello and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
QuixiAISkillspotify
Search Spotify, inspect current playback and devices, and control playback with explicit approval
Also in 3 projects that use this
QuixiAISkilltrello
List Trello boards, lists, and cards and create or update cards with explicit approval
Also in 3 projects that use this
AnthropicSkilldaily-briefing
Morning rundown - today's meetings with account context, opps closing soon with stale flags, waiting customer emails, and the day's top actions. Use when the user says "daily briefing", "daily brief", "morning briefing", "what's my day", "what's on my plate today", "prep my day", "start my day", "morning rundown", or on a schedule.
Also in 3 projects that use this
silvainfmSkillpaid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
Also in 3 projects that use this
AnthropicSkillweather
The optional standing status report ("the weather"): compile open incidents, build health, merge-queue stats, and deploy lag into one always-current report page, and post to the channel only when a defined event fires. Use when the weather routine fires, or when someone asks to run/update the weather report.
Also in 3 projects that use this
mitsuhikoSkillsummarize
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize
Also in 3 projects that use this
Other versions49 projects use a version of this.
Word for word · 1
- tymoshenko-dmytro/claude-marketing-skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 48
- ethereum/ethereum-org-website★ 6ksame name
- fastclaw-ai/fastclaw★ 1.4ksame name
- QuixiAI/agi-memory★ 623same name
- QuixiAI/Hexis★ 623same name
- notque/claude-code-toolkit★ 448same name
- notque/vexjoy-agent★ 448same name
- suitedaces/dorabot★ 247same name
- Sma1lboy/rove★ 184same name
- wpsnote/wpsnote-skills★ 184same name
- microsoft/Huabu★ 170same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- ads-parserSkill
- ads-video-librarySkill
- ahrefsSkill
- competitor-researchSkill
- connectSkill
- funnel-screenshotsSkill
- ga4-reportsSkill
- gsc-insightsSkill
- parallel-researchSkill
- plain-copySkill
- seoSkill
- seo-tech-auditSkill
- video-3dSkill
- video-buildSkill
- video-checkSkill
- video-generatedSkill
- video-movesSkill
- video-soundSkill
- video-studioSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 34 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 51
Read references/art-direction.md before writing a prompt for anything that will be published.
- Very specific: line 60
If the project keeps images in a folder (assets/, public/images/), generate there.
- Distinctive: line 61
Look at the result yourself before presenting it: text spelling, extra fingers, cut-off objects, wrong brand colours.
- Very specific: line 65
Add your brand to references/art-direction.md: palette (hex codes), what your product UI looks like, two or three reference images you like …
“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Image generation — gpt-image-2
scripts/img.py wraps OpenAI's image API. Python stdlib only, nothing to install. Default model gpt-image-2; OpenAI now recommends the GPT Image 2.5 models for new work (--model gpt-image-2.5-flare, or set IMG_MODEL) — same per-token price, plus xhigh and max quality. Try one on a draft before switching a whole project.
Key: OPENAI_API_KEY, from the environment or ~/.config/marketing-agent-kit/.env. Setup: connections/openai-images-api.md, or run the connect skill.
IMG="python3 ${CLAUDE_SKILL_DIR}/scripts/img.py"
$IMG "a watercolor cat on a windowsill" -q low -o drafts/cat.png
$IMG edit "make it nighttime" -i photo.png -o out.png
$IMG edit "fill the masked area with sky" -i photo.png -m mask.png -o out.png
$IMG edit "compose these two into one scene" -i a.png -i b.png -o combined.pngimg.py <prompt> without a subcommand means generate.
Quality is the main cost lever
The default is high. Quality changes the price roughly 35×, so downgrade on purpose for exploration. Approximate prices for 1024×1024 (OpenAI pricing, autumn 2026; landscape 1536×1024 is slightly cheaper):
-q | ~price | Use for |
low | ~$0.006 | brainstorming many variants, mood boards, "show me 5 ideas" |
medium | ~$0.053 | working drafts, "is this the right direction?" |
high | ~$0.211 | final assets that will be published or shown (default) |
Rule: more than three images of one concept for the user to pick from → low or medium. Re-render the chosen one at high. Say it out loud: "Rendering 4 drafts at low quality — pick one and I'll re-render it at high."
Flags
-o PATH— output file (defaultimg-<timestamp>.pngin the current folder). With-n > 1:name-1.png,name-2.png, …-s SIZE—auto(default) |1024x1024|1536x1024(landscape) |1024x1536(portrait) | other sizes: edges in multiples of 16, up to 3840 px, aspect ratio up to 3:1 (above 2560×1440 is experimental).-f png|jpeg|webp,--compression 0-100(jpeg / webp only).-n N— variants in one call.--background opaque|transparent|auto— for a transparent PNG use a GPT Image 2.5 model:--model gpt-image-2.5-flare --background transparent -f png.gpt-image-2rejectstransparentwith HTTP 400 (tested 2026-10-01, although the API reference calls it a preview).--moderation low|auto—lowonly when the user asks and the content is benign.--model— defaultgpt-image-2; pin a dated snapshot when the user needs reproducibility.
Edits: without -m the whole image is rewritten from the prompt and inputs. With -m mask.png only the transparent area of the mask changes (the mask needs an alpha channel and the same size and format as the input, under 50 MB).
New OpenAI accounts may need API Organization Verification before GPT Image models work, and the lowest usage tier is limited to about 5 images per minute. Several -i flags compose several references into one image.
Art direction rules for marketing images
Read references/art-direction.md before writing a prompt for anything that will be published. The core:
- The picture illustrates the actual content, literally. A generic flat-lay of blurred papers next to a list of bonuses is filler; the same documents with their real short titles on them is an illustration.
- At most two pieces of text in an image, short ones, and check every letter of every rendered word before showing it. Misspelled text in a generated image is the most common reason it gets rejected.
- A metaphor has to be literally true to what the copy says. If it isn't, use the product itself.
After generating
- Print the absolute output path.
- If the project keeps images in a folder (
assets/,public/images/), generate there. - Look at the result yourself before presenting it: text spelling, extra fingers, cut-off objects, wrong brand colours.
Adapt it
- Add your brand to
references/art-direction.md: palette (hex codes), what your product UI looks like, two or three reference images you like and why. Prompts that quote these come out on-brand.
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
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.

