xcode-sync
Skill by steipete
Synchronizes exact Xcode builds across a fleet of Macs. It verifies signed archives, checks compatibility, installs, handles first launch and runs a CLI smoke test. Written for Peter's own Macs.
Install xcode-sync
Built from the published package, never by AI.
git clone --depth 1 https://github.com/steipete/agent-scripts /tmp/agent-scripts && mkdir -p ~/.claude/skills && cp -r /tmp/agent-scripts/skills/xcode-sync ~/.claude/skills/xcode-syncRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/steipete/agent-scripts /tmp/agent-scripts && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-scripts/skills/xcode-sync ~/.gemini/antigravity-cli/skills/xcode-syncAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The xcode-sync skill keeps exact Xcode builds in step across a fleet of Macs. It reads the host list from a local computers.yaml file and live Tailscale status, then checks each host's hostname, user, macOS version, architecture and hardware UUID before making changes. Downloaded .xip archives are checked for an Apple Software signature and SHA-256 hash, and compared by ProductBuildVersion before they are expanded.
Installs follow a fixed app policy. Stable builds go to /Applications/Xcode.app, the newest prerelease goes to Xcode-beta.app, and a previous-major stable is kept for three months. Each install runs first-launch setup and a CLI smoke gate, and restores the previous app on failure. The skill is written for Peter's own Mac fleet and follows the rules in its SKILL.md file.
Written from the project's SKILL.md and checked against it.
What it can do
- Inventory fleet hostsReads the fleet list and Tailscale status, then deduplicates nodes by hardware UUID before any writes.
- Verify source archivesChecks the Apple signature, SHA-256 hash and ProductBuildVersion of a signed Xcode .xip archive.
- Check compatibilityConfirms Apple silicon requirements, minimum macOS versions and the fleet rule for Xcode 26.6.
- Transfer and installCopies the signed archive with rsync, verifies it on the destination, and installs it into the app policy channels.
- Simulator hygiene auditRuns an audit that removes only runtimes and devices that CoreSimulator reports as outdated or unusable.
- First launch setupChecks first-launch status and runs license acceptance and first-launch setup when needed.
- CLI smoke gateTests git and python3 from the installed bundle and restores the rollback copy if they fail.
- Host matrix reportLists each host's version, paths, signature, smoke status, first-launch state and skip or failure reasons.
What you need
- macOS hosts reachable over SSH
- Tailscale for host reachability
- Signed Xcode .xip archive
- rsync
- GNU timeout or gtimeout
- Passwordless sudo or admin approval for /Applications writes
Try asking
- Sync Xcode 26.6 to all reachable Macs in the fleet.
- Run the simulator hygiene audit on every fleet Mac.
- Check first-launch status for Xcode on each host.
Good to know
- Fleet rules are specific to one owner's Macs, such as skipping macOS 27 for Xcode 26.6.
- Never changes a host OS to make an Xcode build eligible unless explicitly requested.
- Simulator repair refuses to run while a simulator device is booted.
- Unreachable hosts are reported as pending, not synchronized.
Security check
C- Asks for administrator rights (sudo)In
skills/xcode-sync/SKILL.md:`sudo
Checked automatically: skills/xcode-sync/SKILL.md, skills/xcode-sync/scripts/xcode-host-inventory.sh, skills/xcode-sync/scripts/xcode-post-install-smoke.sh, skills/xcode-sync/scripts/xcode-post-install-smoke.test.sh, skills/xcode-sync/scripts/xcode-simulator-hygiene.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml206 B -
scripts/xcode-host-inventory.sh1 KB -
scripts/xcode-post-install-smoke.sh3 KB -
scripts/xcode-post-install-smoke.test.sh4 KB
Show all 6 files
-
scripts/xcode-simulator-hygiene.sh4 KB
Alternatives to xcode-sync
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
xcode-sync: common questions
Does xcode-sync delete Xcode apps?
It replaces same-channel builds but keeps rollback copies until the CLI smoke gate passes. It does not delete apps outside the known channels without explicit confirmation.
How does it decide two Xcode builds are the same?
It compares ProductBuildVersion, not the version label, because two archives named Xcode 26.6 may contain different builds.
Does it change the selected Xcode?
It preserves xcode-select unless the user asks for a switch.
How do I install xcode-sync?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xcode-sync free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is xcode-sync safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to xcode-sync?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
