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 kelvinkosbab/AppBootstrapAI --skill swift-adaptive-layout-progit clone --depth 1 https://github.com/kelvinkosbab/AppBootstrapAIWrote 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/kelvinkosbab/appbootstrapai/swift-adaptive-layout-pro)<a href="https://agentmods.dev/skills/kelvinkosbab/appbootstrapai/swift-adaptive-layout-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/swift-adaptive-layout-pro/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/kelvinkosbab/appbootstrapai/swift-adaptive-layout-pro"><img src="https://agentmods.dev/badge/skills/kelvinkosbab/appbootstrapai/swift-adaptive-layout-pro.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.00129 | $0.01570 |
| Opus 5.5 | $0.00052 | $0.00628 |
| Sonnet 5.5 | $0.00026 | $0.00314 |
| Haiku 4.5 | $0.00013 | $0.00157 |
Grade A, and why
swift-adaptive-layout-pro 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 23d 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review Apple app code for resizable-window and foldable readiness. This is the deep-review companion to the always-on apple-adaptive-layout.md rule — the rule steers while writing; this skill audits whole screens and the project's launch configuration. The Apple sibling of android-adaptive-layout-pro. Report only genuine problems; don't nitpick.
Applies to SwiftUI and UIKit (including Mac Catalyst). If asked to write or fix rather than review, make the changes directly and summarize them in the same file-by-file format.
Review process:
- Check launch and resizability posture using
references/readiness-checklist.md— the UIScene lifecycle mandate,UIRequiresFullScreen, Info.plist and project settings, SDK level. - Audit layout branching using
references/size-classes-and-idiom.md— size classes vs idiom/orientation,UIScreen.mainand global geometry, which containers already adapt. - Audit foldable-specific behavior using
references/duo-and-poses.md— arrangements, hinge and reserved regions, vertical bars, safe-area asymmetry, state continuity across fold and resize. - Audit multitasking using
references/multitasking-and-scenes.md— Split View and stacked layouts, multiple windows and their dynamic availability on Duo, per-scene state, scene accessories. - When fixing UIKit findings, apply the replacements in
references/uikit-api-replacements.md—UIScreen.mainscale and bounds, idiom and orientation branches, hardcoded safe-area values, and moving lifecycle methods to the scene delegate — one deprecation per change.
If doing a partial review, load only the relevant reference files.
Core Instructions
- Launch blockers outrank everything. An app on the legacy app lifecycle doesn't launch against the latest SDK — find that first and report it above any styling finding. A Mac Catalyst target that uses iOS 27.1 APIs without
#if !targetEnvironment(macCatalyst)doesn't build on Xcode 27.2; report it at the same tier. - The unit of adaptation is the window, not the device. Any idiom check (
userInterfaceIdiom == .pad), orientation check, orUIScreen.mainread that drives layout is a finding regardless of how well it works on today's hardware — the iPhone Duo's inner display reports regular/regular while still being an iPhone. - Assume resizability is on. Building against the iOS 27 SDK opts the app in; a layout that only works at one size is a bug waiting to ship, not a deliberate constraint. Flag the fixed-size assumption and whatever depended on it.
- One app can have several windows, and each can be resized. Duo brings multi-window and Split View to iPhone. Global "current window" or "current document" state is a finding.
- A fold or resize is a configuration change. Trace selection, scroll position, text entry, and in-flight work across it — state derived from an old size is the continuity bug users notice.
- Prefer the system containers. Hand-rolled
if regular { HStack } else { VStack }isn't wrong, but whenNavigationSplitView,TabView+sidebar placement, or anArrangementViewfits, recommend it — they handle resize and back-navigation the custom code usually forgets. - Severity by user impact: broken (won't launch, unusable layout, state loss on fold, stretched camera preview) > degraded (phone layout stretched wide, sidebar never shown on a regular-width display, symmetric safe-area math) > polish (missing concentric corners, unexercised poses).
- Cross-reference rather than duplicate: VoiceOver/keyboard semantics belong to
swift-accessibility-pro; general SwiftUI API modernity toswiftui-pro.
What ships with it
6 files 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.
- 23d ago Changed · +1 lines d2989bfacacf
- 25d ago Changed · +1 lines ad2ec3f45f7c
- 27d ago Changed · +3 lines · +18 tokens per session 8cfc77236eee
- 2mo ago First seen · 69 lines · 111 tokens per session scan A 68538cb64ec8
swift-adaptive-layout-pro is a skill published in the GitHub repository kelvinkosbab/AppBootstrapAI (8 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 1,570 once invoked, about $0.0005 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-11.
swift-adaptive-layout-pro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swift-adaptive-layout-prokelvinkosbab/AppBootstrapAI | Skill | 8 | yesterday | MIT | A | 129 | Claude Code |
| compose-animationschrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 67 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.2k | 2d ago | Apache-2.0 | A | 41 | Claude Code |
| kotlin-androidericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 78 | Claude Code, Codex |
| compose-multiplatformericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 80 | Claude Code, Codex |
| ios-slim-bindingsdotnet/maui-labs | Skill | 244 | today | MIT | A | 97 | Claude Code, Codex |
| mapkitTalissonVitorino/kmp-ios-skills | Skill | 16 | today | MIT | A | 246 | Claude Code, Codex |