appstore-screenshot-validator

appstore-screenshot-validator is a skill for Claude Code, Codex from Xopoko/build-swift-apps. It costs 38 tokens per session (561 once invoked), scanned A, original, MIT.

A tool for checking and uploading App Store screenshots while using current size requirements from App Store Connect.

In plain words
What is it for?
Use it to inspect PNG or JPEG screenshots, resize copies, remove alpha channels, convert colors, and upload screenshots for supported Apple platforms.
Why use it?
It helps find incorrect image dimensions, transparency, or color settings before submission, and accounts for whether the work is running on macOS.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the build-swift-apps plugin — 61 skills, 3 commands, 3 MCP servers shipped together

Good fit Use it to inspect PNG or JPEG screenshots, resize copies, remove alpha channels, convert colors, and upload screenshots for supported Apple platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xopoko/build-swift-apps/appstore-screenshot-validator
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 Xopoko/build-swift-apps --skill appstore-screenshot-validator
Clone the repo
git clone --depth 1 https://github.com/Xopoko/build-swift-apps

Made for: Claude Code, Codex.

Or install build-swift-apps, the plugin that ships this one along with the rest of its 61 skills, 3 commands, 3 MCP servers.

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 appstore-screenshot-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/xopoko/build-swift-apps/appstore-screenshot-validator/github.svg)](https://agentmods.dev/skills/xopoko/build-swift-apps/appstore-screenshot-validator)
Your own site
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/appstore-screenshot-validator"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/appstore-screenshot-validator/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 appstore-screenshot-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/appstore-screenshot-validator"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/appstore-screenshot-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 561 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.00561
Opus 5 $0.00019 $0.00280
Sonnet 5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

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

Security

Grade A, and why

appstore-screenshot-validator 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/screenshot_audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/appstore-screenshot-validator/SKILL.md · 51 lines

How it starts

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

App Store Screenshot Validator

Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.

Prepare screenshots for App Store Connect. Do not hard-code Apple size tables here; asc screenshots sizes is the source of truth.

Source Of Truth

asc screenshots sizes --output table
asc screenshots sizes --all --output table

For apps that run on each device family, the current required anchors are the iPhone 6.9-inch slot (IPHONE_69) and iPad 13-inch slot (IPAD_PRO_3GEN_129). Apple accepts the iPhone 6.5-inch slot when 6.9-inch screenshots are not provided. Use --all for every accepted iPhone size, Apple TV, Mac, Vision Pro, iMessage, or Watch slot.

Local Audit Helper

After choosing target dimensions from ASC, inspect local screenshots with the bundled helper:

python3 "$PLUGIN_ROOT/skills/appstore-screenshot-validator/scripts/screenshot_audit.py" \
  "./screenshots/iphone" --recursive --allow-size 1290x2796 --allow-rotated --fail-on-alpha

The helper reads PNG/JPEG headers only. It does not resize, rewrite, strip alpha, upload, or call ASC. Pass --json for machine-readable output.

Workflow

  1. Query current screenshot size requirements with asc screenshots sizes --all.
  2. Run screenshot_audit.py against candidate PNG/JPEG files; fail on alpha and hidden Unicode filename spaces before upload.
  3. Preserve originals. Write sanitized, alpha-stripped, resized, or color-converted images to a separate directory.
  4. Use sips for macOS image rewrites only after selecting an ASC target size; sips -z takes height then width.
  5. Run asc screenshots validate on the final directory, then asc screenshots upload --dry-run, then upload only after the dry-run is clean.

Guardrails

Preserve originals by writing to a separate directory. Do not stretch across incompatible aspect ratios unless the user accepts the visual tradeoff. Prefer asc screenshots validate over visual inspection before upload.

Read the full file on GitHub · 51 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 51 lines · 38 tokens per session scan A 1d41dbcfec85

Subscribe to this mod's changes

appstore-screenshot-validator is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 14d ago), licensed MIT. It adds 38 tokens to every session and 561 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

fcakyon/claude-codex-settings · 57 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

generate-images-with-firebase-ai

Use when generating or editing images from Flutter/Dart with Firebase AI Logic and a Gemini image model (Nano Banana), making the first call work, choosing Gemini Developer API vs Vertex AI, hitting quota, billing or App Check failures, getting empty or image-only responses, sending a user photo as input, controlling…

evanca/flutter-ai-rules · 84 tokens

flutter-app-architecture

Use when scaffolding a project, refactoring into layers, creating view models/repositories, configuring dependency injection, or implementing unidirectional data flow (MVVM).

evanca/flutter-ai-rules · 38 tokens

firebase-app-check

Use when implementing app attestation, configuring App Check providers, setting up debug tokens, enabling backend enforcement, or managing token refresh.

evanca/flutter-ai-rules · 30 tokens

firebase-crashlytics

Use when implementing crash reporting, capturing fatal/non-fatal errors, recording isolate/async exceptions, customizing reports, or uploading obfuscated symbols.

evanca/flutter-ai-rules · 34 tokens