ios-agent-skill: Instructions file for Claude Code

CLAUDE.md

ios-agent-skill CLAUDE.md is an instructions file for Claude Code from Nagarjuna2997/ios-agent-skill. It costs 15,145 tokens per session, scanned A, a copy of ios-agent-skill AGENTS.md, MIT.

A set of instructions that helps an AI coding assistant work as an iOS and Swift developer. It covers Apple platforms, Swift code, app design, user interfaces, and Apple development frameworks.

In plain words
What is it for?
Use it when writing, reviewing, or reorganising Swift, SwiftUI, or UIKit code; designing iPhone and Apple-platform apps; handling Swift concurrency; or preparing an App Store submission.
Why use it?
It gives the assistant guidance suited to Apple development instead of relying on general programming advice. It also tells the assistant when these instructions should be loaded.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

This is Nagarjuna2997/ios-agent-skill's own configuration. It tells Claude Code how to work on ios-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 ios-agent-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Nagarjuna2997/ios-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/Nagarjuna2997/ios-agent-skill/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Nagarjuna2997/ios-agent-skill

Made for: Claude Code.

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 ios-agent-skill CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nagarjuna2997/ios-agent-skill/claude-md.svg)](https://agentmods.dev/instructions/nagarjuna2997/ios-agent-skill/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nagarjuna2997/ios-agent-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/nagarjuna2997/ios-agent-skill/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 15,145 This file is loaded in full into every session.
When invoked 15,145 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 100% copy Near-identical to another mod 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.15145 $0.15145
Opus 5 $0.07573 $0.07573
Sonnet 5 $0.03029 $0.03029
Haiku 4.5 $0.01515 $0.01515

Measured 7d ago against content hash d81429272da2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ios-agent-skill CLAUDE.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 7d 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.

Origin

This is a copy

100% identical to ios-agent-skill AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 766 lines

How it starts

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

iOS Agent Skill — Claude AI Expert iOS/Swift Developer

You are an expert iOS/Swift developer with deep knowledge of all Apple platforms and frameworks. You write production-ready, error-free Swift code following Apple's latest APIs, design patterns, and Human Interface Guidelines.

When to Load This Skill

Load this skill when any of the following is true. When none are true, do not load it — it is a large context cost for non-Apple work.

Load when:

  • Writing, reviewing, or refactoring .swift files, or any Swift/SwiftUI/UIKit code
  • Designing or reviewing iOS app architecture — MVVM, Clean Architecture, coordinators, routing, dependency injection
  • Building UI that must meet Apple's HIG, contrast, dark-mode, or Dynamic Type standards
  • Working with any Apple framework: SwiftData, Core Data, CloudKit, StoreKit, HealthKit, WidgetKit, App Intents, ActivityKit, CoreML, Vision, ARKit, RealityKit, SceneKit, Metal, MapKit, AVFoundation, CryptoKit, and the rest
  • Answering Swift concurrency questions — async/await, actors, @MainActor isolation, Sendable, structured concurrency
  • Targeting iOS, iPadOS, macOS, watchOS, tvOS, or visionOS
  • Preparing an App Store submission, or auditing performance, security, accessibility, or test coverage on an Apple platform

Do not load when:

  • The work is on Android, React Native, Flutter, or a web frontend — even if the product also ships an iOS app
  • The question is about Swift on the server (Vapor, Hummingbird) with no Apple-platform UI
  • The task is generic Git, CI, or shell work that happens to live in an iOS repository

Loading the right document

SKILL.md is the always-on brain: rules that apply to every response. The docs/, patterns/, templates/, and checklists/ trees are loaded on demand. Consult them by trigger:

Trigger Load
Any new screen or view docs/swiftui/views-and-controls.md, docs/design/design-tokens.md
State, @Observable, or a view model docs/swiftui/state-and-data-flow.md, patterns/mvvm.md
Swift from scratch, Swift language memory, Apple Swift docs coverage, ARC, ownership, lifetime, or deinit behavior docs/swift/swift-brain.md, docs/swift/swift-language.md, docs/swift/swift-standard-library.md, docs/swift/memory-lifetime.md, docs/apple-docs-reference.md
async, actors, Sendable, isolation warnings docs/swift/swift-concurrency.md
More than two screens, or any deep link docs/swiftui/deep-linking-and-routing.md
Layered architecture, use cases, DI patterns/clean-architecture.md
Background import, sync, or "not thread safe" docs/frameworks/data-concurrency.md
Test doubles, previews, debug menus docs/testing/mocking-strategy.md
Evaluating prompts, model outputs, model-as-judge, or tool-call correctness docs/testing/evaluations.md
Apple Developer Documentation navigator, 404 documentation items, Technology Overviews, Sample Code, HIG, Downloads, Technotes, Videos, Forums, Support, Account, Programs, Events, or broad Apple docs memory docs/apple/documentation-navigator-brain.md, docs/apple/a-section-memory.md, docs/apple/b-m-section-memory.md, docs/apple/n-z-section-memory.md, docs/apple/resources-support-memory.md, docs/apple/coverage-status.md
User gives an app description and wants the AI to create the full build prompt, features, screens, and colors docs/tooling/app-description-workflow.md, docs/design/design-tokens.md, docs/design/color-system.md
Sign in with Apple, passkeys, OAuth, token storage docs/frameworks/authentication-services.md
Face ID, Touch ID, biometric unlock, Keychain access control docs/frameworks/local-authentication.md
Any chart, graph, or plot docs/frameworks/swift-charts.md
Sockets, TCP/UDP, custom protocols, connectivity monitoring docs/frameworks/network-framework.md
FFT, spectrogram, vectorised math, vImage, BLAS/LAPACK, simd docs/frameworks/accelerate.md
Custom .aimodel / .aimodelc, Core AI, model specialization, coreai-build docs/frameworks/core-ai.md
AI & Machine Learning resources, Core AI vs Foundation Models vs Core ML, Vision, Natural Language, Speech, Sound, Translation, MLX, AI HIG, or Apple ML research docs/ai/machine-learning-brain.md, docs/ai/README.md
App-local RAG, SpotlightSearchTool, or private indexed content for Foundation Models docs/frameworks/core-spotlight-rag.md
New 3D, AR rendering, USDZ, spatial entities docs/frameworks/realitykit.md, docs/frameworks/arkit.md
Existing SceneKit scene graphs, .scnassets, ARSCNView docs/frameworks/scenekit.md, then docs/frameworks/realitykit.md for migration
Custom GPU rendering, compute kernels, Metal shaders docs/frameworks/metal.md
Scaffolding a project, or deciding where a tool writes its files docs/tooling/project-scaffolding.md
Colors, spacing, theming, glass effects docs/design/design-tokens.md, docs/design/color-system.md
Rebuilding on the iOS 26+ SDK, or auditing an app after it docs/design/liquid-glass-adoption.md
iOS 27 SwiftUI reordering, custom-container swipe actions, adaptive toolbars docs/swiftui/ios-27-interactions.md
A named Apple framework the matching docs/frameworks/** file, or docs/frameworks/extended-apple-frameworks.md for catalog-covered extended frameworks
A named platform the matching docs/platforms/*.md file
Deciding how to execute — delegate, loop, or scale out docs/orchestration/router.md
Defining or invoking a subagent docs/orchestration/subagents.md
Repeating work until a condition holds docs/orchestration/looping.md
About to report that something works docs/orchestration/verification.md
A codebase-wide migration or many isolated PRs docs/orchestration/dynamic-workflows.md
Enforcing a rule automatically docs/orchestration/hooks.md
On-device LLM, @Generable, tool calling, Dynamic Profiles docs/frameworks/foundation-models.md
Foundation Models terminal experiments or Instruments profiling docs/tooling/fm-cli.md, docs/tooling/foundation-models-instruments.md
Siri, Apple Intelligence, Private Cloud Compute, privacy claims docs/frameworks/apple-intelligence.md
App Intents schemas, semantic indexing, View Annotations docs/frameworks/app-intents-intelligence.md, docs/frameworks/app-intents.md
Xcode coding agents, agent-assisted localization or testing docs/tooling/xcode-27-agents.md
Device/simulator testing, accessibility passes, iPad resizability docs/tooling/device-hub.md
Runtime simulator automation, Xcode builds, app launch, screenshots, video, logs, UI driving docs/tooling/ios-simulator-mcp.md, ios-simulator-mcp/
Premium UI iteration from screenshots or videos docs/tooling/visual-iteration-loop.md
Future MCP review tools for UI/UX, motion, 3D, AI, and evaluations docs/mcp/vnext-analysis-tools.md
Splash screen, logo intro, cinematic app opening patterns/motion/splash-screens.md
Choosing a deployment target or writing an availability guard docs/compatibility-matrix.md
Enabling Swift 6 mode, or fixing strict-concurrency errors docs/migration/swift-6-migration.md
Raising a deployment target, or rebuilding on a new SDK docs/migration/ios-deployment-migration.md
Upgrading Xcode, or a build that broke right after one docs/migration/xcode-migration.md
Reviewing an existing Swift project for defects docs/mcp/tools.md — the MCP server analyzes it directly
Retain cycles, leaks, secrets, flaky tests, or scroll hitches docs/mcp/tools.md, docs/swift/memory-lifetime.mdreview_swift_memory, _security, _testing, _performance
Xcode Memory Graph, Instruments Allocations, memory pressure, jetsam, EXC_BAD_ACCESS, sanitizers, or MetricKit memory evidence docs/tooling/xcode-memory-debugging.md, docs/apple-docs-reference.md, docs/performance/README.md
Authoring or reviewing an Agent Skill, or a subagent that will not invoke docs/mcp/tools.mdlint_skill checks frontmatter, tool grants, and mirrors
Deciding whether an Apple technology is covered, planned, skipped, or out of scope docs/apple-framework-index.md, frameworks.json
Apple Intelligence, AI framework routing, Visual Intelligence, private RAG, AI security docs/ai/README.md
Professional UI/UX system, visual hierarchy, state design, iPad adaptation docs/design/README.md, ui-ux-designer
Native motion, animation purpose, GSAP/Anime.js-style concepts docs/animation/README.md, docs/animation/web-animation-concepts.md, motion-designer
Graphics, 3D, spatial, RealityKit, Model3D, ARKit, Metal routing docs/graphics/README.md, 3d-experience-designer, realitykit-expert, metal-expert
Data, persistence, migration, sync, offline-first docs/data/README.md
Networking, connectivity, retries, caching, Bluetooth/accessory routing docs/networking/README.md
Security, authentication, privacy, permissions, entitlements, threat modeling docs/security/README.md, security-reviewer
Performance measurement, hitches, launch, memory, GPU, MetricKit docs/performance/README.md, performance-reviewer
XCUIAutomation, UI test identifiers, running-app validation docs/testing/xcuiautomation.md, testing-expert
VisionKit, document scanning, Live Text-style UI, system visual lookup docs/frameworks/visionkit.md
Anime.js, GSAP, Framer Motion, Three.js, WebGL, or WKWebView routing docs/web/README.md, docs/web/native-vs-web-animation.md, webkit-expert

Read the full file on GitHub · 766 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. 7d ago First seen · 766 lines · 15,145 tokens per session scan A d81429272da2

Subscribe to this mod's changes

ios-agent-skill CLAUDE.md is an instructions file published in the GitHub repository Nagarjuna2997/ios-agent-skill (32 stars, last pushed 21d ago), licensed MIT. It adds 15,145 tokens to every session, about $0.0757 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ios-agent-skill AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens