VibeChard

Gives each AI agent task its own git worktree, DerivedData, package cache and simulator clone, so several Claude, Codex, Copilot or Cursor sessions can work on one Xcode project without clashing.

View on GitHub ↗
Stars
★ 34
Last commit
18 Nov 2026
Maintenance
Active
Licence
Apache-2.0
Category
Xcode & IDE
GitHub
Maples7/VibeChard

Overview

Running several agents on the same Xcode project leads to clashes: build.db locks, DerivedData thrash, module cache corruption, SwiftPM lock conflicts and two tasks installing onto the same simulator. The README says a plain git worktree only isolates the source tree, and every xcodebuild call still uses global locations under ~/Library/Developer.

VibeChard's CLI, vch, creates a worktree and agent branch per task, with its own DerivedData, module cache, SwiftPM clone folder, result bundle and simulator clone. Inside a task, a PATH shim in front of xcodebuild, xcrun and swift adds the right flags automatically, so Tuist, Fastlane and custom scripts are isolated too. You bring your own agent: the README says VibeChard has no SDK, no API key, no telemetry and no network calls.

VibeChard is licensed under the Apache License 2.0.

Features

  • vch new creates an isolated worktree on an agent/ branch. --exec "claude" starts an agent inside it, and --copy-untracked brings over files such as .env.
  • vch build, vch test and vch run call xcodebuild with the isolation flags, with test filters such as --only-testing and --rerun-failed.
  • Simulator clones per task through xcrun simctl clone, plus shared warm templates for iOS, watchOS, tvOS and visionOS.
  • vch land merges a task back into its base, and vch sync rebases it onto the latest upstream.
  • vch remove deletes the worktree, branch and simulator clone, and refuses on uncommitted changes unless you pass --allow-dirty.
  • vch list, vch state, vch logs, vch doctor, vch prune and vch clean for inspection and clean-up.
  • vch runbook prints a version-pinned runbook for agents that drive the task.
  • No configuration files. Per-task state lives in .vch/state.json, and the CLI surface and state schema are frozen at 1.0.

Requirements

  • macOS, with Xcode to build Apple projects.
  • Homebrew bottles for Apple silicon and Intel on macOS 15 or later.
  • To build from source: macOS 13 or later with Xcode 15.3 or later (Swift 5.10 or later).
  • A git-tracked Apple project.

Install

  1. Homebrew. Run brew install maples7/tap/vch. This also installs shell completions for Bash, Zsh and Fish.

  2. From source. Clone the repo, run swift build -c release, then link .build/release/vch onto your PATH.

Example

From inside a git-tracked Apple project:

1. Run vch new add-paywall to create an isolated worktree on agent/add-paywall.

2. Run vch add-paywall to open a shell inside it, where xcodebuild and swift test are isolated automatically.

3. Run vch test add-paywall --scheme MyApp --device "iPhone 16".

4. When you're done, run vch remove add-paywall.

To hand a task to an agent, run vch new fix-toast --exec "claude".

Works with

Claude CodeCodexCursor

Listed in

Read the code before you install anything. SwiftAgents doesn't review or endorse the tools listed here. Active: a commit in the last 90 days. Slowing: last commit within the past year. Stale: older than a year, or archived.

Report a correction

More in this category