/open-screenshot-generator:store-compliancefrom Open Screenshot Generator
Verifies and uploads app store screenshots using the open-screenshot-generator CLI. Runs `osg verify` to audit PNGs/MP4s against App Store and Google Play rules (size tiers, locale caps, transparency, file size, aspect ratio, preview duration) and `osg upload` to push assets with developer credentials.
Ships in Open Screenshot Generator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The end state: osg verify exits 0, osg/osg.manifest.json describes every file that exists, and
either the set is uploaded to the right listing or the user has an exact list of what to fix.
Run verify before every upload, without exception. Both stores accept an upload and then fail it
asynchronously, App Store Connect hours later during asset processing, and a failure at that point
gives you a state code rather than an explanation.
| Code | Meaning | What to do |
|---|---|---|
| 0 | everything passed | ship it |
| 1 | usage, config or environment | fix the config or the machine, nothing was produced |
| 2 | the browser, the page or a tool call failed | a render problem, re-run with --verbose |
| 3 | the files exist and a store rule rejects them | fix the named rule and re-render |
npx -y open-screenshot-generator@0 verify
npx -y open-screenshot-generator@0 verify --json
--json prints one machine readable object with a row per finding, which is what to use in CI and
what to parse when reporting back.
| Finding | What it means | Fix |
|---|---|---|
| Missing tier | a format in formats produced no file | re-run render, or drop the tier from the config |
| Wrong pixel size | the board size is not an accepted size for that tier | set the artboard to the preset, or change formats |
| Too many images | more than the store's cap for that slot and locale | drop boards, the first two are what people see anyway |
| Too few images | under the store's floor (Play needs 2 phone shots) | add a board |
| Transparency | the PNG carries an alpha channel | give the board an opaque background, then re-render |
| File too large | over the store's per image limit | reduce visual complexity, or render the smaller accepted size |
| Aspect ratio | Play's long side is more than 2.3 times the short side | render the Play tier, not the iPhone tier, see below |
| Locale gap | one language has fewer boards than the base | the missing boards did not render, check the locale list |
| Placeholder copy | a headline still says the template's text, or a board is still named "Blank Artboard" | rename the board and write the copy, the board name becomes the file name |
| Empty device frame | a device slot still holds shipped placeholder art | place the app's real screenshot in it |
| Video duration | outside 15 to 30 seconds | set_preview_duration, or video.duration |
| Video dimensions | not 886x1920 or 1920x886 | re-render, the size is forced by the mode |
| Video codec | not H.264 | the browser has no H.264, see app-preview-video |
Placeholder copy and an empty device frame are not store rules. They are the two failures that
actually get shipped, so verify treats them as failures too.
You do not need every size. Apple scales the required tier down to the smaller ones.
| Slot | Default size | Also accepted | Status |
|---|---|---|---|
| iPhone with Dynamic Island (medium display) | 1206x2622 | 1179x2556, or the rotated sizes | required for every iPhone app |
| iPhone with Dynamic Island (large display) | 1290x2796 | 1260x2736, 1320x2868, or the rotated sizes | optional separate slot |
| iPad 13 inch | 2064x2752 | 2048x2732 | required if the app runs on iPad |
| Apple Watch | 422x514 | 410x502, 416x496, 396x484, 368x448, 312x390 | required for a watch app |
| Mac | 2560x1600 | 2880x1800, 1440x900, 1280x800, always 16:10 | required for a Mac app |
| Apple TV | 1920x1080 | 3840x2160 | required for a tvOS app |
| Apple Vision Pro | 3840x2160 | required for a visionOS app |
Older iPhone and iPad slots (6.5 inch, 5.5 inch, 4.7 inch, iPad 11 inch, 10.5 inch, 9.7 inch) still exist and are optional. Fill them only if the user asks. Every iPhone and iPad slot also accepts the rotated size, so a landscape app renders the same tier sideways. Watch, Mac, TV and Vision are one orientation only.
The default CLI format is ios-6-3 (1206x2622), and ios and iphone mean the same.
ios-6-9 and ios-large convert to the optional large slot at 1290x2796. The bundled
templates are built at 1206x2622, so a project built from one already fits the
required slot. Other canvas presets require creating or resizing the
artboards first, then rendering or uploading with --formats as-is to keep their dimensions.
Caps and formats:
| Slot | Size rule | Count |
|---|---|---|
| Phone screenshots | 320 to 3840 px per side, long side at most 2.3x the short side | 2 to 8, at least 2 required |
| 7 inch tablet | same rule, 1200x1920 recommended | up to 8 |
| 10 inch tablet | same rule, 1600x2560 recommended | up to 8 |
| Wear OS | square, at least 384x384 | up to 8 |
| Android TV | long side at most 2x the short side | up to 8 |
| Feature graphic | exactly 1024x500 | 1, required on every listing |
| App icon | exactly 512x512 | 1, required to publish |
| Android TV banner | exactly 1280x720 | 1 |
| Foldable screenshots | 960 to 3840 px per side. An app: one 1:1 and one 4:3 of the open inner screen, one 10:16 of the closed outer screen. A game: the 1:1, then 4:3 and 16:10 if played sideways, 3:4 and 10:16 if played upright | 3 to 8, needed from April 2027 |
PNG or JPEG, 8 MB maximum per image.
Render the Play tier rather than re-uploading the App Store files. Play takes a long side up to
2.3 times the short side, so 1206x2622 at 2.17:1 fits, but the play-phone preset (1080x1920) is the
size Google recommends, and converting to it puts the screenshots in Android phones instead of iPhones.
Foldable screenshots go in by hand. The Play upload API has no slot for them, so upload leaves
them out with a warning and verify warns png-size-play-console-only without counting them into a
set. Make them
with the canvas presets play-fold-square (2106x2106), play-fold-inner (2688x2016) and
play-fold-outer (1260x2016), render with --formats as-is, and add them in Play Console under
Foldable screenshots. play-fold-outer-landscape (2016x1260) and play-fold-inner-portrait
(2016x2688) are the same screens held the other way, for a game played that way or as extras.
Play also wants a promo video as a YouTube URL, not an uploaded file. The styled video mode
produces a good file for that, but you upload it to YouTube and paste the link into Play Console.
npx -y open-screenshot-generator@0 verify && npx -y open-screenshot-generator@0 upload
The upload uses the user's own developer credentials and talks to Apple and Google directly. No server belonging to this project is involved at any point.
Rules, in priority order:
osg/osg.config.ts. That file is committed. There is no credential field in
it, on purpose..p8, Google's is a service account
JSON. Add both to .gitignore before you download them.Set the environment variables the CLI reads, then run the command with --dry-run first: it reads
the store, renders, and says where each image would go without uploading anything. The key id comes
from the .p8 file's name, AuthKey_<keyid>.p8, so keep that name.
export OSG_APPSTORE_ISSUER_ID=... # App Store Connect API issuer id, a UUID
export OSG_APPSTORE_KEY_PATH=./secrets/AuthKey_XXXXXXXXXX.p8
npx -y open-screenshot-generator@0 upload --dry-run
npx -y open-screenshot-generator@0 upload
$env:OSG_APPSTORE_ISSUER_ID = '...'
$env:OSG_APPSTORE_KEY_PATH = './secrets/AuthKey_XXXXXXXXXX.p8'
npx -y open-screenshot-generator@0 upload --dry-run
PowerShell has no inline environment prefix, so VAR=x command does not work there. Set them on
their own lines, as above. When the key sees more than one app, name it with --app <bundle id>.
For Google Play, the service account JSON and the app's package name:
export OSG_PLAY_SERVICE_ACCOUNT=./secrets/play-service-account.json
export OSG_PLAY_PACKAGE=com.example.app
npx -y open-screenshot-generator@0 upload --store play --dry-run
The upload renders the project again at the config's formats, the same way render does, so
verify and the upload see the same sizes. --replace clears each set or slot first; without it the
images are added.
The Apple key needs the App Manager role. The Play service account has to be invited in Play Console and the Android Developer API has to be enabled on the project.
App Store Connect reserves each asset, uploads it in chunks to pre signed URLs, then commits it with a checksum. Every one of those calls returns 2xx for a wrong sized image. Apple then processes the asset asynchronously and it fails minutes to hours later. The upload therefore polls the delivery state and reports what Apple actually concluded, which is the only reason it can be trusted when it says the upload worked. Do not treat a fast success message from any other tool as acceptance.
Screenshots hang off a set scoped to (version, localization, display type), so a mixed project is grouped by resolved display type and each group gets its own set.
Screenshots are frozen once a version is submitted. Only a version in an editable state accepts them, and writing to one in review comes back 409. The version has to leave review first. Nothing is preselected for you, because arming an upload against a frozen version is worse than asking.
Google Play opens a staged edit, uploads into listings/<language>/<imageType>, validates, then
commits. Nothing is public until the commit, and a thrown error discards the whole edit, so a failed
run cannot leave a half updated listing. Some accounts refuse automatic review submission and say so
in the commit error; the client retries without sending for review and reports that it did.
Apple returns 401 or 403. Either the key is wrong or the key does not have the App Manager role. The two are indistinguishable in practice, so check both rather than guessing.
Play returns 403. Almost always setup, not code: the service account was never invited in Play Console, or the Android Developer API is not enabled.
Play returns 404. A package name typo, or an app that has never been published. Play refuses API edits before the first release.
Apple accepted it and then the screenshot disappeared. The asset delivery state went to FAILED.
That is a size or a format problem, and osg verify catches every case of it before the upload.
"This version cannot be edited." It is in review or already released. Create the next version in App Store Connect first.
Verify passes and the store still complains about content. The mechanical rules are what verify
covers. Review guidelines are not mechanical: do not show a device frame inside the screenshot of a
different device, do not show competing platforms' branding, do not put an award or a rating in the
image that the app did not earn, and do not show UI that is not in the shipped build. Those are
human review calls and they are also the ones that cost a week.
A screenshot shows content that is not in the build. That is the most common human review rejection of all. If the design invented a stat, a chart or a testimonial, change it.
verify flagged, one element at a timeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dotnetdreamer/open-screenshot-generator --plugin open-screenshot-generator5 skills in this plugin
/app-preview-videoBuilds an App Store App Preview video (and a Play Store or landing page promo cut) from a screen recording of the app, using the open-screenshot-generator CLI (`osg video`): it starts from one of 20 ready made preview scenes, drops real captured footage into the phone mockup, times the text and gesture overlays, checks the timeline against Apple Review Guideline 2.3.4, and renders H.264 MP4s at 886x1920. Use this whenever someone asks for an app preview, a preview video, a store video, an App Store trailer, a demo video for the listing, or says things like "make a video for the App Store", "turn this screen recording into a store preview" or "my listing needs a video". Also use it for follow ups: a different story, different overlay copy, retiming, a longer or shorter cut, or a version without the frame./editor-toolsDrives the live Open Screenshot Generator editor tool by tool over MCP, using `osg mcp` to expose the design tools (artboards, elements, backgrounds, fonts, the asset libraries, templates, App Preview timelines, 57 locales and PNG export) to any MCP client, plus `osg install` to write the server entry into a detected agent config. Use this whenever someone wants to edit an existing screenshot project rather than regenerate it, asks to connect the design tools to Claude Code, Cursor, Claude Desktop or VS Code, or says things like "move that headline", "make the phone bigger", "add an MCP server for my screenshots", "let me edit the design from here" or "what tools do I have". Read it before making any direct tool call, because the element, locale and export tools have asymmetries that silently do nothing if you guess./store-localizationShips one screenshot design in many App Store and Play Store languages using the open-screenshot-generator CLI (`osg localize`): it adds store locales to an existing project, writes per language copy, overrides the screenshot, font, box or position where a translation needs it, runs a CSV round trip with a human translation agency, and renders a fastlane style screenshots/<locale>/ folder per language. Use this whenever someone asks to localize store screenshots, translate their listing images, add German or Japanese or Arabic screenshots, ship a multi language App Store listing, or says things like "make these in Spanish too", "we are launching in Japan", "translate the screenshots" or "send the strings to a translator". Also use it for follow ups: a new language, a reworded translation, text that overflows in German, or a localized in app screenshot./store-screenshotsMakes App Store and Google Play screenshots for the app in the current repository using the open-screenshot-generator CLI (`osg`): it finds or imports the app's raw screenshots, picks or generates a design from 101 built in templates, writes the copy, renders every required size tier, verifies the files against the stores' own rules, and leaves a committed osg/osg.config.ts plus a project file that the next prompt edits instead of rebuilding. Use this whenever someone asks for store screenshots, App Store assets, Play Store graphics, listing images or marketing screenshots, including bare phrasings like "make screenshots for the store", "I need App Store assets for this app", "generate Play Store screenshots", "design my listing images" or "make a screenshot set from these PNGs". Also use it for follow ups on assets it already made: a new headline, a darker background, a different font or device frame, another template, a reordered set, an extra size tier, or another language.Other plugins' skills for the same job