Xcode Mods — Development skill for Claude Code
Xcode's build, tests, console and SwiftUI previews inside Claude Code.
How to install Xcode Mods
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open artemnovichkov/xcode-mods and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Xcode Mods does
Xcode's build, tests, console and SwiftUI previews inside Claude Code.
Alternatives in Development
- SwiftUI Expert Skill — Modern SwiftUI best practices and iOS 26+ Liquid Glass adoption 2.3k ★
- Claude Code iOS Dev Guide — A comprehensive guide for setting up Claude Code CLI with PRD-driven workflows, extended thinking (ultrathink) 492 ★
- Clarc — Native macOS client for Claude Code — a GUI desktop app built with SwiftUI 363 ★
README
xcode-mods
Xcode's build, tests, console and SwiftUI previews inside [Claude Code](https://claude.com/claude-code), built on the headless Xcode MCP server.

One Claude Code plugin that adds:
- a toolbar band above the prompt (scheme ▸ destination, activity, problem counters);
- an Xcode pane with Build · Run · Tests tabs;
- a Canvas pane that shows SwiftUI
#Previewsnapshots.
It picks up Claude's own Xcode tool calls too. When Claude builds, runs tests, launches the app or renders a preview, the result appears in the pane.
Requirements
- Xcode 27 or later with the MCP server in headless mode
- Claude Code 2.1.286 or later (mods support)
- To see previews in the terminal: a terminal with the kitty graphics protocol, such as Ghostty. The Claude desktop app works too.
Setup
Turn on Xcode's headless MCP server (once):
sudo xcrun mcp-server enable xcrun mcp-server statusAdd the server to Claude Code. The mods expect it to be named `xcode`:
claude mcp add --scope user xcode -- xcrun mcpbridgeAllow the mods' Xcode calls in `~/.claude/settings.json`. Without this rule, every build or refresh asks for permission:
{ "permissions": { "allow": ["mcp__xcode"] } }Install the plugin:
/plugin marketplace add artemnovichkov/xcode-mods /plugin install xcode-mods@xcode-mods
Open Claude Code in a folder with an `.xcodeproj` or `.xcworkspace` (up to 3 levels deep). The band appears above the prompt. In other folders the plugin stays hidden and doesn't register any commands.
Usage
| Command | What it does |
|---|---|
/xcode |
Open the Xcode pane |
/build |
Build the active scheme |
/tests [filter] |
Run all tests, or only those whose Target/identifier contains the filter |
/run |
Build and run on th |
Related Skills
Agent Context Contract Article Demo
ContextContract: scan a CLAUDE.md into portable, vendor-bound and enforce-not-describe lines; compile AGENTS.m
Xcindex Setup
Bootstrap xcindex in the current project — verifies the Swift binary, locates the Xcode project, optionally bu
Cc Mods Enil
LINE inside Claude Code: the enil TUI as a Claude Code mod
Gsc Anomaly Detector
The GSC Anomaly Detector is a Claude Code skill - a reusable diagnostic framework that runs inside Claude and
ClaudeInHA
Claude Code CLI as a polished web console inside Home Assistant — tabs, clipboard, file attachments, and full
Claude Mods Oyen
Oyen: an orange pixel cat above the Claude Code prompt that reacts to your commits, tests and builds
Related Agents
iOS Swift Master.Agent
Principal Apple platform engineer for Swift 6.4, SwiftUI and SwiftData (iOS 27, Xcode 27). Writes, reviews, mi
iOS Developer.Agent
Expert iOS/macOS developer specializing in Swift, SwiftUI, and the Apple toolchain. Use when: (1) Building Swi
iOS
Use for iOS app development tasks: Swift and SwiftUI code, UIKit work, Xcode project configuration, App Store