building-document-based-swiftui-applications

building-document-based-swiftui-applications is a skill for Claude Code, Codex from mikker/xcode-apple-skills. It costs 155 tokens per session (634 once invoked), scanned A, original, no licence file.

A guide for building document-based SwiftUI apps, where users open, edit, save, and export files within Apple-platform applications.

In plain words
What is it for?
Use it when creating or migrating a SwiftUI app that works with documents, including opening, editing, saving, exporting, and using DocumentGroup.
Why use it?
It explains the document structure and file-handling flows needed for this kind of app.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when creating or migrating a SwiftUI app that works with documents, including opening, editing, saving, exporting, and using DocumentGroup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications
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 mikker/xcode-apple-skills --skill building-document-based-swiftui-applications
Clone the repo
git clone --depth 1 https://github.com/mikker/xcode-apple-skills

Made for: Claude Code, 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 building-document-based-swiftui-applications

README.md
[![agentmods](https://agentmods.dev/badge/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications/github.svg)](https://agentmods.dev/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications)
Your own site
<a href="https://agentmods.dev/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications"><img src="https://agentmods.dev/badge/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications/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 building-document-based-swiftui-applications

Your own site · 80×15
<a href="https://agentmods.dev/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications"><img src="https://agentmods.dev/badge/skills/mikker/xcode-apple-skills/building-document-based-swiftui-applications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 634 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 unknown 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.00155 $0.00634
Opus 5.5 $0.00062 $0.00254
Sonnet 5.5 $0.00031 $0.00127
Haiku 4.5 $0.00015 $0.00063

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

Security

Grade A, and why

building-document-based-swiftui-applications 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 1mo 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.

bundled/building-document-based-swiftui-applications/SKILL.md · 17 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 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.

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. 1mo ago Changed f6a7567b32ff
  2. 2mo ago First seen · 17 lines · 155 tokens per session scan A f069ccb6740b

Subscribe to this mod's changes

building-document-based-swiftui-applications is a skill published in the GitHub repository mikker/xcode-apple-skills (9 stars, last pushed 1mo ago), with no licence file. It adds 155 tokens to every session and 634 once invoked, about $0.0006 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

Other skills, from other repositories

add-pdf-report

Internal implementation skill invoked by /add-native for app-generated PDF report workflows using expo-print and, when present, expo-sharing.

microsoft/power-platform-skills · 30 tokens

add-pdf-viewer

Internal implementation skill invoked by /add-native for native PDF control workflows. Handles HTTPS and file URI PDF viewing with @microsoft/power-apps-native-pdf-viewer 0.2.9+.

microsoft/power-platform-skills · 47 tokens

document-camera-frame

Expert guidance for integrating, configuring, debugging, optimizing, testing, and maintaining the documentcameraframe Flutter package (custom framed camera, auto-capture alignment, on-device OCR, multi-page PDF/image export, and native VisionKit/MLKit document scanner) in production apps.

ariaramin/flutter-skills · 59 tokens

flutter-doc-scanner

Use when integrating, configuring, debugging, optimizing, or testing the flutterdocscanner Flutter package (Google Play Services ML Kit Document Scanner on Android and Apple VisionKit / AutoScan on iOS) for native document capture, multi-page image scanning, and PDF generation.

ariaramin/flutter-skills · 59 tokens

building-document-based-swiftui-applications

Authoritative guide for building and migrating document-based apps in SwiftUI using the Document protocol (iOS 27 and aligned releases, including macOS Golden Gate). Consult when building a new document-based app; implementing open, edit, save, or export document flows; working with DocumentGroup or…

tartinerlabs/skills · 155 tokens

building-document-based-swiftui-applications

Build and migrate document-based SwiftUI apps with the Document protocol. Use when Codex needs to implement DocumentGroup, DocumentReader/DocumentWriter, package documents, undo registration, autosave, custom UTType formats, read-only viewers, or migrate from FileDocument/ReferenceFileDocument (iOS 27 and aligned…

JakubMikolajek/codex-skills-collection · 86 tokens