bootstrap-xcode-workspace

bootstrap-xcode-workspace is a skill for Claude Code, Codex from gaelic-ghost/socket. It costs 36 tokens per session (2,075 once invoked), scanned A, original, Apache-2.0.

A workflow for creating and maintaining one Xcode workspace for an Apple product containing apps, extensions, shared Swift packages, and services.

In plain words
What is it for?
Use it to bootstrap or extend a Swift product repository, generate its root workspace and project, and organize apps, packages, services, configurations, and shared build settings.
Why use it?
It establishes a consistent repository layout and generated Xcode project so related Swift components stay aligned.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions AGENTS.md.

Part of the apple-dev-skills plugin — 65 skills, 2 MCP servers shipped together

Good fit Use it to bootstrap or extend a Swift product repository, generate its root workspace and project, and organize apps, packages, services, configurations, and shared build settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gaelic-ghost/socket/bootstrap-xcode-workspace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gaelic-ghost/socket --skill bootstrap-xcode-workspace
Clone the repo
git clone --depth 1 https://github.com/gaelic-ghost/socket

Made for: Claude Code, Codex.

Or install apple-dev-skills, the plugin that ships this one along with the rest of its 65 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bootstrap-xcode-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/gaelic-ghost/socket/bootstrap-xcode-workspace/github.svg)](https://agentmods.dev/skills/gaelic-ghost/socket/bootstrap-xcode-workspace)
Your own site
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/bootstrap-xcode-workspace"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/bootstrap-xcode-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bootstrap-xcode-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/gaelic-ghost/socket/bootstrap-xcode-workspace"><img src="https://agentmods.dev/badge/skills/gaelic-ghost/socket/bootstrap-xcode-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.02075
Opus 5.5 $0.00014 $0.00830
Sonnet 5.5 $0.00007 $0.00415
Haiku 4.5 $0.00004 $0.00208

Measured 3mo ago against content hash 8f6f81f2420b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bootstrap-xcode-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/apple-dev-skills/skills/bootstrap-xcode-workspace/SKILL.md · 186 lines

How it starts

The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bootstrap Apple Product Workspace

Purpose

Create one product repository with one root .xcworkspace and one root XcodeGen project materialized as the generated root .xcodeproj. Apps/ contains platform-specific targets in that project; Packages/ contains shared SwiftPM modules, and Services/ contains deployable SwiftPM executables. This is the entrypoint for app-first, service-first, and combined products.

Run scripts/run-workflow.fsx before creating files. It generates the root XcodeGen project, creates the workspace wrapper, initializes the first local Swift package with SwiftPM, and installs the xcode-workspace maintenance profile through repository-skills.

Required Shape

Product/
  Product.xcworkspace/
  Product.xcodeproj/                 # generated from project.yml
  project.yml                        # root project graph
  Configurations/                    # Debug, Staging, Release, AppStore, DirectDistribution, AltStore
  AGENTS.md  CONTRIBUTING.md  Justfile
  Apps/
    apps-shared.yml                  # target and scheme templates
    Apps-shared.xcconfig             # shared app build settings
    ProductiOS/
      target.yml
      Configurations/
      Sources/ Resources/ Configurations/ target.yml
    ProductShareExtension/          # peer Xcode target, explicitly embedded by its host app
      Sources/ Resources/ Configurations/ target.yml
    ProductiOSTests/  ProductiOSUITests/
    ProductmacOS/
      target.yml
      Configurations/
      Sources/ Resources/ Tests/
  Packages/
    packages-shared.yml              # XcodeGen local-package registry
    ProductCore/
      Package.swift
  Services/
    services-shared.yml              # XcodeGen service-package registry
    ProductAPI/
      Package.swift
  docs/  Scripts/  .github/workflows/

Ownership

  • project.yml owns project identity, configurations, file groups, and the included project graph.
  • Apps/apps-shared.yml owns common target and scheme templates.
  • Apps/<Target>/target.yml owns one target's platform, source roots, target-local configurations, and product dependencies.
  • Packages/packages-shared.yml registers local packages with XcodeGen.
  • Services/services-shared.yml registers deployable service packages with XcodeGen.
  • Each Package.swift owns its package products, targets, and dependencies.
  • Root Configurations/ owns project-wide settings. Apps/Apps-shared.xcconfig and target-local .xcconfig files layer app and target settings without duplicating the project baseline.
  • Generated .xcodeproj data is build-critical output. Edit its XcodeGen and SwiftPM sources, then regenerate; never hand-edit .pbxproj.

Read the full file on GitHub · 186 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 186 lines · 36 tokens per session scan A 8f6f81f2420b

Subscribe to this mod's changes

bootstrap-xcode-workspace is a skill published in the GitHub repository gaelic-ghost/socket (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 2,075 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

bootstrap-xcode-workspace compared with skills from other repositories

bootstrap-xcode-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bootstrap-xcode-workspacegaelic-ghost/socketSkill113mo agoApache-2.0A36Claude Code, Codex
swiftui-maxDev869/swift-tothemaxSkill75mo agoMITA271Claude Code
apple-engineer-superpowerspiemonte/apple-engineer-superpowersSkill309mo agoMITA82Claude Code
apple-dev-conductorDev869/swift-tothemaxSkill75mo agoMITA156Claude Code
kotlin-specialistJeffallan/claude-skillsSkill13kyesterdayMITA86Claude Code
swift-expertJeffallan/claude-skillsSkill13kyesterdayMITA98Claude Code
build-android-binarymicrosoft/power-platform-skillsSkill1.2ktodayMITA150Claude Code