setup
Skill4 starsChanged 33 days agoMITView on GitHub
Set up xcrew for this iOS project — write MobileBuildMCP's config with the right workspace, schemes and simulators, then check the Mac. Use when the person runs /xcrew:setup, when Xcrew says MobileBuildMCP "has no scheme to build this project with yet", or when they ask to change which scheme or simulator Claude builds and tests with.
192 other projects use a version of this.
Adopted by
Most recently taken up by
- kachofugetsu09/akashic-agenttheir own version, first seen Nov 30, 2026
- siberiacancode/agent-skillstheir own version, first seen Nov 29, 2026
- JCodesMore/youtube-for-ai-agentstheir own version, first seen Nov 29, 2026
- microsoft/Employee-Self-Service-Agent-Developer-Kittheir own version, first seen Nov 29, 2026
- cubetes/coaichtheir own version, first seen Nov 29, 2026
- blotato/contentskillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-discord, add-slack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
- +10 more from microsoft
Other versions192 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 192
- anthropics/knowledge-work-plugins★ 37ksame name
- garrytan/gbrain★ 34ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.4ksame name
- pytorch/executorch★ 5.2ksame name
- aws/agent-toolkit-for-aws★ 3.6ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Files
Set up xcrew in this project
In a git worktree whose main checkout is set up, run xcrew setup --worktree instead of the steps below: it writes this worktree's config from the main checkout's, with simulators of its own, and prints the calls that give this session's MobileBuildMCP its profiles. Offer --finished-test-bundles drop as in step 2, and add it to that command when the person agrees: it holds for every checkout of the repository. Then do steps 4 and 5.
- Find the choices, without asking for what you can look up:
- Container: run
xcrew project --setup. Its JSON names thecontainersetup will build. When it has acontainerProbleminstead, explain it to the person in your own words and ask: which of the folders it lists to use, or to generate the workspace first, then runxcrew project --setupagain. - Schemes: MobileBuildMCP's
list_schemeson that container. Pick the app scheme and, if there is one, the UI-test scheme. Leave the unit-test scheme toxcrew setup. - Bundle ID:
get_app_bundle_id, or the app target'sPRODUCT_BUNDLE_IDENTIFIERfromshow_build_settings. - Simulators: leave them out unless the person or the project's own notes name one: setup picks the newest plain iPhone installed. Check every simulator you'd pass against
list_sims. For one that isn't installed, ask the person whether to create it or use an installed one, and name the installed ones. Offer to create it only whenxcrun simctl list runtimes --jsonlists its device type under an installed runtime'ssupportedDeviceTypes, and give the exact command,xcrun simctl create "<name>" <device type identifier> <runtime identifier>, from the newest such runtime. Pass only simulators that exist toxcrew setup.
- Container: run
- Show the person the choices in one short list and ask them to confirm or change any. Below them, offer the opt-ins, each off unless the person turns it on, with one line on what it does:
--finished-test-bundles dropdeletes each checkout's older finished MobileBuildMCP test bundles after every test run, keeping the newest, which saves gigabytes per run on a large app;--debugger-backend lldb-clilets the debugger run LLDB commands such asexpr. A setup run without an opt-in keeps what an earlier run chose. - Run
xcrew setup [--container <name>] [--app-scheme <scheme>] [--bundle-id <id>] [--ui-scheme <scheme>] [--test-scheme <scheme>] [--test-simulator <name>] [--app-simulator <name>] [--debugger-backend lldb-cli] [--finished-test-bundles drop]on its own, not chained to another command. Pass--containeronly when the person named or chose one. Tell the person which scheme it chose for unit tests; when it lists several, or couldn't tell, ask which one runs them and re-run with--test-scheme. Setup keeps what the config's profiles hold for the same container unless an option names another: to drop the UI-test profile, pass--ui-scheme ''. When it reports a config xcrew didn't write, ask before re-running with--force(it keeps a backup).--debugger-backend lldb-clisets MobileBuildMCP's CLI debugger backend, which runs LLDB commands such asexprthat its default DAP backend doesn't; setup keeps it on later runs.--finished-test-bundles dropkeeps only the newest finished test run's own MobileBuildMCP test products, deleting the older ones after each run, for every checkout of the repository; deleting is the person's call, so pass it only when they agreed to it in step 2, andkeepturns it off. - Run
xcrew doctoron its own and report each line that isn'tokwith the command it names. It exits non-zero when a check failed or warned, or when every check skipped: that's the doctor's verdict, not a failed setup. Two fixes need the person once per Mac:sudo xcrun mcp-server enableon Xcode 27 or later, and approving Claude Code in Xcode's dialog (callXcodeOpenWorkspaceon the container to raise it). - Make the
session_set_defaultscallsxcrew setupprinted, one each, in its order: they give this session's MobileBuildMCP the new profiles. When it printed a restart line, tell the person a restart of Claude Code loads the rest; builds and tests don't wait for it.
Done when xcrew setup reported "wrote" and every doctor line is ok or explained to the person.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

