Xcode-Build-Optimization-Agent-Skill: Instructions file for GitHub Copilot

.github/copilot-instructions.md

Xcode-Build-Optimization-Agent-Skill copilot-instructions.md is an instructions file for GitHub Copilot from AvdLee/Xcode-Build-Optimization-Agent-Skill. It costs 525 tokens per session, scanned A, original, MIT.

A set of instructions for an AI coding assistant reviewing and improving Xcode build performance. Xcode is Apple’s tool for building apps such as those for iPhone and Mac.

In plain words
What is it for?
It helps benchmark clean and incremental builds, find slow compilation areas, review build settings and scripts, and examine Swift Package Manager overhead.
Why use it?
It keeps build-performance work focused and evidence-based, while requiring developer approval before project or source changes are made.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is AvdLee/Xcode-Build-Optimization-Agent-Skill's own configuration. It tells GitHub Copilot how to work on Xcode-Build-Optimization-Agent-Skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Xcode-Build-Optimization-Agent-Skill configures →

About the project

Xcode Build Optimization Agent Skills is a collection of agent skills that benchmarks and analyzes Xcode clean and incremental builds, compiler hotspots, project settings, and Swift Package Manager overhead. It is for iOS developers who want an AI coding agent to identify build-performance improvements and produce an optimization plan before changes are approved. The catalogue entries provide the skills, instructions, and plugin used for this workflow.

AvdLee/Xcode-Build-Optimization-Agent-Skill · 1,283 stars · on GitHub · rocketsim.app

Reuse

Borrowing it

Nothing to install: this file belongs to AvdLee/Xcode-Build-Optimization-Agent-Skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AvdLee/Xcode-Build-Optimization-Agent-Skill/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/AvdLee/Xcode-Build-Optimization-Agent-Skill

Made for: GitHub Copilot.

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 Xcode-Build-Optimization-Agent-Skill copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions/github.svg)](https://agentmods.dev/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions/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 Xcode-Build-Optimization-Agent-Skill copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/avdlee/xcode-build-optimization-agent-skill/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 525 This file is loaded in full into every session.
When invoked 525 The same file — it is already loaded in full.
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.00525 $0.00525
Opus 5.5 $0.00210 $0.00210
Sonnet 5.5 $0.00105 $0.00105
Haiku 4.5 $0.00052 $0.00052

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

Security

Grade A, and why

Xcode-Build-Optimization-Agent-Skill copilot-instructions.md 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.

.github/copilot-instructions.md · 70 lines

How it starts

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

GitHub Copilot Instructions: Xcode Build Optimization Skills

Review changes as an Agent Skills expert and Xcode build optimization reviewer.

Repository Mission

Keep this repository focused on:

  • Xcode clean and incremental build benchmarking
  • compile hotspot analysis
  • build settings and scheme auditing
  • build script and dependency-analysis guidance
  • Swift Package Manager build overhead and module variant analysis

Do not turn the repository into general iOS architecture guidance or product documentation.

Agent Skill Requirements

  • Every skill directory must contain a SKILL.md with valid name and description frontmatter.
  • Descriptions must state both what the skill does and when to use it.
  • Keep SKILL.md concise and delegate deeper material to one-level-deep reference files.
  • Reference files should be discoverable from the matching SKILL.md.

Behavior Constraints

  • Default to recommend-first behavior.
  • Never introduce instructions that apply project, build-setting, or source changes without explicit developer approval.
  • Preserve evidence-driven workflows: command used, build type, target or package affected, and measured impact.
  • Prefer deterministic shell commands and structured artifacts over ad hoc prose.

Build Optimization Focus Areas

When reviewing changes, prioritize:

  1. Benchmark correctness

    • clean vs incremental builds are treated separately
    • warm-up and repetition rules are explicit
    • output artifacts are stored in .build-benchmark/
  2. Evidence quality

    • recommendations cite timing summaries, script phases, compiler diagnostics, or dependency data
    • estimated impact and confidence are separated from observed evidence
  3. Apple-aligned guidance

    • target dependencies and build order accuracy
    • script input/output declarations and .xcfilelist usage
    • DEFINES_MODULE, module maps, and framework-qualified imports
    • explicit module dependency and module variant reduction guidance
    • explicit type information and simpler expressions for Swift compile efficiency

Read the full file on GitHub · 70 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 · 70 lines · 525 tokens per session scan A a77d5d6d6c98

Subscribe to this mod's changes

Xcode-Build-Optimization-Agent-Skill copilot-instructions.md is an instructions file published in the GitHub repository AvdLee/Xcode-Build-Optimization-Agent-Skill (1,283 stars, last pushed 2mo ago), licensed MIT. It adds 525 tokens to every session, about $0.0021 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-30.

Related

Xcode-Build-Optimization-Agent-Skill copilot-instructions.md compared with instructions from other repositories

Xcode-Build-Optimization-Agent-Skill copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Xcode-Build-Optimization-Agent-Skill copilot-instructions.mdAvdLee/Xcode-Build-Optimization-Agent-SkillInstructions file1.3k2mo agoMITA525GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot