Skip to content
Back to skills

Xcode Control

ASecurity

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.

  • 241 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 20, 2026
toolsbash

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add CamilleScholtz/swmpc --skill xcode-control --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Xcode Control?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Xcode Control
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/camillescholtz-xcode-control/badge)](https://www.skillsdirectory.com/skills/camillescholtz-xcode-control)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: xcode-control
description: 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.
---

# Xcode Control

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`.

## Helper Script

Run commands using `.agents/skills/xcode-control/scripts/xcode.sh`:

```bash
# Check running workspace and active scheme
.agents/skills/xcode-control/scripts/xcode.sh status

# List schemes
.agents/skills/xcode-control/scripts/xcode.sh schemes

# Switch active scheme (swmpc, widget, MPDKit, Shared)
.agents/skills/xcode-control/scripts/xcode.sh scheme widget

# Build active scheme (or pass scheme name)
.agents/skills/xcode-control/scripts/xcode.sh build swmpc
.agents/skills/xcode-control/scripts/xcode.sh build widget

# Inspect build logs or errors
.agents/skills/xcode-control/scripts/xcode.sh logs --errors

# Clean or Run
.agents/skills/xcode-control/scripts/xcode.sh clean
.agents/skills/xcode-control/scripts/xcode.sh run
```

## When to Use

- When Xcode is running with `swmpc.xcodeproj` open.
- When building or verifying the `widget` or `swmpc` schemes without dealing with headless compiler/dependency mismatch issues.
- When checking Xcode diagnostics and build logs after making code changes.

Files in this skill

  • SKILL.md1.5 KB
  • scripts/xcode.sh6.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.