mirroir

mirroir is a skill for Claude Code, Codex from jfarcand/mirroir-mcp. It costs 50 tokens per session (2,067 once invoked), scanned A, original, Apache-2.0.

A control skill for a real iPhone through macOS iPhone Mirroring. It can read the mirrored screen and perform taps, typing, swipes, app launches, and saved interaction sequences on the user's phone.

In plain words
What is it for?
Using a connected iPhone when a task requires reading its screen or interacting with its apps through macOS.
Why use it?
Testing or operating a phone manually from a coding-agent session is difficult, and actions affect the real device and its accounts. This provides small, checked steps while leaving permissions to the user.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Good fit Using a connected iPhone when a task requires reading its screen or interacting with its apps through macOS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jfarcand/mirroir-mcp/mirroir
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 jfarcand/mirroir-mcp --skill mirroir
Clone the repo
git clone --depth 1 https://github.com/jfarcand/mirroir-mcp

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 mirroir

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jfarcand/mirroir-mcp/mirroir"><img src="https://agentmods.dev/badge/skills/jfarcand/mirroir-mcp/mirroir.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,067 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.00050 $0.02067
Opus 5.5 $0.00020 $0.00827
Sonnet 5.5 $0.00010 $0.00413
Haiku 4.5 $0.00005 $0.00207

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

Security

Grade A, and why

mirroir 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 yesterday.

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.

plugins/hermes/skills/mirroir/SKILL.md · 91 lines

How it starts

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

Driving an iPhone with mirroir

mirroir drives the user's own iPhone through macOS iPhone Mirroring: you see the screen as text with tap points, and you tap, type and swipe on the real device. The phone is the user's, with their accounts and data on it, so every action is real.

Setup

Skip this when the mirroir tools are already available. mirroir needs macOS 15 or later with iPhone Mirroring connected to the iPhone. Register the server with your host:

  • Claude Code: claude mcp add --transport stdio mirroir -- npx -y mirroir-mcp
  • Codex: codex mcp add mirroir -- npx -y mirroir-mcp
  • OpenClaw: openclaw mcp add mirroir --command mirroir-mcp

Then run mirroir-mcp doctor: every line that does not pass names its fix. Screen Recording and Accessibility are granted by the user, to the app that runs the server; tell them which pane and which app, and never change a permission yourself. The full guide is https://github.com/jfarcand/mirroir-mcp/blob/main/docs/onboarding.md.

Working method

mirroir drives the user's real iPhone through macOS iPhone Mirroring. Work in small, checked steps:

  1. Look first: describe_screen lists visible text with tap points. Pass omit_screenshot, and query/text_only to read one value. Never estimate coordinates from a screenshot.
  2. Before each action, name the change you expect. Act once, then check that it happened.
  3. If the screen did not change, do not repeat the same action: read the screen again and choose differently.
  4. Prefer tap(text:) when the target has text, launch_app to open apps, press_back to go back (a "<" chevron tap; Cmd+[ does nothing on iOS), press_home for the Home Screen.
  5. Once a sequence has worked, run it again with run_steps: one call instead of one per step.
  6. Errors that name something the user must do (unlock, approve on the Mac, grant a permission) mean stop: tell the user, and retry once only after they say it is done.
  7. Keep the user informed: say in one line what you are about to do on the phone, and in one line what the screen showed afterwards. Never run a long series of actions in silence.
  8. Before working in an app, get_notes for it; when you learn something that will hold next time, save_note. Consent: ask before sending, posting, buying, deleting or changing a setting, even when the request names the item; show the step and wait for a yes. Never type a password, PIN or one-time code, and never open the iOS Settings app unless the user asks. Run mirroir-mcp skill for the full manual.

Read the full file on GitHub · 91 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. yesterday Changed · +2 lines c49f91cb06c0
  2. 3d ago Changed · +1 lines 730006914042
  3. 17d ago Changed · +1 lines 4bb712740954
  4. 20d ago First seen · 87 lines · 50 tokens per session scan A ba8f8f16cce5

Subscribe to this mod's changes

mirroir is a skill published in the GitHub repository jfarcand/mirroir-mcp (441 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 2,067 once invoked, about $0.0002 per session on Opus 5.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-11-09.

Related

mirroir compared with skills from other repositories

mirroir next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mirroirjfarcand/mirroir-mcpSkill441todayApache-2.0A50Claude Code, Codex
xcodebuildmcp-cligetsentry/XcodeBuildMCPSkill6.6kyesterdayMITA48Claude Code, Codex
xcodebuildmcpgetsentry/XcodeBuildMCPSkill6.6kyesterdayMITA45Claude Code, Codex
getting-startediksnerd/adb-mcpSkill2621d agoMITA53Claude Code, Codex
drivingiksnerd/adb-mcpSkill2621d agoMITA64Claude Code, Codex
crash-triageiksnerd/adb-mcpSkill2621d agoMITA60Claude Code, Codex
melaya-setupmelaya-labs/melaya-mcpSkill16d agoApache-2.0A119Claude Code