# AGENTS.md maker for iPhone apps

> Fill in your project. The file updates as you type, and nothing leaves this page.

Use it here: https://ipip.fyi/tools/agents-md-generator (it runs in your browser, nothing is uploaded).

## What it does

AI coding agents like Claude Code, Codex and the agents built into Xcode do much better work on an iPhone app when they know a few things up front: how to build it, how to run the tests on a simulator, which iOS it has to support, and what they must not touch. [AGENTS.md](https://agents.md) is the open format for those notes, a plain Markdown file at the root of your repository that many coding agents read before they start. This page writes one for an iPhone or iPad app. Fill in your project, scheme and minimum iOS, pick the rules you want, and you get the file with the right `xcodebuild` commands, plus a two-line CLAUDE.md for Claude Code. It all happens in your browser.

## Where does AGENTS.md go?

At the root of your repository, next to the `.xcodeproj` or `.xcworkspace`. The agents.md site says agents read the nearest file in the folder tree, so a widget extension or a local Swift package can have its own AGENTS.md, and that one wins for files in its folder. There are no required fields: it is ordinary Markdown with any headings you like.

## Does Claude Code read AGENTS.md?

Yes, with one catch. [Claude Code's docs](https://code.claude.com/docs/en/memory) say it reads AGENTS.md only when there is no CLAUDE.md or CLAUDE.local.md in your folder or above it. If you already have a CLAUDE.md, add the line `@AGENTS.md` to it. A CLAUDE.md can import other files with `@path`, so both tools follow the same notes and you keep one file up to date. The same docs ask for under 200 lines per file, because a longer file takes more context and gets followed less.

## How long can it be?

[OpenAI's Codex guide](https://developers.openai.com/codex/guides/agents-md) says Codex stops adding project notes once they reach `project_doc_max_bytes`, 32 KiB by default. A good iPhone app AGENTS.md is far smaller: the build command, the test command, the minimum iOS, and the handful of rules that would hurt if an agent broke them, like asking for a permission without a usage description or changing your signing team. The page warns you when the file passes either limit.

## What it can't tell you

It doesn't open your project, so it can't check that the scheme or the simulator exists. Run the build line once yourself. If the simulator name is wrong, `xcrun simctl list devices available` lists the ones you have.

## Questions

**What is AGENTS.md?**

A plain Markdown file at the root of a repository that tells AI coding agents how to build, test and work on the project. It has no required fields, and agents read the nearest one in the folder tree.

**Does Claude Code read AGENTS.md?**

Yes, when there is no CLAUDE.md or CLAUDE.local.md in your folder or above it. If you have one, add the line @AGENTS.md to it so Claude Code reads the same notes.

**Do Xcode's coding agents use it?**

Xcode 26.3 added Claude Agent and Codex inside Xcode, and opened Xcode's tools to other agents through the Model Context Protocol. Codex reads AGENTS.md. Check your agent's own docs for which files it loads.

**Why build for a simulator and not a device?**

A simulator build doesn't need your signing certificates or a device plugged in, so an agent can run it on its own. Tests run on a simulator too, which you name in the test line.

**Is anything I type sent to iPip?**

No. The file is written in your browser and never leaves the page.

## Sources

- [agents.md: the AGENTS.md format](https://agents.md)
- [Claude Code docs: How Claude remembers your project](https://code.claude.com/docs/en/memory)
- [OpenAI: Custom instructions with AGENTS.md](https://developers.openai.com/codex/guides/agents-md)
- [Apple Newsroom: Xcode 26.3 unlocks the power of agentic coding](https://www.apple.com/newsroom/2026/02/xcode-26-point-3-unlocks-the-power-of-agentic-coding/)

Updated December 3, 2026.

Source: https://ipip.fyi/tools/agents-md-generator
