ukulele-companion: Skill for Cursor

.cursor/skills/ios-screenshot-capture/SKILL.md

ios-screenshot-capture is a skill for Cursor from baijum/ukulele-companion. It costs 62 tokens per session (2,198 once invoked), scanned A, original, MIT.

A tool for taking screenshots and screen recordings from an iOS Simulator, which is a virtual iPhone or iPad running on a Mac.

In plain words
What is it for?
It is for capturing iOS app screens or videos after the app has been installed on a running simulator.
Why use it?
It removes the need to capture device visuals manually and provides files that can be used in documentation or app materials.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is baijum/ukulele-companion's own configuration. It tells Cursor how to work on ukulele-companion itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ukulele-companion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to baijum/ukulele-companion. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/baijum/ukulele-companion/main/.cursor/skills/ios-screenshot-capture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/baijum/ukulele-companion

Made for: Cursor.

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 ios-screenshot-capture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/baijum/ukulele-companion/ios-screenshot-capture"><img src="https://agentmods.dev/badge/skills/baijum/ukulele-companion/ios-screenshot-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,198 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 warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 3
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Agent Snooping · line 15
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 222
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Rogue Agent · line 202
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00062 $0.02198
Opus 5 $0.00031 $0.01099
Sonnet 5 $0.00012 $0.00440
Haiku 4.5 $0.00006 $0.00220

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

Security

Grade A, and why

ios-screenshot-capture 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 12d 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.

.cursor/skills/ios-screenshot-capture/SKILL.md · 226 lines

How it starts

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

iOS Screenshot Capture via Simulator

Capture screenshots and screen recordings from a running iOS Simulator using xcrun simctl.

Prerequisites

  • Xcode installed at /Applications/Xcode.app
  • A booted iOS Simulator (verify with xcrun simctl list devices booted)
  • App installed on the simulator
  • If no simulator is running, use the ios-simulator-run skill to build and launch first.

Workflow

1. Get the booted simulator UUID

SIM_UUID=$(xcrun simctl list devices booted -j | python3 -c "import sys,json; devs=json.load(sys.stdin)['devices']; print([d['udid'] for ds in devs.values() for d in ds if d['state']=='Booted'][0])")
echo $SIM_UUID

If no simulator is booted:

xcrun simctl boot <DEVICE_UUID>
open -a Simulator

2. Capture a screenshot

xcrun simctl io $SIM_UUID screenshot output.png

The file is written directly to the local filesystem. PNG format by default.

3. Navigate between screens

iOS Simulator navigation is more limited than ADB. The recommended approach is a combination of techniques:

Accessibility inspector (find element coordinates):

# Use Accessibility Inspector.app (ships with Xcode) for element discovery
open -a "Accessibility Inspector"

Point the inspector at the Simulator window to find element positions and accessibility identifiers.

Keyboard shortcuts in Simulator:

  • Cmd+Shift+H — Home button
  • Cmd+Left/Right — Rotate device

simctl status bar (clean screenshots):

xcrun simctl status_bar $SIM_UUID override \
  --time "9:41" \
  --batteryState charged \
  --batteryLevel 100 \
  --cellularMode active \
  --cellularBars 4

Reset after capturing:

xcrun simctl status_bar $SIM_UUID clear

4. App navigation reference

The iOS app uses a tab bar with four tabs (Play, Create, Learn, Reference). Each tab opens a menu-style NavigationStack with rows for each screen. Settings is accessible via a gear icon in each tab's toolbar.

Read the full file on GitHub · 226 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. 12d ago First seen · 226 lines · 62 tokens per session scan A e513b092b580

Subscribe to this mod's changes

ios-screenshot-capture is a skill published in the GitHub repository baijum/ukulele-companion (14 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 2,198 once invoked, about $0.0003 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

sceneview-ios

Build 3D and AR apps on Apple platforms (iOS, macOS, visionOS) with SceneViewSwift — the SwiftUI wrapper around RealityKit. Use whenever the user asks for "3D in SwiftUI", "AR with ARKit in SwiftUI", a model viewer for iOS, or any Apple-platform 3D/AR app where the dependency is the SceneViewSwift Swift Package from…

sceneview/sceneview · 148 tokens

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

compose-state-and-effects

Use when writing or reviewing Jetpack Compose state ownership, remember state, state hoisting, screen state holders, LaunchedEffect, DisposableEffect, SideEffect, Flow collection, navigation, snackbar, analytics, or focus requests.

chrisbanes/skills · 50 tokens

android-benchmark-comparison

Use when comparing physical Android benchmark configurations, investigating inconsistent rankings, or selecting an Android default from measured results. Do not use for code-level Compose performance diagnosis without a configuration comparison.

chrisbanes/skills · 41 tokens