Agent skill for interacting with Xcode projects.
The preferred integration is the xbridge CLI — a standalone tool that communicates with Xcode without triggering a permission dialog on every new session. The Xcode MCP bridge (xcrun mcpbridge) is supported as a manual fallback.
# Install all skills
npx skills add 4rays/xbridge-skill
# Install specific skills
npx skills add 4rays/xbridge-skill --skill xbridge
# List available skills
npx skills add 4rays/xbridge-skill --listThis automatically installs to your .agents/skills/ directory (and symlinks into .claude/skills/ for Claude Code compatibility).
# Add the marketplace
/plugin marketplace add 4rays/xbridge-skill
# Install the plugin
/plugin install xbridge-skillOr load directly from a local path:
claude --plugin-dir /path/to/xbridge-skillClaude Code specific. For other agents, use Option 1 or Option 3.
git clone https://github.com/4rays/xbridge-skill.git
cp -r xbridge-skill/skills/* .agents/skills/git submodule add https://github.com/4rays/xbridge-skill.git .agents/xbridge-skill- Fork this repository
- Customize skills for your needs
- Clone your fork into your projects
npx skillkit install 4rays/xbridge-skillbrew tap 4rays/tap
brew install xbridgeOpen Xcode > Settings (⌘,) → Intelligence → Enable Xcode Tools under Model Context Protocol.
open MyApp.xcodeproj
# or
open MyApp.xcworkspaceYour agent will automatically detect xbridge and use it for all Xcode tasks.
The skill uses the xbridge CLI via the Bash tool. The typical workflow:
# Get a tab ID first
xbridge list-windows
# Then use it in commands
xbridge build windowtab1
xbridge test windowtab1
xbridge build-log windowtab1| Category | Commands |
|---|---|
| Status | status, stop, restart |
| Discovery | list-windows, tools, tool-schema, call |
| Files | read, write, update, ls, glob, grep, mkdir, rm, mv |
| Build & Test | build, build-log, test, test-list, test-run, issues, refresh-issues |
| Advanced | exec, preview, docs |
Full reference: skills/xbridge/SKILL.md
If you prefer the MCP bridge over xbridge, add it to your agent manually. For Claude Code:
claude mcp add --transport stdio xcode -- xcrun mcpbridgeNote: this requires approving a permission dialog in Xcode at the start of every new session.
- xbridge not found: Install with
brew tap 4rays/tap && brew install xbridge - No tab IDs: Ensure Xcode is running with a project open
- Xcode MCP not enabled: Go to Xcode > Settings > Intelligence > Model Context Protocol
- MCP permission denied: Revoke the process in Xcode Settings and reconnect to retrigger the dialog
MIT