Agent skill

Inspector MCP Consumer

by ipedro in ipedro/Inspector

A skill your agent uses when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct…

MITAuto-check passedMobile

Install Inspector MCP Consumer

skills CLI
$ npx skills add ipedro/Inspector --skill inspector-mcp-consumer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ipedro/Inspector inspector-mcp-consumer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ipedro/Inspector.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Plugins/inspector-mcp/skills/inspector-mcp-consumer .claude/skills/inspector-mcp-consumer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
inspector-mcp-consumer
GitHub stars
170
Token cost
~926 tokens
SKILL.md length
384 words
Files
3 (incl. references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct…

  • Works in 6 steps: Confirm the app already depends on… → Find the real startup point → Insert the bridge configuration before… → …
  • An agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge
  • SKILL.md covers Overview, Workflow, Constraints and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Inspector MCP Consumer is an agent skill from ipedro/Inspector. Use when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct UIKit or SwiftUI lifecycle entry point for enableMCPBridge, snapshotExpiration = 300, and snapshotMaxCount = 8. Especially useful when preparing another app to be driven by InspectorMCPServer and then handed off to the inspector-mcp skill for live inspection.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/entry-points.md` and `references/verification.md`).

It sits in Mobile, covering iOS development. It works with Model Context Protocol, iOS, SwiftUI and Xcode. The repository describes itself as: Inspector is a debugging library written in Swift. The licence is MIT.

When your agent uses it

  • An agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge
  • Verify the app-side Inspector startup configuration
  • Choose the correct UIKit
  • SwiftUI lifecycle entry point for enableMCPBridge

Example prompts

  • “/inspector-mcp-consumer”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Confirm the app already depends on Inspector
  2. Find the real startup point
  3. Insert the bridge configuration before Inspector.start()
  4. Preserve the app's current structure
  5. Verify the app is now launchable by the MCP server
  6. Hand off to live inspection

What it can do on your machine

Read from SKILL.md and the folder at commit bb220e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Inspector MCP Consumer loads about 926 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 117 tokens; SKILL.md has 384 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~117
When it runs · the whole SKILL.md, loaded when a task matches
~926
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ipedro/Inspector at commit bb220e4, republished under its MIT licence (© ipedro). 384 words, ~926 tokens.

Download SKILL.mdSave it as .claude/skills/inspector-mcp-consumer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
inspector-mcp-consumer
description
Use when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct UIKit or SwiftUI lifecycle entry point for `enableMCPBridge`, `snapshotExpiration = 300`, and `snapshotMaxCount = 8`. Especially useful when preparing another app to be driven by `InspectorMCPServer` and then handed off to the `inspector-mcp` skill for live inspection.

Inspector MCP Consumer

Overview

Use this skill to wire a consuming iOS app so the Inspector MCP server can launch it and inspect its live hierarchy. This skill is about app integration, not MCP registration or live querying.

Workflow

1. Confirm the app already depends on Inspector

Before editing startup code, verify the consumer app actually includes the Inspector package.

Look for:

  • import Inspector
  • SwiftPM package reference to Inspector
  • Xcode target dependency on the package product

If the app does not depend on Inspector yet, add the package first before trying to wire the bridge.

2. Find the real startup point

Do not add a second, parallel initialization path.

Patch the existing app startup path:

  • UIKit + scenes: SceneDelegate.scene(_:willConnectTo:options:)
  • UIKit without scenes: AppDelegate.application(_:didFinishLaunchingWithOptions:)
  • SwiftUI app lifecycle: prefer a UIApplicationDelegateAdaptor bridge instead of ad hoc scattered startup calls

Read entry-points.md for concrete patterns.

3. Insert the bridge configuration before Inspector.start()

Required configuration:

swift
var configuration = InspectorConfiguration.config(
    enableMCPBridge: true,
    snapshotExpiration: 300
)
configuration.snapshotMaxCount = 8
Inspector.setConfiguration(configuration)
Inspector.start()

Rules:

  • call Inspector.setConfiguration before Inspector.start()
  • use snapshotExpiration = 300
  • set snapshotMaxCount = 8
  • keep existing Inspector.setCustomization(...) or other app-specific Inspector wiring intact

If the app already calls Inspector.start(), patch that path instead of adding another one.

4. Preserve the app's current structure

Prefer the smallest possible diff:

  • reuse the existing startup object
  • preserve existing customization hooks
  • preserve existing debug-only gating if the app already has it
  • do not introduce a new abstraction unless the current lifecycle is genuinely fragmented
Show full SKILL.md (157 more words)Show less
5. Verify the app is now launchable by the MCP server

At minimum, verify:

  • the app builds for Simulator
  • the startup path compiles with the new Inspector config
  • the app still launches

If you are in the Inspector repo, the Example app pattern in:

  • <Inspector repo>/Example/Example/SceneDelegate.swift

is the reference shape for a scene-based UIKit app.

Read verification.md for the verification checklist.

6. Hand off to live inspection

Once the consumer app is patched, switch to the sibling inspector-mcp skill.

That skill covers:

  • deriving the Inspector package path
  • registering the MCP server in Codex or Claude
  • using query, resolve, and snapshot

Constraints

  • This skill does not cover mutation APIs
  • This skill does not cover physical-device support
  • This skill does not cover multi-app or multi-session setup
  • This skill is only about making the consumer app expose the read-only v1 bridge correctly

References

Read only as needed:

© ipedro, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in Plugins/inspector-mcp/skills/inspector-mcp-consumer of ipedro/Inspector.

  • SKILL.md
  • references/entry-points.md
  • references/verification.md

Open the folder on GitHubat commit bb220e4

Compare with similar skills

Inspector MCP Consumer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Inspector MCP Consumer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Inspector MCP Consumer this skillipedro/Inspector170—~926Automated safety check: PassMIT
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
iOS Simulator Skillconorluddy/ios-simulator-skill1.3k—~5.7kAutomated safety check: PassMIT
SwiftUI Design SkillWholiver/swiftui-design-skill210—~2.8kAutomated safety check: PassMIT
Audit Xcode Security Settingssuperagents-lab/xcode27-skills338—~4.6kAutomated safety check: PassNone
iOS Marketing CaptureParthJadhav/ios-marketing-capture262—~6.1kAutomated safety check: PassMIT

Similar skills

  • Update Swiftui APIs

    AvdLee/SwiftUI-Agent-Skill

    Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

    3.7k GitHub stars~1.2k tokensUpdated 2 days ago
    MobileAuto-check passed
  • iOS Simulator Skill

    conorluddy/ios-simulator-skill

    29 production-ready scripts for iOS app testing, building, and automation.

    1.3k GitHub stars~5.7k tokensUpdated 2 days ago
    MobileAuto-check passed
  • SwiftUI Design Skill

    Wholiver/swiftui-design-skill

    Guides the agent to design distinctive SwiftUI interfaces for iOS and macOS, with six anti-generic rules, a design direction workflow and a five-dimension review.

    210 GitHub stars~2.8k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Audit Xcode Security Settings

    superagents-lab/xcode27-skills

    Audit and enable security-oriented Xcode build settings. An agent skill from superagents-lab/xcode27-skills.

    338 GitHub stars~4.6k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • iOS Marketing Capture

    ParthJadhav/ios-marketing-capture

    A skill your agent uses when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances.

    262 GitHub stars~6.1k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Xcode Build

    pzep1/xcode-build-skill

    Build and run iOS/macOS apps using xcodebuild and xcrun simctl directly.

    138 GitHub stars~1.5k tokensUpdated 8 mo ago
    MobileAuto-check: notes

More from ipedro/Inspector

  • Inspector MCP

    ipedro/Inspector

    A skill your agent uses when an agent needs to inspect a live iOS app through the Inspector MCP bridge, register or troubleshoot InspectorMCPServer for a consumer Xcode project, or query, resolve…

    170 GitHub stars~3.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Inspector Implementation

    ipedro/Inspector

    A skill your agent uses when an agent needs to implement or modify the Inspector library itself — panel UI, hierarchy/runtime behavior, custom property models, macros, or Example-app dogfooding.

    170 GitHub stars~729 tokensUpdated 5 mo ago
    Auto-check passed
  • Inspector Integration

    ipedro/Inspector

    A skill your agent uses when an agent needs to integrate the Inspector library into an app without focusing on the MCP bridge: startup wiring, configuration/customization, debug-only gating, and…

    170 GitHub stars~724 tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Inspector MCP Consumer

What does Inspector MCP Consumer do?

A skill your agent uses when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct…. Inspector MCP Consumer is an agent skill from ipedro/Inspector. Use when an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge, add or verify the app-side Inspector startup configuration, or choose the correct UIKit or SwiftUI lifecycle entry point for enableMCPBridge, snapshotExpiration = 300, and snapshotMaxCount = 8.

When should I use Inspector MCP Consumer?

Inspector MCP Consumer fits situations like: an agent needs to patch a consumer iOS app so it exposes the Inspector MCP bridge; verify the app-side Inspector startup configuration; choose the correct UIKit; swiftUI lifecycle entry point for enableMCPBridge.

How do I install Inspector MCP Consumer in Claude Code?

Run `npx skills add ipedro/Inspector --skill inspector-mcp-consumer -a claude-code`. Or copy the skill folder (Plugins/inspector-mcp/skills/inspector-mcp-consumer in ipedro/Inspector) into .claude/skills/inspector-mcp-consumer in your project. Claude Code loads it when a task matches its description.

How do I install Inspector MCP Consumer in Codex?

Run `npx skills add ipedro/Inspector --skill inspector-mcp-consumer -a codex`. Or copy the skill folder (Plugins/inspector-mcp/skills/inspector-mcp-consumer in ipedro/Inspector) into .agents/skills/inspector-mcp-consumer in your project. Codex loads it when a task matches its description.

Can I use Inspector MCP Consumer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ipedro/Inspector --skill inspector-mcp-consumer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/inspector-mcp-consumer, .gemini/skills/inspector-mcp-consumer, .github/skills/inspector-mcp-consumer and .opencode/skills/inspector-mcp-consumer in your project.

What does Inspector MCP Consumer need to run?

SKILL.md names no scripts, command-line tools or credentials: Inspector MCP Consumer is instructions for the agent only.

Does Inspector MCP Consumer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Inspector MCP Consumer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Inspector MCP Consumer use?

Inspector MCP Consumer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Inspector MCP Consumer use?

About 926 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Inspector MCP Consumer?

Skills that share tags, products or a category with Inspector MCP Consumer: Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars), iOS Simulator Skill (conorluddy/ios-simulator-skill, 1.3k stars), SwiftUI Design Skill (Wholiver/swiftui-design-skill, 210 stars) and Audit Xcode Security Settings (superagents-lab/xcode27-skills, 338 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Inspector MCP Consumer?

ipedro (a GitHub user) maintains it in ipedro/Inspector, which has 170 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on April 19, 2026.

Source: ipedro/Inspector on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.