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.
npx skills add Xopoko/build-swift-apps --skill xcode-build-baselinegit clone --depth 1 https://github.com/Xopoko/build-swift-appsWrote 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.
[](https://agentmods.dev/skills/xopoko/build-swift-apps/xcode-build-baseline)<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/xcode-build-baseline"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/xcode-build-baseline/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.
<a href="https://agentmods.dev/skills/xopoko/build-swift-apps/xcode-build-baseline"><img src="https://agentmods.dev/badge/skills/xopoko/build-swift-apps/xcode-build-baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.00673 |
| Opus 5.5 | $0.00014 | $0.00269 |
| Sonnet 5.5 | $0.00007 | $0.00135 |
| Haiku 4.5 | $0.00004 | $0.00067 |
Grade A, and why
xcode-build-baseline 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Xcode Build Baseline
Before invoking Apple-only binaries, confirm the execution context is macOS. From Windows or Linux, run those steps in a Mac SSH project or through an already configured remote transport; do not retry missing Apple binaries locally.
Bundled commands use $PLUGIN_ROOT for the plugin root. Use the host's plugin-root variable when defined; otherwise set it to the absolute path of this plugin before running a helper from the app repository.
Measure before recommending build-time changes. Do not edit project files while benchmarking.
Rules
- Keep workspace/project, scheme, configuration, destination, DerivedData path, and warm-up rules consistent.
- Keep the Xcode version fixed. Set
DEVELOPER_DIRfor the benchmark process when the project needs a different Xcode installation. - Capture clean and incremental behavior separately.
- Write timestamped JSON artifacts under
.build-benchmark/. - Report medians and spread, not only the fastest run.
- For iOS Simulator, resolve an installed iPhone/iOS pair; prefer
OS=latestonly when Xcode accepts it.
Inputs
Infer or ask for workspace/project, scheme, configuration, destination, simulator/device preference, custom DerivedData needs, and a representative Swift file for incremental touch tests.
Default Run
- Normalize the build command and record every cache-affecting flag.
- Run one untimed validation build, or use
--skip-warmupif validation is already complete. - Run 3 clean builds.
- Run 3 zero-change builds, or supply
--touch-file path/to/SomeFile.swiftto measure rebuilds after touching a source file. Run the helper with each input separately if you need both results. - If
COMPILATION_CACHE_ENABLE_CACHING = YESis detected, run 3 cached-clean builds using temporary DerivedData. Use--no-cached-cleanto omit that phase. - Preserve raw logs and the JSON artifact.
Preferred helper:
python3 "$PLUGIN_ROOT/shared/build-optimization/scripts/benchmark_builds.py" \
--workspace App.xcworkspace \
--scheme MyApp \
--configuration Debug \
--destination "platform=iOS Simulator,name=<latest available iPhone simulator>,OS=latest" \
--output-dir .build-benchmark
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · -3 lines scan B → A 2b05e6c9bb82
- 2mo ago First seen · 62 lines · 36 tokens per session scan B e6b0dc4b2933
xcode-build-baseline is a skill published in the GitHub repository Xopoko/build-swift-apps (45 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 673 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-09-03.
xcode-build-baseline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xcode-build-baselineXopoko/build-swift-apps | Skill | 45 | 4d ago | MIT | A | 36 | Claude Code, Codex |
| ci-cd-and-automationaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 45 | Claude Code |
| gitlab-ci-patternswshobson/agents | Skill | 43k | yesterday | MIT | A | 46 | Claude Code |
| deployment-pipeline-designwshobson/agents | Skill | 43k | yesterday | MIT | A | 58 | Claude Code |
| bazel-build-optimizationwshobson/agents | Skill | 43k | yesterday | MIT | A | 36 | Claude Code |
| turborepo-cachingwshobson/agents | Skill | 43k | yesterday | MIT | C | 42 | Claude Code |
| devops/deployment-processechoVic/boss-skill | Skill | 630 | yesterday | MIT | A | 23 | Claude Code |