Warp’s agent reads AGENTS.md, unless WARP.md wins
Warp’s agent reads Ultracite’s rules from AGENTS.md as a project rule, in the Warp app and the Warp Agent CLI alike. Warp has no post-edit hook, so the loop is the one the rules describe: after editing, the agent runs ultracite fix and fixes what’s left. An entry in your profile’s command allowlist lets that run without a prompt.
Warp by WarpChecked against Warp 0.2026.10.07.08.29
# Ultracite Code Standards
This project uses **Ultracite**, a zero-config preset that enforces strict code quality standards through automated formatting and linting.
## Quick Reference
- **Format code**: `npx ultracite fix`
- **Check for issues**: `npx ultracite check`
- **Diagnose setup**: `npx ultracite doctor`
Oxlint + Oxfmt (the underlying engine) provides robust linting and formatting. Most issues are automatically fixable.
…- 1
~/.agents/AGENTS.mdA global rule file that applies to every project, alongside the Global Rules you keep in Warp Drive. - 2
AGENTS.mdUltraciteThe repository root’s file, applied whenever you work inside the repository. - 3
WARP.mdStill supported. In a folder that has both, Warp usesWARP.mdand skips that folder’sAGENTS.md. - 4
ui/AGENTS.mdYour current directory’s file, applied automatically and ahead of the root’s on conflicts. - 5
api/AGENTS.mdAnother subdirectory’s file, added on a best-effort basis when the agent edits files there.
How Warp reads the rules
Warp treats AGENTS.md as a project rule. It applies the root file and the one in your current directory automatically, and tries to add a subdirectory’s file when the agent edits there.
- Precedence
- The current directory’s rules file, then the root’s, then Global Rules.
- Same folder
- Warp keeps one rules file per directory and prefers
WARP.md, so anAGENTS.mdbeside it is skipped. - File name
- All caps only:
AGENTS.md, notagents.mdorAgents.md. - Linking
/initcan linkCLAUDE.md,AGENT.md,GEMINI.md,.cursorrules,.clinerules,.windsurfrulesor.github/copilot-instructions.mdtoAGENTS.md.- Check it
- Rules the agent used appear under References in the conversation.
- Open them
/open-project-rulesopens the project’s rules in Warp’s editor.
Warp’s agent runs what the rules ask for
Warp’s agent has no post-edit hook, so Ultracite’s loop lives in AGENTS.md: after editing, run ultracite fix, then fix what it reports. Commands go through your Agent Profile’s permissions, where an allowlist entry lets ultracite run without asking.
- **Format code**: `npx ultracite fix`
- **Check for issues**: `npx ultracite check`
- **Diagnose setup**: `npx ultracite doctor`- 01The agent applies a code diff to your file.
- 02Following
AGENTS.md, it calls fornpx ultracite fix. - 03If the command matches your allowlist, it runs at once; otherwise your Execute commands setting decides whether Warp asks.
- 04The agent reads the output and fixes what’s left.
Worth knowing about Warp
An allowlist entry for Ultracite
Add a regular expression such as
npx ultracite (check|fix)(\s.*)?under Settings, Agents, Profiles, Command allowlist; allowlisted commands always run without asking. The denylist overrides it, and Run until completion bypasses the denylist unless you turn that off.Review comments the agent acts on
The Code Review panel shows uncommitted changes, the agent’s included. Leave an inline comment on a line and the agent can act on it in real time, or revert a single hunk yourself.
One set of rules for app and CLI
The Warp Agent CLI picks up the same
AGENTS.md,WARP.mdand skills as the app, and re-scopes them when youcd, so Ultracite’s rules follow you between the two.The Ultracite skill
Warp loads skills from
.agents/skills/(its recommended project folder) and several others, from your current directory up to the repository root, so it finds the Ultracite skillinitinstalls. Run/skillsin the Warp Agent CLI to browse them.
Warp questions, answered
- Does Warp read AGENTS.md?
- Yes, as a project rule. Warp applies the
AGENTS.mdat the repository root and in your current directory automatically, andultracite init --agents warpwrites Ultracite’s rules to the root file. - Why isn’t Warp following my AGENTS.md?
- Look for a
WARP.mdin the same folder. Warp keeps one rules file per directory and prefersWARP.md, so move its contents intoAGENTS.mdand delete it. Also check the name is all caps: Warp ignoresagents.mdandAgents.md. - Does Warp read CLAUDE.md?
- Not on its own.
/initcan link an existingCLAUDE.md,.cursorrules,GEMINI.mdand a few other tools’ files toAGENTS.md. Ultracite writesAGENTS.mddirectly, so its rules don’t need a link. - Does Warp support hooks?
- Not for its own agent: Warp’s agent docs describe no post-edit hook. Ultracite’s loop runs through the commands in
AGENTS.md, and your command allowlist decides whether they need a click. - Where do Warp’s global rules go?
- In Warp Drive under Personal, Rules, Global, or in a file at
~/.agents/AGENTS.md, which applies to every project. A project’s rules files win over them when they conflict.
Keep going
- AgentCursor CLIThe Cursor agent in your terminal, interactive or headless.
- AgentAmpCoding agent that runs in your terminal or on per-thread cloud machines.
- AgentDroidFactory’s coding agent CLI, run interactively or headless in CI.
- DocsAgent rulesWhat
initwrites for every agent, and how to keep it current.
Ship less slop
One command sets up your linter, formatter, editor and agents. Works with Oxlint, Biome and ESLint.