manzanas: Skill for Claude Code

.agents/skills/drive-a-mirrored-iphone/SKILL.md

drive-a-mirrored-iphone is a skill for Claude Code, Codex from BariBariGood/manzanas. It costs 92 tokens per session (1,632 once invoked), scanned A, original, Apache-2.0.

A control interface for a physical iPhone displayed in a Mac window through iPhone Mirroring. It explains how an agent can send taps, swipes, scrolls, and other supported actions to that mirrored phone.

In plain words
What is it for?
Use it to drive a mirrored iPhone, hold touches, scroll, read screens with OCR, take screenshots, and test the integration with fake or mock services.
Why use it?
It clarifies the coordinate system and interaction limits that can otherwise cause an action to land in the wrong place or behave unexpectedly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is BariBariGood/manzanas's own configuration. It tells Claude Code and Codex how to work on manzanas 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 manzanas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BariBariGood/manzanas. 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/BariBariGood/manzanas/main/.agents/skills/drive-a-mirrored-iphone/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BariBariGood/manzanas

Made for: Claude Code, Codex.

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 drive-a-mirrored-iphone

README.md
[![agentmods](https://agentmods.dev/badge/skills/baribarigood/manzanas/drive-a-mirrored-iphone/github.svg)](https://agentmods.dev/skills/baribarigood/manzanas/drive-a-mirrored-iphone)
Your own site
<a href="https://agentmods.dev/skills/baribarigood/manzanas/drive-a-mirrored-iphone"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/drive-a-mirrored-iphone/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 drive-a-mirrored-iphone

Your own site · 80×15
<a href="https://agentmods.dev/skills/baribarigood/manzanas/drive-a-mirrored-iphone"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/drive-a-mirrored-iphone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,632 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 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.00092 $0.01632
Opus 5 $0.00046 $0.00816
Sonnet 5 $0.00018 $0.00326
Haiku 4.5 $0.00009 $0.00163

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

Security

Grade A, and why

drive-a-mirrored-iphone 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.

.agents/skills/drive-a-mirrored-iphone/SKILL.md · 115 lines

How it starts

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

Drive a mirrored iPhone (mirror backend)

Mirror-backed physical devices are driven by injecting CoreGraphics input into the iPhone Mirroring window via the helpers/mirrord Swift helper (Unix-socket HTTP/JSON). The Go side lives in internal/actions/device_mirror.go + internal/actions/mirror/client.go.

Coordinate space and scale

  • ALL mirror coordinates (tap/swipe/scroll input AND observed frames) are capture-image pixels, not device points. observe/screenshot results carry img_w/img_h (the tap coordinate space) and capture_scale — the capture's pixels-per-window-point factor (≈2.0 on a HiDPI/Retina host, 1.0 headless; 0/absent means the helper predates the field). Divide by capture_scale to get window points.
  • Size-capped screenshots still report the pre-transform img_w/img_h, so map detected pixels back through those before tapping.

Action kinds specific to mirror

  • Long-press: tap {x,y,duration_ms} with duration_ms in 1..10000 (the helper is single-threaded and sleeps the whole press — an unbounded press would wedge every later action). Sim (touch-down → delay → touch-up) and WDA (W3C pointer chain) implement the same field with the same bound.
  • Wheel scroll: scroll {x,y,dy} (dy non-zero; positive scrolls content down). Mirror-only — it's the trackpad-scroll analog for fine list movement without swipe momentum. Sim/WDA return not_implemented (use swipe). Note velocity swipes can't advance paged feeds like TikTok (#190) — wheel scroll doesn't either; that needs the phone-harness movement work (#196).
  • scroll and type need focus, everything else doesn't (real-phone findings, #241/#244): tap/swipe/button all land in input_mode: background with iPhone Mirroring behind other windows, but scroll fails unavailable ("could not be brought frontmost") whenever another app holds focus on a shared Mac — fall back to a short swipe. type degrades automatically: background key events reach the mirroring process (Cmd shortcuts work) but iOS routes keys into text input only while the window is frontmost, so the helper briefly activates the window, types, and hands focus back best-effort — the ack says input_mode:"focused-degrade" with an input_note. Expect the mirroring window to steal focus for the duration of a type even in background mode.
  • The iOS on-screen keyboard never appears during type — iPhone Mirroring attaches a virtual hardware keyboard, so iOS suppresses the soft keyboard by design. A missing keyboard is NOT a focus failure; verify typing by the ack's verify:"ocr-delta"/pixel delta or by re-observing the field.
  • CLI: manzanas tap X Y --duration-ms N, manzanas scroll X Y DY.

Read the full file on GitHub · 115 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 · 115 lines · 92 tokens per session scan A b0dc878fcee4

Subscribe to this mod's changes

drive-a-mirrored-iphone is a skill published in the GitHub repository BariBariGood/manzanas (20 stars, last pushed 10d ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,632 once invoked, about $0.0005 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

benchmark

Run performance + quality benchmarks. ASR reports WER, RTF, process memory, and throughput across engines/variants. Arguments include asr, tts, vad, diarize, asr-quick.

soniqo/speech-swift · 0 tokens

review-pr

Review a pull request for conceptual fit, architecture impact, adversarial failure modes, security risk, docs impact, regression risk, test coverage, and merge readiness. Use when asked to review a PR, check whether a PR is safe to merge, decide if more tests are needed, perform adversarial or security review, or…

soniqo/speech-swift · 71 tokens

boutique-best-practices

Best practices for using Boutique with Swift 6 concurrency, @Observable, @ObservationIgnored, Sendable conformance, testing with preview stores, and dependency injection. Use when troubleshooting Boutique issues, migrating to Swift 6, or setting up tests.

mergesort/Boutique · 56 tokens

boutique-store

Create and use Boutique Store for Swift data persistence, including initialization, @Stored controllers, CRUD operations, operation chaining, and granular event monitoring. Use when persisting arrays of items, building data controllers, or working with Boutique's Store type.

mergesort/Boutique · 52 tokens

boutique-stored-values

Persist individual values with Boutique's @StoredValue (UserDefaults) and @SecurelyStoredValue (Keychain), including set, reset, toggle, bindings, keypath setters, array and dictionary helpers, and async observation. Use when storing preferences, settings, feature flags, or sensitive data like auth tokens.

mergesort/Boutique · 68 tokens

boutique-swiftui

Integrate Boutique with SwiftUI views using onChange, onStoreDidLoad, bindings, and preview stores. Use when building SwiftUI views that display or react to Boutique-persisted data.

mergesort/Boutique · 45 tokens