asc-screenshot-resize

asc-screenshot-resize is a skill for Claude Code from moasq/ios-dev-agent. It costs 33 tokens per session (965 once invoked), scanned A, a copy of asc-screenshot-resize, MIT.

A command guide for resizing and checking screenshots before uploading them to App Store Connect, Apple's app publishing service. It uses the current accepted image sizes reported by the command-line tool and macOS image tools.

In plain words
What is it for?
Use it to discover accepted sizes, validate screenshot folders for specific devices, clean filenames, resize images, and prepare screenshots for submission.
Why use it?
It avoids failed uploads caused by unsupported dimensions or filenames that contain hidden characters.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the ios-dev-agent plugin — 65 skills, 12 agents, 4 hooks, 1 MCP server shipped together

Good fit Use it to discover accepted sizes, validate screenshot folders for specific devices, clean filenames, resize images, and prepare screenshots for submission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moasq/ios-dev-agent/asc-screenshot-resize
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 moasq/ios-dev-agent --skill asc-screenshot-resize
Clone the repo
git clone --depth 1 https://github.com/moasq/ios-dev-agent

Made for: Claude Code.

Or install ios-dev-agent, the plugin that ships this one along with the rest of its 65 skills, 12 agents, 4 hooks, 1 MCP server.

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 asc-screenshot-resize

README.md
[![agentmods](https://agentmods.dev/badge/skills/moasq/ios-dev-agent/asc-screenshot-resize/github.svg)](https://agentmods.dev/skills/moasq/ios-dev-agent/asc-screenshot-resize)
Your own site
<a href="https://agentmods.dev/skills/moasq/ios-dev-agent/asc-screenshot-resize"><img src="https://agentmods.dev/badge/skills/moasq/ios-dev-agent/asc-screenshot-resize/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 asc-screenshot-resize

Your own site · 80×15
<a href="https://agentmods.dev/skills/moasq/ios-dev-agent/asc-screenshot-resize"><img src="https://agentmods.dev/badge/skills/moasq/ios-dev-agent/asc-screenshot-resize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 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 94% copy Near-identical to another mod 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.00033 $0.00965
Opus 5.5 $0.00013 $0.00386
Sonnet 5.5 $0.00007 $0.00193
Haiku 4.5 $0.00003 $0.00097

Measured 3mo ago against content hash cb58c40c8438, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

asc-screenshot-resize 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 3mo 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.

Origin

This is a copy

94% identical to asc-screenshot-resize — 5 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/asc-screenshot-resize/SKILL.md · 123 lines

How it starts

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

asc screenshot resize

Use this skill to prepare screenshots for App Store Connect. Do not rely on a hard-coded dimension table in this skill; the CLI owns the current size matrix.

Source of truth

Always discover current accepted sizes from asc first:

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

For local validation before upload:

asc screenshots validate --path "./screenshots/iphone" --device-type "IPHONE_65" --output table
asc screenshots validate --path "./screenshots/ipad" --device-type "IPAD_PRO_3GEN_129" --output table

Common current device-type anchors:

  • IPHONE_65 for the common 6.5-inch iPhone screenshot set.
  • IPAD_PRO_3GEN_129 for the common 12.9/13-inch iPad screenshot set.

Run asc screenshots sizes --all when targeting other display types such as 6.9-inch iPhone, Apple TV, Mac, Vision Pro, iMessage, or Watch.

Workflow

1. Sanitize filenames

macOS screenshots can contain hidden Unicode spaces that make tools fail with "not a valid file". Sanitize before batch work:

python3 -c "
import os
for f in os.listdir('.'):
    clean = f.replace('\u202f', ' ')
    if f != clean:
        os.rename(f, clean)
        print(f'Renamed: {clean}')
"

2. Inspect dimensions and metadata

sips -g pixelWidth -g pixelHeight screenshot.png
sips -g hasAlpha -g space screenshot.png

App Store Connect rejects screenshots with alpha transparency. Strip alpha by round-tripping through JPEG:

sips -s format jpeg input.png --out /tmp/asc-screenshot-no-alpha.jpg
sips -s format png /tmp/asc-screenshot-no-alpha.jpg --out output.png
rm /tmp/asc-screenshot-no-alpha.jpg

Batch-strip alpha from PNGs:

for f in *.png; do
  if sips -g hasAlpha "$f" | grep -q "yes"; then
    sips -s format jpeg "$f" --out /tmp/asc-screenshot-no-alpha.jpg
    sips -s format png /tmp/asc-screenshot-no-alpha.jpg --out "$f"
    rm /tmp/asc-screenshot-no-alpha.jpg
    echo "Stripped alpha: $f"
  fi
done

Read the full file on GitHub · 123 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. 3mo ago First seen · 123 lines · 33 tokens per session scan A cb58c40c8438

Subscribe to this mod's changes

asc-screenshot-resize is a skill published in the GitHub repository moasq/ios-dev-agent (6 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 965 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to asc-screenshot-resize, differing in 5 lines, and is treated as a copy.

Related

asc-screenshot-resize compared with skills from other repositories

asc-screenshot-resize next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
asc-screenshot-resizemoasq/ios-dev-agentSkill66mo agoMITA33Claude Code
orca-emulator-androidstablyai/orcaSkill147ktodayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k8d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code
flutter-devMiniMax-AI/skillsSkill14k21d agoMITA83Claude Code