xcodeproj Skill

The xcodeproj plugin — teach your coding agent to inspect and modify Xcode
projects (.xcodeproj) with xcrun xcodeproj, the project-manipulation CLI
that ships with Xcode 27.2. The same package installs three ways: as a
Claude Code plugin, a
Codex plugin, or a standalone
skill via gh skill.
Install
Published at https://github.com/giginet/xcodeproj-skill. Pick the host you use — each path installs the same manage-xcodeproj skill.
Prerequisite: Xcode 27.2 or newer selected via xcode-select (xcrun --find xcodeproj must succeed). The helper scripts need only bash and python3.
Claude Code
/plugin marketplace add giginet/xcodeproj-skill
/plugin install xcodeproj@xcodeproj
Then run /reload-plugins once and confirm with / — you should see /xcodeproj:manage-xcodeproj. The @xcodeproj suffix names the marketplace declared in .claude-plugin/marketplace.json.
Codex
codex plugin marketplace add giginet/xcodeproj-skill
codex plugin add xcodeproj@xcodeproj
Backed by the repo marketplace at .agents/plugins/marketplace.json with the manifest at plugins/xcodeproj/.codex-plugin/plugin.json. Codex sets CLAUDE_PLUGIN_ROOT for compatibility, so the skill's ${CLAUDE_PLUGIN_ROOT}/skills/manage-xcodeproj/scripts/... references work unchanged.
GitHub CLI (gh skill)
Requires GitHub CLI v2.90.0+.
gh skill install giginet/xcodeproj-skill manage-xcodeproj --agent claude-code
The skill is self-contained: SKILL.md, references/ and scripts/ are copied together, so gh skill delivers the whole toolset. Outside a plugin host ${CLAUDE_PLUGIN_ROOT} is unset, so run the scripts from the installed skill's scripts/ directory (the SKILL.md explains this).
Skill
One skill, manage-xcodeproj, covers inspection, editing and the multi-step recipes:
| Triggers on | What it does |
|---|
| "list the targets", "what does target X compile", "show the build settings for Release" | target list, target info, target phase info, group ls -R, setting list/get — read-only inspection of either project format. |
| "add this file to the target", "create a group", "add a synchronized folder", "link AVFoundation", "embed the framework" | group add / add-file / include / exclude / remove-file, framework references under <SDKROOT>, copy-phase embedding with code-sign-on-copy. |
| "add a Run Script phase", "move the SwiftLint phase first", "set SWIFT_VERSION to 6", "add -lz to OTHER_LDFLAGS for Release" | target phase add-script / add-copy / move / remove, setting set / set-multi / unset per configuration. |
| "add a framework target", "add a widget extension", "duplicate the app target for staging", "create a new project", "add swift-collections" | Recipes for things the CLI has no single command for, backed by scripts/new-xcodeproj.sh, scripts/duplicate-target.sh and scripts/xcproj-package.py. |
What xcrun xcodeproj does and doesn't do
Everything below was verified against Xcode 27.2 beta on both a legacy project.pbxproj project and a freshly generated JSON project.xcproj project, including xcodebuild builds of the results.