ertembiyik/xcslot
Developer ToolsWraps xcodebuild so parallel coding agents reuse warm build slots instead of cold-building every git worktree.
This repo is an agent skill pack · 1 skillsSkill list and install →What it does
Xcode only reuses build data when the path and file timestamps match, so every fresh git worktree starts from a cold build. xcslot keeps a few fixed-path build slots per repository, mirrors the current worktree into a free slot, runs the build there, and copies results back. Only files whose content differs are rewritten, so Xcode sees an incremental build.
Place xcslot in front of the command you already run; arguments pass through and the exit code is unchanged, with output paths rewritten to point at your worktree. It works with any agent that can run shell commands (Claude Code, Codex, Cursor) and handles Xcode projects/workspaces, Tuist, Swift packages and custom generators declared in .xcslot.json. The claimed benchmark for IceCubesApp is a drop from 85 s to 3.9 s on a new worktree's first build; the method lives in the benchmarks.
Quick start
Requires macOS on Apple silicon or Intel. Install the CLI with Homebrew:
brew install ertembiyik/tap/xcslot
Then, inside a worktree, prefix your normal build:
xcslot xcodebuild -scheme App build
The first build in a new slot is cold. Run the same command in another never-built worktree and it finishes in seconds, printing its own xcslot: lines on stderr plus the products path and log location. Other common commands:
xcslot run -- swift test
xcslot xcodebuild --products-to out -scheme App build
xcslot status
To have Claude Code 2.1.275+ route every xcodebuild through xcslot, install the plugin: /plugin install xcslot --marketplace ertembiyik/xcslot. Other agents can get the skill via npx skills add ertembiyik/xcslot -g, or use a one-line AGENTS.md rule instead. Older Claude Code versions, worktree-creating apps and CI setups are covered in the installation guide.
Constraints
- The first build in each slot is cold; three slots mean up to three cold builds per repository.
- A slot is only warm for the tree it built last, so a worktree far from that tree rebuilds what differs.
- Build inputs outside the repository (such as a sibling
../Sharedfolder) are not mirrored. - Xcode's own GUI does not use slots, and xcslot adds no build settings or compilation cache.
- DerivedData is not shared across slots; disk use is bounded, and the checkout in a slot uses APFS clones.
- Each agent still needs its own simulator; the README suggests Simlock for leasing them.
HotRepo's take
The project appeared on the TypeScript new-project board on 2026-11-26 with 105 stars, gaining 5 stars over the recorded one-hour window. It has no all-language daily rank on record and little other history, so the data only supports a small, recent signal rather than a trend. The design is a narrow, testable optimization: fixed-path warm slots for the worktree-per-agent workflow, with clear statements about cold first builds and unmirrored external inputs. Worth a look for teams running multiple coding agents against the same Xcode project, but the headline 85 s to 3.9 s figure comes from the project's own benchmark page and should be checked against your project before relying on it.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.