msd-screenshots

msd-screenshots is a command for coding agents from ofcskn/mobile-automation-plugin. It costs 21 tokens per session (2,732 once invoked), scanned A, original, MIT.

A command for creating app-store screenshots from a running iOS or Android simulator.

In plain words
What is it for?
Generating or updating screenshots for selected platforms and languages, using either the current simulator or a full set of device simulators.
Why use it?
It helps capture the required screens and device sizes without manually navigating the app and organizing each image.

Command

Part of the automobileapp plugin — 11 skills, 17 commands, 9 agents shipped together

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.

agentmods
npx agentmods add commands/ofcskn/mobile-automation-plugin/msd-screenshots
Clone the repo
git clone --depth 1 https://github.com/ofcskn/mobile-automation-plugin

Or install automobileapp, the plugin that ships this one along with the rest of its 11 skills, 17 commands, 9 agents.

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 msd-screenshots

README.md
[![agentmods](https://agentmods.dev/badge/commands/ofcskn/mobile-automation-plugin/msd-screenshots.svg)](https://agentmods.dev/commands/ofcskn/mobile-automation-plugin/msd-screenshots)
Your own site
<a href="https://agentmods.dev/commands/ofcskn/mobile-automation-plugin/msd-screenshots"><img src="https://agentmods.dev/badge/commands/ofcskn/mobile-automation-plugin/msd-screenshots.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.02732
Opus 5 $0.00010 $0.01366
Sonnet 5 $0.00004 $0.00546
Haiku 4.5 $0.00002 $0.00273

Measured 4d ago against content hash a25ea409a820, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

msd-screenshots 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 4d 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.

commands/msd-screenshots.md · 293 lines

How it starts

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

Generate store screenshots for the specified app.

Ask: app ID, platform (ios / android / both), which locales.


Step 0 — Detect simulators and ask mode

# iOS
xcrun simctl list devices booted 2>/dev/null

# Android
adb devices 2>/dev/null

Ask the user:

"Which screenshot mode?

  • Lightweight (default) — use the simulator that's already running. One device size, no extra installs.
  • Full — capture all required device sizes (needs iPhone 16 Pro Max, iPhone 11 Pro Max, iPad Pro 13" simulators installed).

If they choose Lightweight: skip multi-device loops below. Capture only from the currently booted device. Detect its name and resolution from xcrun simctl list devices booted --json (iOS) or adb shell wm size (Android), and name the output folder accordingly.


Step 1 — Check prerequisites

Run every detection command below. If anything is missing, stop and tell the user before continuing.

iOS prerequisites

# Xcode installed?
xcode-select -p

# Xcode version (need 15+ for iPhone 16 Pro Max)
xcodebuild -version

# Any available simulator?
xcrun simctl list devices available | grep -E "iPhone|iPad"

# Simulator already booted?
xcrun simctl list devices booted

If no simulator is booted, boot the required device:

# Find UDID for iPhone 16 Pro Max (required from 2026)
xcrun simctl list devices available | grep "iPhone 16 Pro Max"

# Boot it
xcrun simctl boot <UDID>
open -a Simulator

Ask the user: "Do you have an Apple Developer account and is your app registered in App Store Connect?" — note the answer, continue either way (captures work without it).

Android prerequisites

# ADB available?
adb --version

# SDK path set?
echo $ANDROID_HOME

# Any AVD (virtual device) available?
emulator -list-avds

# Emulator already running?
adb devices

If no emulator is running, launch one:

emulator -avd <AVD_NAME> -no-snapshot-load
adb wait-for-device

Ask the user: "Do you have a Google Play Developer account?" — note the answer, continue either way.

Read the full file on GitHub · 293 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. 4d ago First seen · 293 lines · 21 tokens per session scan A a25ea409a820

Subscribe to this mod's changes

msd-screenshots is a command published in the GitHub repository ofcskn/mobile-automation-plugin (2 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 2,732 once invoked, about $0.0001 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-31.