Hi, I'm PipThese Featured apps take turns in my notch.
iPipSubmit

← All tools

AGENTS.md maker for Mac apps

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

AGENTS.md maker for Mac apps

Try an example:

What it does

AI coding agents like Claude Code, Codex and Cursor do much better work on a Mac app when they know a few things up front: how to build it, how to run the tests, which macOS it has to run on, and what they must not touch. AGENTS.md is the open format for those notes, a plain Markdown file at the root of your repository that Codex, Cursor, Gemini CLI, Zed, GitHub Copilot's coding agent and many others read before they start. This page writes one for a Mac app. Fill in your project, scheme, minimum macOS and how you ship, tick the rules you want, and you get the file with the right xcodebuild or swift 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, .xcworkspace or Package.swift. The agents.md site says agents read the nearest file in the folder tree, so a bigger repository can add another AGENTS.md inside a package or a helper app, 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 say it reads AGENTS.md only when there is no CLAUDE.md in the folder or above it. If you already have a CLAUDE.md, add this line to it:

@AGENTS.md

A CLAUDE.md can import other files with @path, so both tools follow the same notes and you only 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 docs say Codex reads up to 32 KiB of project notes by default, set by project_doc_max_bytes, and stops adding files after that. A good Mac app AGENTS.md is far smaller: the build command, the test command, the minimum macOS, and the handful of rules that would hurt if an agent broke them, like turning off App Sandbox or changing your signing team. The page warns you when the file passes either limit.

Questions

What is AGENTS.md?

A plain Markdown file at the root of a code repository that tells AI coding agents how to work on the project: how to build and test it, the style to follow and what not to touch. It is an open format read by Codex, Cursor, Gemini CLI, Zed, GitHub Copilot's coding agent and many other tools.

Does Claude Code use AGENTS.md or CLAUDE.md?

Claude Code reads CLAUDE.md. Its docs say it reads AGENTS.md only when there is no CLAUDE.md, so the usual setup is a CLAUDE.md with the line @AGENTS.md, which imports the same notes.

What should an AGENTS.md for an Xcode project include?

The exact xcodebuild commands to build and test with your scheme, your minimum macOS, how the app ships, and rules such as keeping App Sandbox and the Hardened Runtime on and not changing the bundle ID or signing settings without asking.

Is this AGENTS.md generator free?

Yes. There is no account and no sign-up, and the file is written in your browser, so nothing about your project is sent anywhere.

Related