ios-agent-skill AGENTS.md

ios-agent-skill AGENTS.md is an instructions file for Codex, OpenCode from Nagarjuna2997/ios-agent-skill. It costs 15,145 tokens per session, scanned A, original, MIT.

Instructions for an AI agent acting as an iOS and Swift developer. They explain when to load the guidance and how to work with Apple platforms and frameworks.

In plain words
What is it for?
They support writing, reviewing, and refactoring Swift code; building iOS interfaces; designing app architecture; using Apple frameworks; handling Swift concurrency; and preparing App Store submissions.
Why use it?
They help the agent apply appropriate iOS architecture, interface, concurrency, and App Store practices to relevant tasks.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/nagarjuna2997/ios-agent-skill/agents-md
Clone the repo
git clone --depth 1 https://github.com/Nagarjuna2997/ios-agent-skill

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nagarjuna2997/ios-agent-skill/agents-md.svg)](https://agentmods.dev/instructions/nagarjuna2997/ios-agent-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nagarjuna2997/ios-agent-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/nagarjuna2997/ios-agent-skill/agents-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. Scan, not verified.
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 $0.15145 $0.15145
Opus 5 $0.07573 $0.07573
Sonnet 5 $0.03029 $0.03029
Haiku 4.5 $0.01515 $0.01515

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

Security

Grade A, and why

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

Copies of this mod

2 near-identical copies found in the catalogue:

AGENTS.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. 5d ago First seen · 766 lines · 15,145 tokens per session scan A d81429272da2

Subscribe to this mod's changes

ios-agent-skill AGENTS.md is an instructions file published in the GitHub repository Nagarjuna2997/ios-agent-skill (32 stars, last pushed 18d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.