Agent skill

Xcode Control

by CamilleScholtz in CamilleScholtz/swmpc

Control the running Xcode session to build, clean, test, run, and inspect build logs or errors via AppleScript.

EUPL-1.2Auto-check passedMobile

Install Xcode Control

skills CLI
$ npx skills add CamilleScholtz/swmpc --skill xcode-control -a claude-code

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

GitHub CLI
$ gh skill install CamilleScholtz/swmpc xcode-control --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/CamilleScholtz/swmpc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/xcode-control .claude/skills/xcode-control && 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
xcode-control
GitHub stars
239
Token cost
~389 tokens
SKILL.md length
78 words
Files
2 (incl. scripts)
Skills in repo
27
Repo updated
First seen
Licence
EUPL-1.2

At a glance

Control the running Xcode session to build, clean, test, run, and inspect build logs or errors via AppleScript.

  • Tasks that involve iOS development
  • SKILL.md covers Helper Script and When to Use
  • Runs Shell scripts from its folder; calls xcrun

What it does

Xcode Control is an agent skill from CamilleScholtz/swmpc. Control the running Xcode session to build, clean, test, run, and inspect build logs or errors via AppleScript. Use as a direct CLI replacement for the Xcode MCP bridge when developing swmpc, widgets, or schemes in an open Xcode workspace.

Its SKILL.md is about 390 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/xcode.sh`).

It sits in Mobile, covering iOS development. It works with Xcode and Model Context Protocol. The repository describes itself as: An MPD client for macOS & iOS.

When your agent uses it

  • Tasks that involve iOS development

Example prompts

  • “/xcode-control”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 51fa7cb. 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

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • xcrun

    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

Xcode Control loads about 389 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 78 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~389

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (EUPL-1.2) doesn't allow us to republish the file, so here is its outline and opening line. It has 78 words (~389 tokens).

“Control the running Xcode session directly via AppleScript. This acts as a drop-in replacement for the Xcode MCP tool service, executing builds and actions inside the live Xcode environment without requiring xcrun mcpbridge.”

— opening of SKILL.md by CamilleScholtz, EUPL-1.2
name
xcode-control

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in .agents/skills/xcode-control of CamilleScholtz/swmpc.

  • SKILL.md
  • scripts/xcode.sh

Open the folder on GitHubat commit 51fa7cb

Compare with similar skills

Xcode Control 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.

Xcode Control compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xcode Control this skillCamilleScholtz/swmpc239—~389Automated safety check: PassEUPL-1.2
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
iOS Simulator Skillconorluddy/ios-simulator-skill1.3k—~5.7kAutomated safety check: PassMIT
Inspector MCPipedro/Inspector170—~3.4kAutomated safety check: PassMIT
Xcode Buildpzep1/xcode-build-skill138—~1.5kAutomated safety check: NotesMIT
Dt Setup iOSDynatrace/dynatrace-for-ai161—~3.3kAutomated safety check: PassApache-2.0

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 yesterday
    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 yesterday
    MobileAuto-check passed
  • 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
    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
  • Dt Setup iOS

    Dynatrace/dynatrace-for-ai

    Set up the Dynatrace iOS SDK (OneAgent) in an iOS project using Swift Package Manager.

    161 GitHub stars~3.3k tokensUpdated 6 days ago
    MobileAuto-check passed
  • Inspector MCP Consumer

    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…

    170 GitHub stars~926 tokensUpdated 5 mo ago
    MobileAuto-check passed

More from CamilleScholtz/swmpc

All 27 skills in this repo
  • Asc Localize Metadata

    CamilleScholtz/swmpc

    Automatically translate and sync App Store metadata (description, keywords, what's new, subtitle) to multiple languages using LLM translation and asc CLI.

    239 GitHub starsUsed in 5 repos~2.8k tokens
    Auto-check passed
  • Asc Shots Pipeline

    CamilleScholtz/swmpc

    Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (asc screenshots frame), and screenshot upload (asc…

    239 GitHub starsUsed in 4 repos~2.8k tokens
    Auto-check passed
  • Asc Signing Setup

    CamilleScholtz/swmpc

    Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli.

    239 GitHub starsUsed in 4 repos~1.1k tokens
    Auto-check passed
  • Asc Metadata Sync

    CamilleScholtz/swmpc

    Sync, validate, and apply App Store metadata with the current asc canonical metadata workflow.

    239 GitHub starsUsed in 3 repos~1.5k tokens
    Auto-check passed
  • Asc Screenshot Resize

    CamilleScholtz/swmpc

    Resize and validate App Store screenshots with current asc screenshot-size data and macOS sips.

    239 GitHub starsUsed in 3 repos~927 tokens
    Auto-check passed
  • Asc Aso Audit

    CamilleScholtz/swmpc

    Run an offline ASO audit on canonical App Store metadata under ./Store and surface keyword gaps using Astro MCP.

    239 GitHub starsUsed in 5 repos~2.6k tokens
    Auto-check passed

Categories

Questions about Xcode Control

What does Xcode Control do?

Control the running Xcode session to build, clean, test, run, and inspect build logs or errors via AppleScript. Xcode Control is an agent skill from CamilleScholtz/swmpc. Control the running Xcode session to build, clean, test, run, and inspect build logs or errors via AppleScript.

When should I use Xcode Control?

Xcode Control fits situations like: tasks that involve iOS development.

How do I install Xcode Control in Claude Code?

Run `npx skills add CamilleScholtz/swmpc --skill xcode-control -a claude-code`. Or copy the skill folder (.agents/skills/xcode-control in CamilleScholtz/swmpc) into .claude/skills/xcode-control in your project. Claude Code loads it when a task matches its description.

How do I install Xcode Control in Codex?

Run `npx skills add CamilleScholtz/swmpc --skill xcode-control -a codex`. Or copy the skill folder (.agents/skills/xcode-control in CamilleScholtz/swmpc) into .agents/skills/xcode-control in your project. Codex loads it when a task matches its description.

Can I use Xcode Control 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 CamilleScholtz/swmpc --skill xcode-control -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xcode-control, .gemini/skills/xcode-control, .github/skills/xcode-control and .opencode/skills/xcode-control in your project.

What does Xcode Control need to run?

Going by SKILL.md and its folder, Xcode Control needs a shell for the scripts in its folder and the command-line tools its instructions call (xcrun). Our summary lists: A Bash shell.

Does Xcode Control 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 Xcode Control 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Xcode Control use?

Xcode Control is published under the EUPL-1.2 licence (the repository's licence).

How many tokens does Xcode Control use?

About 389 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xcode Control?

Skills that share tags, products or a category with Xcode Control: Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars), iOS Simulator Skill (conorluddy/ios-simulator-skill, 1.3k stars), Inspector MCP (ipedro/Inspector, 170 stars) and Xcode Build (pzep1/xcode-build-skill, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xcode Control?

CamilleScholtz (a GitHub user) maintains it in CamilleScholtz/swmpc, which has 239 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 6, 2026.

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