{"slug": "my-coding-agent-kept-saying-done-on-images-it-never-looked-at", "title": "My coding agent kept saying \"done\" on images it never looked at", "summary": "A free Claude Code skill called og-images, installable via the abdiraimov-otabek/claude-code-og-image-skill marketplace on Claude Code 2.1.275 or later, generates an app's link preview (og.png at 1200×630), a six-slide Product Hunt gallery (1270×760), an X header (1500×500) and a meta.html tag block from the app's real UI, then measures every PNG before delivery. The skill installs Playwright 1.59.1 into its own folder to render locally, writes only to launch-assets/og/ and launch-assets/brand.json, and fails the run with one clear line if a file misses checks including exact size, no alpha channel, 4.5:1 text contrast, a minimum title size readable at 300 px, the actual font that drew the text, and the X avatar zone measured on x.com. The author built it after a coding agent kept reporting images as done without ever looking at them, so the skill verifies each file and fixes failures before reporting success.", "body_md": "**Link previews that look like your app.**\n\nA free Claude Code skill that makes your app's launch images from its real UI: the link preview, a Product Hunt\ngallery and an X header. Then it checks every file before it hands them to you.\n\n[Install](#install) · [What it makes](#what-it-makes) · [Before and after](#before-and-after) · [How it works](#how-it-works) · [FAQ](#faq)\n\nYour link preview is the first thing people see of your app: in X, Slack, iMessage, Reddit and Product Hunt. Most indie apps ship a logo on a gradient, or nothing. og-images reads your repo and makes cards that show the real app, in your colours and your site's own words, at every size each platform asks for.\n\nIn Claude Code (2.1.275 or later):\n\n```\n/plugin install og-images --marketplace abdiraimov-otabek/claude-code-og-image-skill\n```\n\nOn an older Claude Code: `/plugin marketplace add abdiraimov-otabek/claude-code-og-image-skill`, then\n`/plugin install og-images@og-images`.\n\nThen open your app's repo and ask:\n\n```\nMake the link preview, Product Hunt gallery and X header for this app\n```\n\nOn first use the skill installs Playwright 1.59.1 into its own folder, never your repo, to render the images.\n\n## Install without the plugin system\n\n```\ngit clone https://github.com/abdiraimov-otabek/claude-code-og-image-skill\nln -s \"$PWD/claude-code-og-image-skill/skills/og-images\" ~/.claude/skills/og-images\n```\n\nThen run `/reload-skills` in Claude Code.\n\n- macOS with Claude Code\n- Node.js 20 or newer\n- Your app's icon and at least one real screen of the app, or a way to capture one (the skill looks for your app's own demo or snapshot mode first, and ships a one-line window capture for Mac apps)\n\nIt writes only to `launch-assets/og/` and `launch-assets/brand.json` in your repo.\n\n| File | Size | What is in it | \n|---|---|---|\n| `og.png` | 1200×630 | Your icon and name, a large title that still reads at 300 px wide, a real capture, on your brand colours or a bright wallpaper | \n| `og-<page>.png` | 1200×630 | Optional: one per page of your site, titled from each page's own `<title>` or`<h1>` | \n| `ph/01…06.png` | 1270×760 | A Product Hunt gallery: slide 1 is the hero, each other slide one benefit | \n| `x-header.png` | 1500×500 | Your X header, with text kept clear of your profile photo and the phone crop | \n| `meta.html` |  | The `og:image` ,`twitter:card` , size and alt tags, ready to paste | \n\nSizes are checked against Product Hunt's and X's own help pages, with dates, in\n[sizes.md](https://github.com/abdiraimov-otabek/claude-code-og-image-skill/blob/main/skills/og-images/references/sizes.md).\n\n|  | Before: the site's own card | After: og-images | \n|---|---|---|\n| **Halo** |  |  | \n| **Shedi** |  |  | \n\nThe avatar zone was measured on x.com itself, on desktop and on a phone. The render fails if any text or UI lands in it.\n\n1. \n**Brand.** It reads your repo (README, site, asset catalog,`Info.plist` , CSS) and writes`launch-assets/brand.json` :\nname, one-liner, colours, fonts, icon. It asks you only for what it could not find.\n2. \n**Real captures.** It uses your app's real screens, never drawn or generated UI: focused window, animations settled,\nneutral demo data.\n3. \n**Your words.** Titles are your site's own sentences, shortened. Never paraphrased, never a number that is not on\nyour site.\n4. \n**Render.** HTML and CSS rendered by Playwright at the exact pixel size, the same bytes on every run.\n5. \n**Check the files.** Every PNG is measured before you see it:\n  - exact size and no alpha channel\n  - text contrast of at least 4.5:1, on the real pixels behind the words\n  - a minimum title size, so it reads in a feed at 600 px and as a 300 px thumbnail\n  - the font that actually drew the text (a silent fallback to Helvetica or Times fails)\n  - the X avatar zone and phone crop\n  - how much of the card the app fills\n A failure stops the run with one clear line, and the skill fixes it before it reports.\n\n**Does my code leave my Mac?**\n\nNo. Everything renders locally. Claude Code reads your repo the same way it does for any other task.\n\n**Does it work for iPhone apps?**\n\nThe cards are built around landscape, Mac-style captures. For phone screenshots, see the App Store screenshot skill\nin Gold Master Kit below.\n\n**Can I use my own background?**\n\nYes. It picks one of five bright wallpapers to match your accent colour, or uses a soft field of your own brand colours,\nor any image you point it at.\n\n**What is inside?**\n\n```\nskills/og-images/\n  SKILL.md                 what Claude follows\n  scripts/render.mjs       renders the PNGs and runs the checks\n  scripts/pages.mjs        lists a site's pages with their title and h1\n  scripts/preview.mjs      contact sheet at 600 px and 300 px wide\n  scripts/capture-window.swift   captures one window of a running Mac app\n  templates/og.html        the card\n  assets/wallpapers/       five bright landscapes, 1.8 MB in all\n  references/sizes.md      sizes and safe zones, with sources and dates\n```\n\nMIT, see [LICENSE](https://github.com/abdiraimov-otabek/claude-code-og-image-skill/blob/main/LICENSE). The five wallpapers have their own terms in\n[skills/og-images/assets/wallpapers/LICENSE-wallpapers.md](https://github.com/abdiraimov-otabek/claude-code-og-image-skill/blob/main/skills/og-images/assets/wallpapers/LICENSE-wallpapers.md):\nfree to use in your own launch graphics, not to be resold or redistributed as a pack.\n\nI'm Otabek, and I build and sell Mac apps on my own: [Halo](https://halo-mac.com) and [Shedi](https://shedi.app). The\ncards above are their real launch images. I also made the free\n[dashboard-design](https://github.com/abdiraimov-otabek/dashboard-design-skill) skill.\n\nog-images is one skill from **[Gold Master Kit](https://goldmasterkit.com)**, a paid pack for Mac and iOS launches. It\nadds App Store screenshots at Apple's exact sizes, launch posts, a launch film and a one-page website, each checked on\nthe files.", "url": "https://wpnews.pro/news/my-coding-agent-kept-saying-done-on-images-it-never-looked-at", "canonical_source": "https://github.com/abdiraimov-otabek/claude-code-og-image-skill", "published_at": "2026-11-25 09:35:40+00:00", "updated_at": "2026-11-25 10:14:52.525586+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Claude Code", "og-images", "Playwright 1.59.1", "abdiraimov-otabek", "Product Hunt", "X", "Node.js 20"], "also_reported_by": [], "takeaway": "The og-images Claude Code skill renders launch images with Playwright 1.59.1 at exact platform pixel sizes and blocks delivery unless each PNG passes checks for size, no alpha, 4.5:1 contrast, minimum title size, the real font used and the X avatar zone.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/my-coding-agent-kept-saying-done-on-images-it-never-looked-at", "markdown": "https://wpnews.pro/news/my-coding-agent-kept-saying-done-on-images-it-never-looked-at.md", "text": "https://wpnews.pro/news/my-coding-agent-kept-saying-done-on-images-it-never-looked-at.txt", "jsonld": "https://wpnews.pro/news/my-coding-agent-kept-saying-done-on-images-it-never-looked-at.jsonld"}}