Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Ultracite

AI-ready code formatter that helps write and generate code faster.

Prompts, structured output and evalsNPM

GitHubWebsite

1. License

License from npm.

github.com/haydenbleasel/ultracite

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Ultracite does

Ultracite is a strict, zero-config preset that runs on Oxlint, Biome or ESLint, and it is built around the coding agent's loop: rules go into <code>AGENTS.md</code>, hooks re-check each file the agent edits, and <code>fix --claude</code> or <code>--codex</code> hands leftovers to an agent CLI.

Ultracite popularity

58 / 100
Gid Score, #1157 overall
2.5M
downloads a week, npm
3,381
GitHub stars
72
agent projects use it
Ultracite: downloads per weeknpm, ultracite 2,480,267
Ultracite: GitHub starshaydenbleasel/ultracite 3,381

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Ultracite is used

  • Ultracite is a dependency in 72 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 4,867 JavaScript/TypeScript ones), #1 of 78 in prompts, structured output and evals.
  • Projects that use it most often also use Biome (61.1%), Turborepo (59.7%), TypeScript (94.4%).
  • It is more common in projects set up for OpenCode (4.4%) than for GitHub Copilot (0.9%).

By coding agent

59 projects, 1.8%
52 projects, 2.1%
27 projects, 0.9%
20 projects, 4.3%
15 projects, 4.4%
8 projects, 1.7%

Often used with

In 61.1% of its projects
In 59.7% of its projects
In 94.4% of its projects
In 33.3% of its projects
In 33.3% of its projects
In 56.9% of its projects
In 31.9% of its projects
In 41.7% of its projects

Ultracite in practice

Strengths

Rules written once, to AGENTS.md

Since 8.0.0, <code>init</code> writes the rules only to <code>AGENTS.md</code>. Four agents get one extra step. Claude Code gets an <code>@AGENTS.md</code> import in an existing <code>CLAUDE.md</code>, and Gemini CLI gets an entry in <code>context.fileName</code> in <code>.gemini/settings.json</code>. Aider gets <code>.aider.conf.yml</code> pointed at <code>AGENTS.md</code>, and Replit Agent keeps a copy in <code>replit.md</code>.

Post-edit hooks, with handback in some agents

A hook fixes each file the agent edits in Cursor, Devin Desktop, CodeBuddy, Claude Code, Codex, Deep Agents, GitHub Copilot and Grok Build. Only some agents get the remaining problems handed back to them: Claude Code, CodeBuddy, Codex, Devin Desktop, Deep Agents, Grok Build and VS Code's Local agent.

Aider lints every edit

In 8.0.0, <code>init</code> sets Aider's <code>lint-cmd</code> to the project's <code>ultracite fix</code>. Aider runs that command on every file it edits and asks the model to fix what is left.

Agent CLI for what autofix leaves

<code>ultracite fix --claude</code> or <code>--codex</code> sends the leftover problems to that agent. The site says the agent repairs the code file by file with edit-only permissions.

Watch out for

Opinionated on purpose

The FAQ warns that people who like tweaking every ESLint rule may find it "restrictive." Rules can be turned off. But the maintainers write that if you turn off most of them, Ultracite may be the wrong preset for your team.

init replaces some existing configs

An ESLint config that doesn't yet use Ultracite's presets is replaced, with a warning, and you carry your rules over by hand. Some Prettier and Stylelint configs are replaced the same way. Biome configs are edited in place. For Oxlint, a <code>.oxlintrc.json</code> or <code>.oxfmtrc.json</code> is moved into TypeScript configs and deleted.

Default engine doesn't lint CSS

With the recommended Oxlint + Oxfmt setup, CSS is formatted but not linted. The migrate docs say to pick Biome or ESLint if you rely on Stylelint.

Claude Code hook that fixes each edited file (.claude/settings.json)

{ "hooks" : { "PostToolUse" : [ { "hooks" : [{ "command" : "bunx ultracite fix --hook" , "type" : "command" }], "matcher" : "Write|Edit" } ] } }

More about Ultracite

Funding
  • GitHub Sponsors: https://github.com/haydenbleasel
  • 6 GitHub sponsors

See all

Packages around it
  • @biomejs: Biome engine
  • turbo: Turborepo
  • zod: Zod
  • typescript: TypeScript
  • husky: Pre-commit hooks
  • dotenv: dotenv
More in Prompts, structured output and evals

Alternatives

Ultracite This page

MITGid 582.5M/wk

Compare Ultracite with another tool

Get started

Install it.

npm install ultracite

Rules for your agent

Paste into AGENTS.md or CLAUDE.md
## Ultracite
- Use `npx ultracite check` to report problems and `npx ultracite fix` to apply safe fixes.
- Use `ultracite fix --unsafe` only when a behavior change is acceptable. Those fixes require the flag because they may change behavior.
- Put project-specific overrides after Ultracite's presets so they win. Add the reason as a comment for any rule turned off on purpose.
- Leave formatting rules out of the linter config. The formatter owns formatting.
- Framework presets (React, Next.js, etc.) don't include the core rules. Add them alongside `core`.
- When migrating, format everything with `npx ultracite fix` in its own commit, then add that commit's hash to `.git-blame-ignore-revs`.
- Update with `npx ultracite upgrade`, and run `npx ultracite doctor` to check whether Ultracite and the linter have drifted apart.