apple-swift-package-bootstrap

apple-swift-package-bootstrap is a skill for Codex from Syniox5334/apple-dev-skills. It costs 45 tokens per session (1,270 once invoked), scanned A, original, Apache-2.0.

A setup tool for creating new Swift Package Manager projects, including their initial files and standard settings. Swift Package Manager is Apple’s system for building and sharing Swift code packages.

In plain words
What is it for?
Use it to start a new Swift package for macOS, iOS, or multiple Apple platforms, choose a version profile, and customize the defaults used for future packages.
Why use it?
It avoids repeating project setup by applying the same platform, version, and structure defaults each time. It can also create project guidance files and validate the result immediately.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md.

Good fit Use it to start a new Swift package for macOS, iOS, or multiple Apple platforms, choose a version profile, and customize the defaults used for future packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap
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 Syniox5334/apple-dev-skills --skill apple-swift-package-bootstrap
Clone the repo
git clone --depth 1 https://github.com/Syniox5334/apple-dev-skills

Made for: Codex.

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 apple-swift-package-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap/github.svg)](https://agentmods.dev/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap"><img src="https://agentmods.dev/badge/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap/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 apple-swift-package-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap"><img src="https://agentmods.dev/badge/skills/syniox5334/apple-dev-skills/apple-swift-package-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,270 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.00045 $0.01270
Opus 5.5 $0.00018 $0.00508
Sonnet 5.5 $0.00009 $0.00254
Haiku 4.5 $0.00005 $0.00127

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

Security

Grade A, and why

apple-swift-package-bootstrap 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 2mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/bootstrap_swift_package.sh, scripts/customization_config.py, scripts/run_workflow.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/apple-swift-package-bootstrap/SKILL.md · 128 lines

How it starts

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

Apple Swift Package Bootstrap

Purpose

Create a new Swift package repository with one top-level entry point. scripts/run_workflow.py is the runtime wrapper, and scripts/bootstrap_swift_package.sh remains the implementation core for scaffold creation and validation.

When To Use

  • Use this skill for new Swift package scaffolding.
  • Use this skill when the user wants consistent package defaults, AGENTS.md generation, and immediate validation.
  • Use this skill when the user wants to customize the documented bootstrap defaults for future runs.
  • Do not use this skill as the default path for normal Xcode app collaboration work.
  • Recommend apple-xcode-workflow when the user is working in an existing Xcode project or needs Apple-platform execution after bootstrap.
  • Recommend apple-dash-docsets when the user needs Dash docset search, install, or generation work.

Single-Path Workflow

  1. Collect the required inputs:
    • name
    • type
    • destination
    • platform
    • version_profile
    • optional skip_validation
  2. Normalize aliases exactly as scripts/bootstrap_swift_package.sh does:
    • macos -> mac
    • ios -> mobile
    • both -> multiplatform
    • latest -> latest-major
    • minus-one -> current-minus-one
    • minus-two -> current-minus-two
  3. Run python3 scripts/run_workflow.py so documented defaults are loaded from customization state and normalized into one JSON contract.
  4. Let the wrapper invoke the bundled script:
    scripts/bootstrap_swift_package.sh --name <Name> --type <library|executable|tool> --destination <dir> --platform <mac|macos|mobile|ios|multiplatform|both> --version-profile <latest-major|current-minus-one|current-minus-two|latest|minus-one|minus-two>
    
  5. Verify the generated repository:
    • Package.swift
    • .git
    • AGENTS.md
    • Tests/
    • swift build and swift test unless --skip-validation was requested
  6. Return one JSON execution summary with the created path, normalized options, and validation result.

Read the full file on GitHub · 128 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. 2mo ago First seen · 128 lines · 45 tokens per session scan A cea12af2c517

Subscribe to this mod's changes

apple-swift-package-bootstrap is a skill published in the GitHub repository Syniox5334/apple-dev-skills (5 stars, last pushed 25d ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,270 once invoked, about $0.0002 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

apple-swift-package-bootstrap compared with skills from other repositories

apple-swift-package-bootstrap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apple-swift-package-bootstrapSyniox5334/apple-dev-skillsSkill525d agoApache-2.0A45Codex
apple-engineer-superpowerspiemonte/apple-engineer-superpowersSkill288mo agoMITA82Claude Code
ink-custom-brush-builderandroid/skillsSkill10k2d agoApache-2.0A159Claude Code
kotlin-specialistJeffallan/claude-skillsSkill12k8d agoMITA86Claude Code
swiftui-devOrkas-AI/OrkasSkill9.1ktodayMITA3Claude Code, Codex
axiom-concurrencyCharlesWiltgen/AxiomSkill1.3k2d agoMITA49Claude Code
boutique-best-practicesmergesort/BoutiqueSkill1.1k6d agoMITA56Claude Code